From: Norman E. <neh...@ya...> - 2001-10-14 21:32:46
|
Hallo everybody, I am having problems finishing my simulations when started in batch-mode. My parameter file looks like this: runs: 2 numberOfPeriods { set: 25 } I expect the model to run two times, yet it doesn't stop at all. I confirmed that the parameter file is properly read by the model by altering the numberOfPeriods parameter. My main-method looks like this: public static void main(String[] args) { SimInit init = new SimInit(); AsmModel model = new AsmModel(); if (args.length > 0) { init.loadModel(model, args[0], true); } else { init.loadModel(model, null, false); } } and I call the model with the following batch-file: cd..\ASMModel\classes java -cp .;c:/repast/lib/repast.jar;c:/repast/lib/colt.jar;c:/repast/lib/jgl3.1.0.jar;c:/repast/lib/plot.jar;c:/repast/lib/jmf.jar ASMModel.AsmModel H:/Java/ASMModel/src/ASMModel/Asm.pf I remember of having no problems when I tested this feature at the beginning of my programming job (under Repast 1.2), but now, coming to an end, I can't get it to run. Any ideas what might be wrong? Am I forgetting something? Thank you. Norman -- Norman Ehrentreich Martin-Luther-University Halle-Wittenberg (Germany) Dept. of Banking and Finance _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |