You just need to pack the folder containing you netlogo model and the extensions and then to upload it in openmole and to extract it. There is an example here of a netlogo model with the mw extension working in OpenMOLE: https://github.com/openmole/openmole-market/tree/5-dev/metamimetic-networks
Romain Le 11/12/2015 13:29, Benjamin Carantino a écrit : > > However, notlogo extensions are .jar archives. Is it necessary to > unpack these .jar and to pack it in tar gz ? > > Thanks a lot for all your answers, I will try with this ! > > Benjamin > > Le 11/12/2015 10:47, Romain Reuillon a écrit : > > BTW, your archive should be in > tar gz format and have the extension tgz or tar.gz in order to be > extractable in OpenMOLE... > > > > > Romain > > > > > Le 11/12/2015 09:59, Romain Reuillon a écrit : > > >> Hi Benjamin, > > >> > > >> what you should do is tar your netlogo workspace, ie the > folder > > >> containing your nlogo and all your extensions. Upload > this archive to > > >> openmole. Extact it (there is button for that). The > you'll have > > >> something like: > > >> > > >> nlogows/ > > >> nlogows/Model.nlogo > > >> nlogows/mw/ > > >> nlogows/mw/... > > >> > > >> Then you setup your nlogo task like: > > >> > > >> NetLogo5Task(workDirectory / "nlogows/model.nlogo", cmds, > embedWorkspace = true) > > >> > > >> And you're all set. > > >> > > >> Romain > > >> > > >> > > >> > > >> Le 11/12/2015 01:50, Benjamin Carantino a écrit : > > >>> Hi everyone ! > > >>> > > >>> I have a problem running a netlogo model with nw > extension needed in > > >>> OpenMOLE and thought you may help me ! :) > > >>> > > >>> I wrote a netlogo task of this form (as requested by > the documentation) : > > >>> > > >>> NetLogo5Task(workDirectory / "model.nlogo", cmds, > embedWorkspace = true) > > >>> > > >>> and imported all the .jar of the extension in the > same directory as my > > >>> netlogo model (with the "Upload File" button in > OpenMOLE) but when I run > > >>> it there is still an error occurring which is said to > be : > > >>> > > >>> org.openmole.core.exception.InternalProcessingError: > Error for context > > >>> values in Object@2139302725 > > >>> > > >>> [...] > > >>> > > >>> Caused by: > org.openmole.core.exception.UserBadDataError: Error while > > >>> opening the file > > >>> > /home/benjamin/.openmole/Machine/.tmp/aaab[...]484087/projects/model.nlogo: > > >>> | Can't find extension: nw at position 13 in > > >>> etc, etc... > > >>> > > >>> Do anyone know how to fix this issue and make > OpenMOLE work well with nw > > >>> extension of NetLogo ? > > >>> > > >>> Best regards, > > >>> > > >>> Benjamin CARANTINO > > >>> M2 student, Complex System Science Erasmus Mundus > Master > > >>> _______________________________________________ > > >>> OpenMOLE-users mailing list > > >>> [email protected] > > >>> > http://fedex.iscpif.fr/mailman/listinfo/openmole-users > > >> > > >> > > >> > > >> _______________________________________________ > > >> OpenMOLE-users mailing list > > >> [email protected] > > >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users > > > > > > > _______________________________________________ > OpenMOLE-users mailing list > [email protected] > http://fedex.iscpif.fr/mailman/listinfo/openmole-users
signature.asc
Description: OpenPGP digital signature
_______________________________________________ OpenMOLE-users mailing list [email protected] http://fedex.iscpif.fr/mailman/listinfo/openmole-users
