Commit 480f75e2 authored by Romain Reuillon's avatar Romain Reuillon
Browse files

[Module] fix: compilation

parent 397df4d6
Pipeline #1173 passed with stages
in 33 minutes and 48 seconds
......@@ -18,23 +18,6 @@
package org.openmole.modules
import org.openmole.core.module._
import org.openmole.core.workflow.hook.CSVHook
import org.openmole.plugin.environment.condor.CondorEnvironment
import org.openmole.plugin.environment.egi._
import org.openmole.plugin.environment.oar.OAREnvironment
import org.openmole.plugin.environment.pbs.PBSEnvironment
import org.openmole.plugin.environment.sge.SGEEnvironment
import org.openmole.plugin.environment.slurm.SLURMEnvironment
import org.openmole.plugin.environment.ssh.SSHEnvironment
import org.openmole.plugin.method.evolution.NSGA2
import org.openmole.plugin.method.sensitivity.MorrisSampling
import org.openmole.plugin.sampling.csv.CSVSampling
import org.openmole.plugin.sampling.lhs.LHS
import org.openmole.plugin.sampling.quasirandom.SobolSampling
import org.openmole.plugin.task.container.ContainerTask
import org.openmole.plugin.task.netlogo5.NetLogo5Task
import org.openmole.plugin.task.systemexec.SystemExecTask
import org.openmole.plugin.task.template.TemplateTask
import org.openmole.tool.file._
import org.openmole.tool.hash._
......@@ -49,23 +32,30 @@ object module {
def allModules =
Seq[ModuleEntry](
ModuleEntry("Condor", "Delegate workload to a Condor cluster", components(CondorEnvironment)),
ModuleEntry("EGI", "Delegate workload to EGI", components(EGIEnvironment)),
ModuleEntry("OAR", "Delegate workload to an OAR cluster", components(OAREnvironment)),
ModuleEntry("PBS", "Delegate workload to a PBS cluster", components(PBSEnvironment)),
ModuleEntry("SGE", "Delegate workload to an SGE cluster", components(SGEEnvironment)),
ModuleEntry("SLURM", "Delegate workload to a SLURM cluster", components(SLURMEnvironment)),
ModuleEntry("SSH", "Delegate workload to a server via SSH", components(SSHEnvironment)),
ModuleEntry("Container", "Execute a container", components[ContainerTask]),
ModuleEntry("NetLogo5", "Execute NetLogo 5 simulation models", components[NetLogo5Task]),
ModuleEntry("SystemExec", "Execute system command", components[SystemExecTask]),
ModuleEntry("Template", "Generate files", components[TemplateTask]),
ModuleEntry("CSVHook", "Save results in CSV files", components(CSVHook)),
ModuleEntry("CSVSampling", "Generate sampling using CSV files", components(CSVSampling)),
ModuleEntry("LHS", "Generate Latin Hypercube Sampling", components(LHS)),
ModuleEntry("QuasiRandom", "Generate sampling using low-discrepency sequences", components(SobolSampling)),
ModuleEntry("Evolution", "Explore/optimise models using evolutionary algorithms", components(NSGA2)),
ModuleEntry("Sensitivity", "Statistical sensitivity analisys", components(MorrisSampling))
ModuleEntry("Condor", "Delegate workload to a Condor cluster", components(org.openmole.plugin.environment.condor.CondorEnvironment), environment),
ModuleEntry("EGI", "Delegate workload to EGI", components(org.openmole.plugin.environment.egi.EGIEnvironment), environment),
ModuleEntry("OAR", "Delegate workload to an OAR cluster", components(org.openmole.plugin.environment.oar.OAREnvironment), environment),
ModuleEntry("PBS", "Delegate workload to a PBS cluster", components(org.openmole.plugin.environment.pbs.PBSEnvironment), environment),
ModuleEntry("SGE", "Delegate workload to an SGE cluster", components(org.openmole.plugin.environment.sge.SGEEnvironment), environment),
ModuleEntry("SLURM", "Delegate workload to a SLURM cluster", components(org.openmole.plugin.environment.slurm.SLURMEnvironment), environment),
ModuleEntry("SSH", "Delegate workload to a server via SSH", components(org.openmole.plugin.environment.ssh.SSHEnvironment), environment),
ModuleEntry("SSH", "Dispatch workload on multiple environments", components(org.openmole.plugin.environment.dispatch.DispatchEnvironment), environment),
ModuleEntry("Container", "Execute a container", components[org.openmole.plugin.task.container.ContainerTask], task),
ModuleEntry("NetLogo5", "Execute NetLogo 5 simulation models", components[org.openmole.plugin.task.netlogo5.NetLogo5Task], task),
ModuleEntry("NetLogo6", "Execute NetLogo 6 simulation models", components[org.openmole.plugin.task.netlogo6.NetLogo6Task], task),
ModuleEntry("GAMA", "Execute GAMA simulation models", components[org.openmole.plugin.task.gama.GAMATask], task),
ModuleEntry("Python", "Execute python code", components[org.openmole.plugin.task.python.PythonTask], task),
ModuleEntry("R", "Execute R code", components[org.openmole.plugin.task.r.RTask], task),
ModuleEntry("Scilab", "Execute Scilab code", components[org.openmole.plugin.task.scilab.ScilabTask], task),
ModuleEntry("SystemExec", "Execute system command", components[org.openmole.plugin.task.systemexec.SystemExecTask], task),
ModuleEntry("Template", "Generate files", components[org.openmole.plugin.task.template.TemplateTask], task),
ModuleEntry("CSVSampling", "Generate sampling using CSV files", components(org.openmole.plugin.sampling.csv.CSVSampling), sampling),
ModuleEntry("LHS", "Generate Latin Hypercube Sampling", components(org.openmole.plugin.sampling.lhs.LHS), sampling),
ModuleEntry("QuasiRandom", "Generate sampling using low-discrepency sequences", components(org.openmole.plugin.sampling.quasirandom.SobolSampling), sampling),
ModuleEntry("QuasiRandom", "Generate spatial samplings", components(org.openmole.plugin.sampling.spatial.SpatialSampling), sampling),
ModuleEntry("Evolution", "Explore/calibrate models using evolutionary algorithms", components(org.openmole.plugin.method.evolution.NSGA2), method),
ModuleEntry("ABC", "Calibrate models using bayesian algorithms", components(org.openmole.plugin.method.abc.ABC), method),
ModuleEntry("Sensitivity", "Statistical sensitivity analisys", components(org.openmole.plugin.method.sensitivity.SensitivityMorris), method)
)
def generate(modules: Seq[ModuleEntry], copy: File String) = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment