Quantcast

run JZombies_De,mo on cluster

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

run JZombies_De,mo on cluster

Maximiliano Colazo
run the model JZombies_Demos have the following error for each instance generated

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 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
 

------------------------------------------------------------------------------
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
|  
Report Content as Inappropriate

Re: run JZombies_De,mo on cluster

srcnick
Are you still getting this error? I thought I sent a reply yesterday morning. Did you try putting missing file in the data folder and changing the code to look for the file there? It looks like the code is still looking for the file in its working directory.

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.


On Oct 17, 2016, at 5:54 PM, Maximiliano Colazo <[hidden email]> wrote:

run the model JZombies_Demos have the following error for each instance generated

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 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
 
------------------------------------------------------------------------------
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
Loading...