Stuff that you can launch, taking inputs and producing outputs
Example: genetic algorithm
4000 cores, but some technical and legal limitations
val i = Val[Double]
val res = Val[Double]
val exploration = ExplorationTask ( i in (0.0 to 10.0 by 1.0) )
val model =
ScalaTask ("val res = i * 2") set (
inputs += i,
outputs += (i, res)
)
val env = LocalEnvironment(5)
exploration -< (model on env)
val i = Val[Double]
val res = Val[Double]
val exploration = ExplorationTask ( i in (0.0 to 10.0 by 1.0) )
val model =
ScalaTask ("val res = i * 2") set (
inputs += i,
outputs += (i, res)
)
val env = EGIEnvironment("biomed")
exploration -< (model on env)
care -o hello.tgz.bin python hello.py 42 test.txt
val arg = Val[Int]
val output = Val[File]
val pythonTask =
CARETask(
workDirectory / "hello.tgz.bin",
"python hello.py ${arg} output.txt") set (
inputs += arg,
outputFiles += ("output.txt", output),
outputs += arg
)
val exploration = ExplorationTask(arg in (0 to 10))
val copy = CopyFileHook(output, workDirectory / "hello${arg}.txt")
exploration -< (pythonTask hook copy)
val optimisation =
SteadyStateEvolution(
algorithm =
NSGA2(
mu = 1000,
genome = Seq(x in (0.0, 1.0), y in (0.0, 1.0)),
objectives = Seq(o1, o2),
replication = Replication(seed = seed, max = 100)
),
evaluation = model,
termination = 10 hours
)
val cloud = GoogleContainerEngine(....)
(optimisation on cloud)
Documentation | www.openmole.org |
Development version | next.openmole.org |
Source code | github.com/openmole |
Market place | github.com/openmole-market |
Demo instance | demo.openmole.org |
![]() |
romain.reuillon@iscpif.fr |
![]() |
mathieu.leclaire@iscpif.fr |
![]() |
j.passerat-palmbach@imperial.ac.uk |