Download OpenMOLE 7.0-RC3

N... N... (version 7.0-RC3) was released on April 22, 2017.

The big picture


When you build a model, you need to understand and/or optimize some parameters and to understand there effect on the dynamics of you model. Then embed you model in OpenMOLE (5 minutes), use one of the distributed genetic algorithms provided by OpenMOLE (5 minutes) and launch the model exploration on a distributed execution environment with thousands of machines (1 minutes). To summarize, you can design large scale model exploration reusing legacy code and advanced numeric methods in approximately 10 minutes.

Try it


You can try OpenMOLE online using the OpenMOLE demonstration site.

Install it


OpenMOLE requires that Java version 8 or above is set as the default java on your computer. To make sure of that you can check our FAQ. Then just extract the archive, and you're done! OpenMOLE is installed and works out of the box!

Once installed you can launch OpenMOLE by executing the openmole file in the installation directory (it is called openmole.bat for windozers). It will bring up the OpenMOLE application that runs in your web browser (OpenMOLE supports Firefox and Chrome).

Your first exploration


Let's explore one variable, multiply it by 2 and then displays each result. The computation is executed in a multi-threaded environment on the local machine.

In the OpenMOLE interface, first create a file named example.oms (the file extension matters). Open it and write the following:
// Define the variables that are transmitted between the tasks
val i = Val[Double]
val res = Val[Double]

// Define the model, here it is a simple task executing "res = i * 2", but it can be your model
val model =
  ScalaTask("val res = i * 2") set (
    inputs += i,
    outputs += (i, res)
  )

// Define the execution environment, here it is a local execution environment with 4 threads but
// it could be a remote cluster or a grid. The exploration will work the same way whatever the environment
// and no installation step is required on the execution environment.
val env = LocalEnvironment(4)

// Define the design of experiment
DirectSampling(
  evaluation = model on env hook ToStringHook(),
  sampling = i in (0.0 to 100.0 by 1.0)
)

You can run it by clicking on the execution button.

To distribute the exact same execution to a remote cluster just switch the environment definition. The only configuration step required for this to work is to have an account on the cluster and to provide your authentication to OpenMOLE. Configuring authentications is explained in the GUI documenation LINK and in the console documentation in the section dedicated to each environment.
val env = SLURMEnvironment("myLogin", "cluster.iscpif.fr")

DirectSampling(
  evaluation = model on env hook ToStringHook() on env,
  sampling = i in (0.0 to 100.0 by 1.0)
)

This is just a tiny bit of what OpenMOLE can achieve! Now you might want to discover how to:

Get help


To get help you are more than welcome to contact the OpenMOLE user mailing list. To do so, you should subscribe here, and then you can post your question to the list users 'at' list.openmole.org. We're also present on the #openmole channel of the ISC-PIF's RocketChat.