help me

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help me

Maximiliano Colazo

Dear I have the following problem when I try to run the project "JZombie_demo" on a cluster


mcolazo@neptuno:~/JZombie$ ls -l
total 48704
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 bin
-rw-r--r-- 1 mcolazo mcolazo 49798584 oct  6 17:32 complete_model.jar
-rw-r--r-- 1 mcolazo mcolazo      395 oct  6 17:32 config.props
drwxr-xr-x 2 mcolazo mcolazo     4096 oct 14 17:19 data
drwx------ 2 mcolazo mcolazo     4096 oct 14 17:20 instance_0
drwx------ 2 mcolazo mcolazo     4096 oct 14 17:20 instance_1
-rw------- 1 mcolazo mcolazo       88 oct 14 17:17 JZombie.e3650
-rw------- 1 mcolazo mcolazo      262 oct 14 17:20 JZombie.e3651
-rw------- 1 mcolazo mcolazo     1635 oct 14 17:17 JZombie.o3650
-rw------- 1 mcolazo mcolazo     1635 oct 14 17:20 JZombie.o3651
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 lib
-rw------- 1 mcolazo mcolazo        0 oct 14 17:19 localParamFile.txt
-rw-r--r-- 1 mcolazo mcolazo     1030 oct  6 17:32 MessageCenter.log4j.properties
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 META-INF
-rwxr-xr-x 1 mcolazo mcolazo       99 oct  6 17:32 outputcombiner.sh
drwxr-xr-x 3 mcolazo mcolazo     4096 mar 22  2016 repast
-rw-r--r-- 1 mcolazo mcolazo      767 oct 14 17:19 repast.pbs
-rwxr-xr-x 1 mcolazo mcolazo      791 oct  6 17:32 repastwrapper.sh
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 scenario.rs
-rw-r--r-- 1 mcolazo mcolazo      368 oct  6 17:32 unrolledParamFile.txt



mcolazo@neptuno:~/JZombie$ cat JZombie.e3651
cat: JZombie.e3651: No existe el fichero o el directorio


mcolazo@neptuno:~/JZombie$ cat JZombie.o3651
Total lines: 8
Total processing nodes: 4
Running lines 1 to 4
Running lines 5 to 8
ERROR [main] 20:34:10,328 repast.simphony.batch.InstanceRunner - Error while running model
repast.simphony.scenario.ScenarioLoadException: Error while reading parameter input
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:201)
  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:217)
Caused by: java.io.FileNotFoundException: localParamFile.txt (No such file or directory)
  at java.io.FileInputStream.open0(Native Method)
  at java.io.FileInputStream.open(FileInputStream.java:195)
  at java.io.FileInputStream.<init>(FileInputStream.java:138)
  at java.io.FileInputStream.<init>(FileInputStream.java:93)
  at java.io.FileReader.<init>(FileReader.java:58)
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:188)
  ... 1 more
ERROR [main] 13:37:48,919 repast.simphony.batch.InstanceRunner - Error while running model
repast.simphony.scenario.ScenarioLoadException: Error while reading parameter input
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:201)
  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:217)
Caused by: java.io.FileNotFoundException: localParamFile.txt (No such file or directory)
  at java.io.FileInputStream.open0(Native Method)
  at java.io.FileInputStream.open(FileInputStream.java:195)
  at java.io.FileInputStream.<init>(FileInputStream.java:138)
  at java.io.FileInputStream.<init>(FileInputStream.java:93)
  at java.io.FileReader.<init>(FileReader.java:58)
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:188)
  ... 1 more
Completed all runs.

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: help me

srcnick
If you put that file in the data folder and reference it in the code with the relative path “./data/localParamFile.txt” then simphony should be able to find it. The batch mechanism should create a sym link to the data folder in each instance_N directory. Each simulation runs in an instance_N directory so that is “.” as far as the file system is concerned.

Nick

On Oct 14, 2016, at 4:04 PM, Maximiliano Colazo <[hidden email]> wrote:


Dear I have the following problem when I try to run the project "JZombie_demo" on a cluster


mcolazo@neptuno:~/JZombie$ ls -l
total 48704
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 bin
-rw-r--r-- 1 mcolazo mcolazo 49798584 oct  6 17:32 complete_model.jar
-rw-r--r-- 1 mcolazo mcolazo      395 oct  6 17:32 config.props
drwxr-xr-x 2 mcolazo mcolazo     4096 oct 14 17:19 data
drwx------ 2 mcolazo mcolazo     4096 oct 14 17:20 instance_0
drwx------ 2 mcolazo mcolazo     4096 oct 14 17:20 instance_1
-rw------- 1 mcolazo mcolazo       88 oct 14 17:17 JZombie.e3650
-rw------- 1 mcolazo mcolazo      262 oct 14 17:20 JZombie.e3651
-rw------- 1 mcolazo mcolazo     1635 oct 14 17:17 JZombie.o3650
-rw------- 1 mcolazo mcolazo     1635 oct 14 17:20 JZombie.o3651
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 lib
-rw------- 1 mcolazo mcolazo        0 oct 14 17:19 localParamFile.txt
-rw-r--r-- 1 mcolazo mcolazo     1030 oct  6 17:32 MessageCenter.log4j.properties
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 META-INF
-rwxr-xr-x 1 mcolazo mcolazo       99 oct  6 17:32 outputcombiner.sh
drwxr-xr-x 3 mcolazo mcolazo     4096 mar 22  2016 repast
-rw-r--r-- 1 mcolazo mcolazo      767 oct 14 17:19 repast.pbs
-rwxr-xr-x 1 mcolazo mcolazo      791 oct  6 17:32 repastwrapper.sh
drwxr-xr-x 2 mcolazo mcolazo     4096 oct  6 17:32 scenario.rs
-rw-r--r-- 1 mcolazo mcolazo      368 oct  6 17:32 unrolledParamFile.txt



mcolazo@neptuno:~/JZombie$ cat JZombie.e3651
cat: JZombie.e3651: No existe el fichero o el directorio


mcolazo@neptuno:~/JZombie$ cat JZombie.o3651
Total lines: 8
Total processing nodes: 4
Running lines 1 to 4
Running lines 5 to 8
ERROR [main] 20:34:10,328 repast.simphony.batch.InstanceRunner - Error while running model
repast.simphony.scenario.ScenarioLoadException: Error while reading parameter input
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:201)
  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:217)
Caused by: java.io.FileNotFoundException: localParamFile.txt (No such file or directory)
  at java.io.FileInputStream.open0(Native Method)
  at java.io.FileInputStream.open(FileInputStream.java:195)
  at java.io.FileInputStream.<init>(FileInputStream.java:138)
  at java.io.FileInputStream.<init>(FileInputStream.java:93)
  at java.io.FileReader.<init>(FileReader.java:58)
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:188)
  ... 1 more
ERROR [main] 13:37:48,919 repast.simphony.batch.InstanceRunner - Error while running model
repast.simphony.scenario.ScenarioLoadException: Error while reading parameter input
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:201)
  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:217)
Caused by: java.io.FileNotFoundException: localParamFile.txt (No such file or directory)
  at java.io.FileInputStream.open0(Native Method)
  at java.io.FileInputStream.open(FileInputStream.java:195)
  at java.io.FileInputStream.<init>(FileInputStream.java:138)
  at java.io.FileInputStream.<init>(FileInputStream.java:93)
  at java.io.FileReader.<init>(FileReader.java:58)
  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:188)
  ... 1 more
Completed all runs.

 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest