Hi Romain,
When I do this, I get another error in the console (while this instruction
seems to works without any problem when I launch this model from the web
interface:
___ __ __ ___ _ _____ ____
/ _ \ _ __ ___ _ __ | \/ |/ _ \| | | ____| | ___|
| | | | '_ \ / _ \ '_ \| |\/| | | | | | | _| |___ \
| |_| | |_) | __/ | | | | | | |_| | |___| |___ ___) |
\___/| .__/ \___|_| |_|_| |_|\___/|_____|_____| |____/
|_|
(Type :q to quit)
<console>:248: error: value wallTime is not a member of String
possible cause: maybe a semicolon is missing before `value wallTime'?
wallTime=1 hours,
^
<console>:379: error: value wallTime is not a member of String
possible cause: maybe a semicolon is missing before `value wallTime'?
wallTime=1 hours,
^
org.openmole.core.exception.UserBadDataError: Compilation error:
value wallTime is not a member of String
possible cause: maybe a semicolon is missing before `value wallTime'?
wallTime=1 hours,
^
on line 248
Compilation error:
value wallTime is not a member of String
possible cause: maybe a semicolon is missing before `value wallTime'?
wallTime=1 hours,
^
on line 379
at
org.openmole.core.console.ScalaREPL.messageToException(ScalaREPL.scala:74)
at org.openmole.core.console.ScalaREPL.compile(ScalaREPL.scala:92)
at org.openmole.console.Project.compile(Project.scala:64)
at org.openmole.console.Project.compile(Project.scala:58)
at org.openmole.console.Console.run(Console.scala:159)
at
org.openmole.ui.Application$$anonfun$start$1.apply(Application.scala:184)
at
org.openmole.ui.Application$$anonfun$start$1.apply(Application.scala:60)
at
org.openmole.core.replication.DBServerRunning$.useDB(DBServerRunning.scala:42)
at org.openmole.ui.Application.start(Application.scala:60)
at org.openmole.ui.Application.start(Application.scala:47)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
2015-11-04 18:59 GMT+01:00 Romain Reuillon <[email protected]>:
> Hi Murat,
>
> if you rename your file with no dash in it, it will work,
>
> I keep that in mind to make it more robust at some point....
>
> Romain
>
>
>
> Le 04/11/2015 16:38, Murat Yildizoglu a écrit :
>
> Hi,
>
> I have been able to make the experiment index working thanks to your
> indications.
> I must say that the Samples page is not very helpful on this and I could
> not make it without your help. Thanks a lot!
>
> Now that everything works on my laptop, and on the cluster from my laptop,
> I would like to launch my simulations directly from the front-end of the
> cluster, while being able to disconnect from it and let it run.
>
> Of course what I need is the headless version of the script.
> Unfortunately, when I run the command given on the web page
>
> ./openmole -s /path/to/your/mole/script -pw password
>
> using my path, my script and my password, OM Console opens and complains
> that the namr of my script is not a command
>
> (Type :q to quit)
> <console>:2: error: ';' expected but identifier found.
> class vdmy4-avakasClass {
> ^
> <console>:213: error: illegal start of simple expression
> )
> ^
> <console>:261: error: ')' expected but '}' found.
> }
> ^
> org.openmole.core.exception.UserBadDataError: Compilation error:
> ';' expected but identifier found.
> class vdmy4-avakasClass {
>
>
> Is this -s switch correct? Why it is launching the console instead of
> running my script?
>
>
> --
> Prof. Murat Yildizoglu
>
> Note: Please use the following address as such
>
> UNIVERSITE DE BORDEAUX
> GREThA (UMR CNRS 5113)
> MURAT YILDIZOGLU
> 16 AVENUE LEON DUGUIT
> CS 50057
> 33608 PESSAC CEDEX
> FRANCE
>
> Bureau : E-331
>
> mail: murat.yildizoglu at u-bordeaux.fr
>
> web: www.yildizoglu.fr
>
>
> _______________________________________________
> OpenMOLE-users mailing
> [email protected]http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>
>
>
> _______________________________________________
> OpenMOLE-users mailing list
> [email protected]
> http://fedex.iscpif.fr/mailman/listinfo/openmole-users
>
>
--
Prof. Murat Yildizoglu
Note: Please use the following address as such
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE
Bureau : E-331
mail: murat.yildizoglu at u-bordeaux.fr
web: www.yildizoglu.fr
_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users