Hello,
I have two questions:
1- OM interactive console: I am facing an error (see attachement) when
using: ./openmole -c. Where does it come from? I use a distant cluster.
2- In the GAMA script for OM, if I understand well, we can only call a
simple experiment (and not a batch experiment). Is that right?
The 4th argument of the GamaTask is for the number of steps, is it
possible to skip it and use a variable (e.g. end_sim) activated on
specific conditions (e.g. if (step = 3000 or nb_prey = 0), end_sim=true)?
Best regards,
Myriam
^C[grillot@cc2-n7 assemble]$ ./openmole -c
./openmole: illegal option -- c
Jun 07, 2017 11:59:00 AM org.openmole.ui.Application$ run
WARNING: Ignored options:
Jun 07, 2017 11:59:03 AM org.openmole.gui.server.core.Utils$ update$1
INFO: Building GUI plugins ...
Linker: Compute reachability: 296134 us
Linker: Assemble LinkedClasses: 763087 us
Basic Linking: 1086451 us
Inc. optimizer: Batch mode: true
Inc. optimizer: Incremental part: 228428 us
Inc. optimizer: Optimizing 16276 methods.
Inc. optimizer: Optimizer part: 5279323 us
Inc. optimizer: 5526808 us
Refiner: Compute reachability: 90215 us
Refiner: Assemble LinkedClasses: 14344 us
Refiner: 106944 us
Emitter: Class tree cache stats: reused: 1215 -- invalidated: 1223
Emitter: Method tree cache stats: resued: 0 -- invalidated: 8237
Emitter (write output): 1466571 us
Jun 07, 2017 11:59:13 AM org.openmole.gui.server.core.Utils$ addPluginRoutes
INFO: Loading GUIĀ plugins
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openmole.launcher.Launcher.main(Launcher.java:129)
Caused by: java.lang.UnsatisfiedLinkError:
/usr/local/java/jdk1.8.0_31/jre/lib/amd64/libawt_xawt.so: libX11.so.6: failed
to map segment from shared object: Cannot allocate memory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
at java.awt.Desktop.isDesktopSupported(Desktop.java:169)
at org.openmole.ui.Application$.browse$1(Application.scala:247)
at org.openmole.ui.Application$.$anonfun$run$20(Application.scala:266)
at
org.openmole.ui.Application$.$anonfun$run$20$adapted(Application.scala:263)
at org.openmole.ui.Application$$$Lambda$134/573242471.apply(Unknown
Source)
at
org.openmole.gui.server.core.GUIServices$.withServices(GUIServlet.scala:96)
at org.openmole.ui.Application$.$anonfun$run$18(Application.scala:263)
at
org.openmole.ui.Application$.$anonfun$run$18$adapted(Application.scala:249)
at org.openmole.ui.Application$$$Lambda$127/297031141.apply(Unknown
Source)
at org.openmole.tool.stream.package$.withClosable(package.scala:100)
at
org.openmole.tool.file.FilePackage$FileDecorator.$anonfun$withFileOutputStream$1(package.scala:393)
at
org.openmole.tool.file.FilePackage$FileDecorator$$Lambda$126/1858779250.apply(Unknown
Source)
at org.openmole.ui.Application$.run(Application.scala:249)
at org.openmole.ui.Application.run(Application.scala)
... 5 more
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users