java - Issues with supercomputer submission scripts to run NetLogo -


i'm having difficulty getting supercomputer run netlogo model. i'm attempting follow advice given here , here. no luck. think it's not finding of needed jars? entirety of v5.3.1 folder located at:

/users/pas1038/xxmyusernamexx/netlogo/netlogo-5.3.1/ , i've added rnd extension in app/ folder.

this submission script:

#pbs -n testjob #pbs -l walltime=00:30:00 #pbs -l nodes=1:ppn=1 #pbs -j oe cd /users/pas1038/xxmyusernamexx/netlogo/netlogo-5.3.1/ java -xmx1024m -dfile.encoding=utf-8 -cp /users/pas1038/xxmyusernamexx/netlogo/netlogo-5.3.1/app/netlogo.jar \ org.nlogo.headless.main \ --model /users/pas1038/xxmyusername/netlogo/netlogo-5.3.1/mymodel.nlogo \ --experiment test \ --table  testoutput.csv \ --threads 8 

but giving me following error:

java.lang.illegalstateexception: can't find extension: profiler/profiler.jar     @ org.nlogo.workspace.extensionmanager.resolvepathasurl(extensionmanager.java:315)     @ org.nlogo.workspace.extensionmanager.importextension(extensionmanager.java:153)     @ org.nlogo.compiler.structureparser.parseimport(structureparser.scala:459)     @ org.nlogo.compiler.structureparser.parse(structureparser.scala:196)     @ org.nlogo.compiler.compilermain$.compile(compilermain.scala:25)     @ org.nlogo.compiler.compiler$.compileprogram(compiler.scala:28)     @ org.nlogo.headless.headlessmodelopener.openfrommap(headlessmodelopener.scala:53)     @ org.nlogo.headless.headlessworkspace.openstring(headlessworkspace.scala:531)     @ org.nlogo.headless.headlessworkspace.open(headlessworkspace.scala:513)     @ org.nlogo.headless.main$.newworkspace$1(main.scala:19)     @ org.nlogo.headless.main$$anonfun$runexperiment$1.apply(main.scala:24)     @ org.nlogo.headless.main$$anonfun$runexperiment$1.apply(main.scala:24)     @ org.nlogo.lab.lab$$anonfun$1.apply(lab.scala:33)     @ org.nlogo.lab.lab$$anonfun$1.apply(lab.scala:33)     @ scala.collection.traversablelike$$anonfun$map$1.apply(traversablelike.scala:233)     @ scala.collection.traversablelike$$anonfun$map$1.apply(traversablelike.scala:233)     @ scala.collection.immutable.range.foreach(range.scala:78)     @ scala.collection.traversablelike$class.map(traversablelike.scala:233)     @ scala.collection.immutable.range.map(range.scala:46)     @ org.nlogo.lab.lab.run(lab.scala:33)     @ org.nlogo.headless.main$.runexperiment(main.scala:24)     @ org.nlogo.headless.main$$anonfun$main$1.apply(main.scala:14)     @ org.nlogo.headless.main$$anonfun$main$1.apply(main.scala:14)     @ scala.option.foreach(option.scala:197)     @ org.nlogo.headless.main$.main(main.scala:14)     @ org.nlogo.headless.main.main(main.scala) exception in thread "main" can't find extension: profiler @ position 165 in      @ org.nlogo.api.errorsource.signalerror(errorsource.scala:12)     @ org.nlogo.workspace.extensionmanager.importextension(extensionmanager.java:162)     @ org.nlogo.compiler.structureparser.parseimport(structureparser.scala:459)     @ org.nlogo.compiler.structureparser.parse(structureparser.scala:196)     @ org.nlogo.compiler.compilermain$.compile(compilermain.scala:25)     @ org.nlogo.compiler.compiler$.compileprogram(compiler.scala:28)     @ org.nlogo.headless.headlessmodelopener.openfrommap(headlessmodelopener.scala:53)     @ org.nlogo.headless.headlessworkspace.openstring(headlessworkspace.scala:531)     @ org.nlogo.headless.headlessworkspace.open(headlessworkspace.scala:513)     @ org.nlogo.headless.main$.newworkspace$1(main.scala:19)     @ org.nlogo.headless.main$$anonfun$runexperiment$1.apply(main.scala:24)     @ org.nlogo.headless.main$$anonfun$runexperiment$1.apply(main.scala:24)     @ org.nlogo.lab.lab$$anonfun$1.apply(lab.scala:33)     @ org.nlogo.lab.lab$$anonfun$1.apply(lab.scala:33)     @ scala.collection.traversablelike$$anonfun$map$1.apply(traversablelike.scala:233)     @ scala.collection.traversablelike$$anonfun$map$1.apply(traversablelike.scala:233)     @ scala.collection.immutable.range.foreach(range.scala:78)     @ scala.collection.traversablelike$class.map(traversablelike.scala:233)     @ scala.collection.immutable.range.map(range.scala:46)     @ org.nlogo.lab.lab.run(lab.scala:33)     @ org.nlogo.headless.main$.runexperiment(main.scala:24)     @ org.nlogo.headless.main$$anonfun$main$1.apply(main.scala:14)     @ org.nlogo.headless.main$$anonfun$main$1.apply(main.scala:14)     @ scala.option.foreach(option.scala:197)     @ org.nlogo.headless.main$.main(main.scala:14)     @ org.nlogo.headless.main.main(main.scala) =>> pbs: job killed: walltime 1841 exceeded limit 1800 

i've run down issue's answer. need have input files, .nlogo file, , headless.sh in app folder. when case, using code:

#pbs -n runone #pbs -l walltime=12:00:00 #pbs -l nodes=1:ppn=8 module load java/1.8.0_60 cd /users/pas1038/myusername/netlogo/netlogo-5.3.1/app ./netlogo-headless.sh --model modelname.nlogo --experiment g --table output.csv --threads 8 

note: ppn=x , --threads x need changed whatever number of processors per node is.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -