Thanks everyone! I will try this. I'm in a conference today but will be able to give it a try tonight or tomorrow!!
More soon, Jessie On Thu, May 11, 2017 at 10:53 AM, Etienne Delay (unilim) < [email protected]> wrote: > Thank's Juste, > It works fine !! I hop it can help Jessie :-) > > E. > > Le 11/05/2017 à 08:44, Juste Raimbault a écrit : > >> Hi Jessie and Etienne, >> >> for the last script to work I think you have to explicitly define the >> seed in the exploration : >> >> val explo_T = >> ExplorationTask ( //defined exploration task >> LHS( // defined a method >> 100, // Number of points of the LHS >> density in Range(0.0, 100.0) >> ) x (seed in UniformDistribution[Int]() take 1) >> ) >> >> best >> >> Juste >> >> >> 2017-05-11 10:36 GMT+02:00 Etienne Delay (unilim) >> <[email protected] <mailto:[email protected]>>: >> >> >> Hi Jessie, >> waiting for a more effective answer. It's fine for you to load and >> explore a netlogo model in openMole? >> >> If not there is information in the market >> https://www.openmole.org/Documentation_Market%20Place_NetLogo.html >> <https://www.openmole.org/Documentation_Market%20Place_NetLogo.html> >> >> Regarding fire model I have tried something like >> >> val density = Val[Double] >> val seed = Val[Int] >> val burned = Val[Double] >> >> val cmds = >> List( >> "random-seed ${seed}", >> "setup", >> "while [any? turtles] [go]" >> ) >> >> val fireTask = >> NetLogo6Task(workDirectory / "Fire.nlogo", cmds) set ( >> inputs += seed, >> outputs += (seed, density), >> netLogoInputs += (density, "density"), >> netLogoOutputs += ("burned-trees", burned) >> ) >> >> val csvHook = CSVHook(workDirectory / "resultLHS.csv", density, >> burned, seed) >> >> val explo_T = >> ExplorationTask ( //defined exploration task >> LHS( // defined a method >> 100, // Number of points of the LHS >> density in Range(0.0, 100.0) >> ) >> ) >> >> >> //define environement simulation on dektops on 6 threads >> val env = LocalEnvironment(6) >> >> // Define the execution >> //val ex = (calibrate + (replicateModel on env) + >> (calibrate.output hook savePopulation hook display)) toExecution // >> Lauch the execution ex.start >> >> explo_T -< (fireTask on env hook csvHook) >> >> >> But it doesn't work ... and my error is >> >> org.openmole.core.exception.Us >> <http://org.openmole.core.exception.Us>erBadDataError: Formal >> >> validation of your mole has failed, 1 error(s) has(ve) been found. >> Input (seed: Int) is missing when reaching the >> slot@447484616:fireTask@1033578726. >> In mole: Mole(explo_T@-2070374467,List(explo_T@-2070374467 -< >> slot@447484616:fireTask@1033578726),List(),PrototypeSet()) >> >> E. >> >> >> >> >> Le 10/05/2017 à 13:48, Jessie Abbate a écrit : >> >> Dear OpenMole developers, >> >> I would really like to use this platform for latin hypercube >> sampling in >> NetLogo, but am having trouble figuring out how to set it up - >> even for >> something as simple as the Fire sampling example. Would anyone be >> willing to help me out with this? It could be as simple as >> showing me >> how it would work for the Fire sampling example, but ideally would >> involve helping me troubleshoot as I apply it to my own model. >> >> Thanks so much in advance. >> Jessie >> >> Also, English is preferred but French is more than fine! >> >> -- >> JL Abbate, PhD >> Post-doctoral Researcher >> Laboratoire MIVEGEC (UMR CNRS-IRD-UM1-UM2 5290) >> Institute of Research for Development (IRD) >> Montpellier, France >> +1.804.212.2321 <tel:%2B1.804.212.2321> (US skype/voicemail) >> +33 6 95 64 21 15 <tel:%2B33%206%2095%2064%2021%2015> (french >> cell, WhatsApp) >> http://jessieabbate.wordpress.com/ >> <http://jessieabbate.wordpress.com/> >> <mailto:[email protected] <mailto:[email protected]>> >> >> >> _______________________________________________ >> OpenMOLE-users mailing list >> [email protected] <mailto:[email protected]> >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users >> <http://fedex.iscpif.fr/mailman/listinfo/openmole-users> >> >> >> -- >> Cordialement >> >> Etienne DELAY >> laboratoire GEOLAB UMR 6042 CNRS >> Maison des Sciences de l'Homme >> 4 rue Ledru >> 63057 Clermont-Ferrand Cedex 1 >> blog : http://elcep.legtux.org >> _______________________________________________ >> OpenMOLE-users mailing list >> [email protected] <mailto:[email protected]> >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users >> <http://fedex.iscpif.fr/mailman/listinfo/openmole-users> >> >> >> >> >> _______________________________________________ >> OpenMOLE-users mailing list >> [email protected] >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users >> >> > -- > Cordialement > > Etienne DELAY > laboratoire GEOLAB UMR 6042 CNRS > Maison des Sciences de l'Homme > 4 rue Ledru > 63057 Clermont-Ferrand Cedex 1 > blog : http://elcep.legtux.org > _______________________________________________ > OpenMOLE-users mailing list > [email protected] > http://fedex.iscpif.fr/mailman/listinfo/openmole-users > -- JL Abbate, PhD Post-doctoral Researcher Laboratoire MIVEGEC (UMR CNRS-IRD-UM1-UM2 5290) Institute of Research for Development (IRD) Montpellier, France +1.804.212.2321 (US skype/voicemail) +33 6 95 64 21 15 (french cell, WhatsApp) http://jessieabbate.wordpress.com/ <[email protected]>
_______________________________________________ OpenMOLE-users mailing list [email protected] http://fedex.iscpif.fr/mailman/listinfo/openmole-users
