- Getting started
- The concepts
- First steps
- The prototypes
- The Tasks
- Composing Samplings
- The Samplings
- The Domains
- The Factors
- The Environments
- The Hooks
- The Sources
- The concepts
Which Task for which code ?
The Tasks in OpenMOLE can each run several type of code. This page give a list of the supported programmation code and the corresponding Task to be used to run it.
The JVM enabled code (Java, Scala, Jython … )
All the JVM enabled code can be run on the OpenMOLE platform thanks to the GroovyTask. Indeed, Groovy is a scriptable language working on the JVM and thus rendering possible to call a jar archive.
It is then possible to run all the codes providing a jar. The procedure is detailed in the GroovyTask page
C, C++, Python
All this family of codes can be executed wth the SystemExec Task. The latter permits to call executable runnable from a terminal.
In case of use of dependencies, you can use the CDE software, which creates an archive containing all the required depenencies (simply created by running your own code with CDE). The 4 minute screencast on its website render you autonomous with this technology.
Netlogo4 and NetLogo5
A dedicated Task has been designed to run the particular nlogo files. It is described in detail in the Netlogo documentation.
Other kind of codes can be embed in OpenMOLE. It is perhaps already the case but we did not ever tried it ! Let us know which kind of need you have and we will try it with the existing Tasks or by implementing a new particular Task. The only requirement is that this code is free and open source.