FAIRiCUBE / FAIRiCUBE-Hub-issue-tracker

FAIRiCUBE HUB issue tracker
Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

Add Java JVM and MaxEnt model application to EOXHub #36

Closed robknapen closed 5 months ago

robknapen commented 5 months ago

For our use case we want to run the Java-based MaxEnt model for species distribution modelling. It can be used directly from the command line, without using the graphical user interface of the program.

The MaxEnt model is open source and available here: https://biodiversityinformatics.amnh.org/open_source/maxent/

However since it is a Java based application, it also requires a Java JVM to be available.

Is it possible to include both into the/a fairicube server on eoxhub? The current one that I can start (which has the PyTorch packages as well) does not have Java installed and it does not allow me to self-install programs.

robknapen commented 5 months ago

It should work with a recent (open) JDK, like Temurin 21.0.1.

eox-cs1 commented 5 months ago

Response from Hub Team: can you please get it packaged as docker container together with an example config how to invoke it, then we can have a look on it on how to deploy it at the Hub

robknapen commented 5 months ago

Ok, I will add that to my list to look into.

robknapen commented 5 months ago

Creating a Docker container with Java and the MaxEnt model should be doable, but will take some effort from us to figure it out and how to create a usable container. It would e.g. need terminal access to run the maxent commands, and a data volume to share the input and output data of the model.

Before investing further UC time in this we decided to evaluate the MaxEnt model further locally first, and when we decide it is the best suitable species distribution model for our use case we will look into containerising it.

robknapen commented 5 months ago

Closing issue for now, until local testing has been completed.