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


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to