Command line batch mode

View: New views
6 Messages — Rating Filter:   Alert me  

Command line batch mode

by Brett Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Being new to Repast, I'm trying to understand how to run a simulation in Batch mode. I've seen previous responses to this subject, but still am unable to accomplish the task.

I would like to use the windows cmd line to run the simple tutorial Infrastructure-Demo model.

Is it possible to use batch mode without passing a parameter file? Ultimately my project involves running Repast with no GUI at all, just using the simulation engine.

The references for Batch Runs contains the following line to start the batch mode:
java -cp ... repast.batch.BatchMain [options] target
What directory would I need to be in when I type this command? What format would my target be in? If I could see a specific example of what I would type in to run the tutorial, that would be the most helpful.

Why is the Main class reference in eclipse for running the batch model different from the above reference? i.e. repast.batch.BatchMain vs. repast.simphony.batch.BatchMain

Thanks, -Brett

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Command line batch mode

by Nick Malleson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bret,

I've just been able to get this going for my simulation, hope these suggestions will help.

> Is it possible to use batch mode without passing a parameter file? Ultimately my project involves running Repast with no GUI at all, just using the simulation engine.

Not sure, but I can't see why you'd want to do this anyway. The parameters file lets you control how the batch run will execute: how many runs to do, how to vary the model parameters etc. I don't think it has anything to do with the GUI.


Here's the command I use to start the batch run (executed from the model root directory)

java -Xms32m -Xmx1024m -cp $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simphony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIPSEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME/plugins/repast.simphony.bin_and_src.jar:./bin/ repast.simphony.batch.BatchMain -params batch/batch_params.xml -interactive burgdsim.rs

That command works on a Mac but you might need to alter it slightly for Windows and you'll need to check that you have defined the $ECLIPSEHOME environment variable (if you can't work out how to do this let me know). Also, in Eclipse you can use the "Run Dialogue" to find out what needs to be in the classpath for a batch run.


>Why is the Main class reference in eclipse for running the batch model different from the above reference? i.e. repast.batch.BatchMain vs. repast.simphony.batch.BatchMain

Don't know.

Cheers,
Nick

Re: Command line batch mode

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nick, you pretty much covered it.  I'll just throw in that the included
libraries on the classpath for running batch models will vary between
models.  Unlike the GUI runtime, the batch runner doesn't load up all
the Repast plugin dependencies and libraries to keep things very lean.
By default, a batch model would need most of the jars in r.s.core/lib
and r.s.runtime/lib and then everhthing else just depends on what code
is implemented in the user's model.  The user's own code needs to be on
the classpath as well.

To address your last comment, there's a probably a type in
"repast.batch.BatchMain."  Almost all package names were changed to
"repast.simphony.*"

eruc


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: repast-interest-bounces@...
[mailto:repast-interest-bounces@...] On Behalf Of Nick
Malleson
Sent: Wednesday, June 25, 2008 2:56 AM
To: repast-interest@...
Subject: Re: [Repast-interest] Command line batch mode


Hi Bret,

I've just been able to get this going for my simulation, hope these
suggestions will help.

> Is it possible to use batch mode without passing a parameter file?
> Ultimately my project involves running Repast with no GUI at all, just

> using the simulation engine.

Not sure, but I can't see why you'd want to do this anyway. The
parameters file lets you control how the batch run will execute: how
many runs to do, how to vary the model parameters etc. I don't think it
has anything to do with the GUI.


Here's the command I use to start the batch run (executed from the model
root directory)

java -Xms32m -Xmx1024m -cp
$CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHO
ME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simp
hony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIP
SEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME
/plugins/repast.simphony.bin_and_src.jar:./bin/
repast.simphony.batch.BatchMain -params batch/batch_params.xml
-interactive burgdsim.rs

That command works on a Mac but you might need to alter it slightly for
Windows and you'll need to check that you have defined the $ECLIPSEHOME
environment variable (if you can't work out how to do this let me know).
Also, in Eclipse you can use the "Run Dialogue" to find out what needs
to be in the classpath for a batch run.


>Why is the Main class reference in eclipse for running the batch model
different from the above reference? i.e. repast.batch.BatchMain vs.
repast.simphony.batch.BatchMain

Don't know.

Cheers,
Nick
--
View this message in context:
http://www.nabble.com/Command-line-batch-mode-tp18104253p18106874.html
Sent from the repast-interest mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Command line batch mode

by Brett Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
As a follow up to this thread, I have the batch mode working on the terminal in Mac OSX.
I typed the following to set my Environment Variable ECLIPSEHOME to reference the proper directory:
export ECLIPSEHOME=/home/sci/bwalker/RepastS/eclipse
To launch in batch mode I typed the following:
java -Xms32m -Xmx1024m -cp $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simphony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIPSEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME/plugins/repast.simphony.bin_and_src.jar:./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs






> Date: Wed, 25 Jun 2008 13:42:27 -0500

> From: tatara@...
> To: N.Malleson06@...; repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
> Nick, you pretty much covered it. I'll just throw in that the included
> libraries on the classpath for running batch models will vary between
> models. Unlike the GUI runtime, the batch runner doesn't load up all
> the Repast plugin dependencies and libraries to keep things very lean.
> By default, a batch model would need most of the jars in r.s.core/lib
> and r.s.runtime/lib and then everhthing else just depends on what code
> is implemented in the user's model. The user's own code needs to be on
> the classpath as well.
>
> To address your last comment, there's a probably a type in
> "repast.batch.BatchMain." Almost all package names were changed to
> "repast.simphony.*"
>
> eruc
>
>
> Eric Tatara, Ph.D.
> Assistant Software Engineer
> Center for Complex Adaptive Agent Systems Simulation
> Decision and Information Sciences Division
> Argonne National Laboratory
>
> -----Original Message-----
> From: repast-interest-bounces@...
> [mailto:repast-interest-bounces@...] On Behalf Of Nick
> Malleson
> Sent: Wednesday, June 25, 2008 2:56 AM
> To: repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
>
> Hi Bret,
>
> I've just been able to get this going for my simulation, hope these
> suggestions will help.
>
> > Is it possible to use batch mode without passing a parameter file?
> > Ultimately my project involves running Repast with no GUI at all, just
>
> > using the simulation engine.
>
> Not sure, but I can't see why you'd want to do this anyway. The
> parameters file lets you control how the batch run will execute: how
> many runs to do, how to vary the model parameters etc. I don't think it
> has anything to do with the GUI.
>
>
> Here's the command I use to start the batch run (executed from the model
> root directory)
>
> java -Xms32m -Xmx1024m -cp
> $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHO
> ME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simp
> hony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIP
> SEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME
> /plugins/repast.simphony.bin_and_src.jar:./bin/
> repast.simphony.batch.BatchMain -params batch/batch_params.xml
> -interactive burgdsim.rs
>
> That command works on a Mac but you might need to alter it slightly for
> Windows and you'll need to check that you have defined the $ECLIPSEHOME
> environment variable (if you can't work out how to do this let me know).
> Also, in Eclipse you can use the "Run Dialogue" to find out what needs
> to be in the classpath for a batch run.
>
>
> >Why is the Main class reference in eclipse for running the batch model
> different from the above reference? i.e. repast.batch.BatchMain vs.
> repast.simphony.batch.BatchMain
>
> Don't know.
>
> Cheers,
> Nick
> --
> View this message in context:
> http://www.nabble.com/Command-line-batch-mode-tp18104253p18106874.html
> Sent from the repast-interest mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Command line batch mode

by Brett Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
The next issue I have is launching from the command line in Windows. Here is what I've attempted.
I set the ECLIPSEHOME environment variable to be D:\Repast\eclipse
I then typed the following into the command line:
java -Xms32m -Xmx1024m -cp %CLASSPATH%:%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/*:%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/:%ECLIPSEHOME%/plugins/repast.simphony.runtime/lib/*:%ECLIPSEHOME%/plugins/repast.simphony.batch/bin:%ECLIPSEHOME%/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:%ECLIPSEHOME%/plugins/repast.simphony.bin_and_src.jar:./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs
 
This however does not work, producing the error:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Files\Java\jre
1/6/0_04\lib\ext\QTJava/zip:6.570140E-305CLIPSEHOME/plugins/repast/simphony/runt
ime/bin/*:1.258176E-303CLIPSEHOME/plugins/repast/simphony/runtime/bin/:5.222492E
-306CLIPSEHOME/plugins/repast/simphony/runtime/lib/*:4.940656E-324CLIPSEHOME/plu
g
 
Any ideas on how to fix this or what this error is trying to tell me? I have not worked extensively with Environment Variables, so perhaps I am setting them up or using them incorrectly. Thanks, -Brett
 






From: bwalker@...
To: repast-interest@...
Date: Fri, 27 Jun 2008 13:19:58 -0600
Subject: Re: [Repast-interest] Command line batch mode

As a follow up to this thread, I have the batch mode working on the terminal in Mac OSX.
I typed the following to set my Environment Variable ECLIPSEHOME to reference the proper directory:
export ECLIPSEHOME=/home/sci/bwalker/RepastS/eclipse
To launch in batch mode I typed the following:
java -Xms32m -Xmx1024m -cp $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simphony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIPSEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME/plugins/repast.simphony.bin_and_src.jar:./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs






> Date: Wed, 25 Jun 2008 13:42:27 -0500
> From: tatara@...
> To: N.Malleson06@...; repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
> Nick, you pretty much covered it. I'll just throw in that the included
> libraries on the classpath for running batch models will vary between
> models. Unlike the GUI runtime, the batch runner doesn't load up all
> the Repast plugin dependencies and libraries to keep things very lean.
> By default, a batch model would need most of the jars in r.s.core/lib
> and r.s.runtime/lib and then everhthing else just depends on what code
> is implemented in the user's model. The user's own code needs to be on
> the classpath as well.
>
> To address your last comment, there's a probably a type in
> "repast.batch.BatchMain." Almost all package names were changed to
> "repast.simphony.*"
>
> eruc
>
>
> Eric Tatara, Ph.D.
> Assistant Software Engineer
> Center for Complex Adaptive Agent Systems Simulation
> Decision and Information Sciences Division
> Argonne National Laboratory
>
> -----Original Message-----
> From: repast-interest-bounces@...
> [mailto:repast-interest-bounces@...] On Behalf Of Nick
> Malleson
> Sent: Wednesday, June 25, 2008 2:56 AM
> To: repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
>
> Hi Bret,
>
> I've just been able to get this going for my simulation, hope these
> suggestions will help.
>
> > Is it possible to use batch mode without passing a parameter file?
> > Ultimately my project involves running Repast with no GUI at all, just
>
> > using the simulation engine.
>
> Not sure, but I can't see why you'd want to do this anyway. The
> parameters file lets you control how the batch run will execute: how
> many runs to do, how to vary the model parameters etc. I don't think it
> has anything to do with the GUI.
>
>
> Here's the command I use to start the batch run (executed from the model
> root directory)
>
> java -Xms32m -Xmx1024m -cp
> $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHO
> ME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simp
> hony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIP
> SEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME
> /plugins/repast.simphony.bin_and_src.jar:./bin/
> repast.simphony.batch.BatchMain -params batch/batch_params.xml
> -interactive burgdsim.rs
>
> That command works on a Mac but you might need to alter it slightly for
> Windows and you'll need to check that you have defined the $ECLIPSEHOME
> environment variable (if you can't work out how to do this let me know).
> Also, in Eclipse you can use the "Run Dialogue" to find out what needs
> to be in the classpath for a batch run.
>
>
> >Why is the Main class reference in eclipse for running the batch model
> different from the above reference? i.e. repast.batch.BatchMain vs.
> repast.simphony.batch.BatchMain
>
> Don't know.
>
> Cheers,
> Nick
> --
> View this message in context:
> http://www.nabble.com/Command-line-batch-mode-tp18104253p18106874.html
> Sent from the repast-interest mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Command line batch mode

by Brett Walker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I found the solution to my problem.
It seems that Quicktime had changed my default classpath as evidenced by the QTJava reference in my error. In Windows, it is also necessary to use semicolons rather than colons when separating the classpaths. My final code looks as follows:
 
set CLASSPATH=.
 
java -Xms32m -Xmx1024m -cp %CLASSPATH%;%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/*;%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/;%ECLIPSEHOME%/plugins/repast.simphony.runtime/lib/*;%ECLIPSEHOME%/plugins/repast.simphony.batch/bin;%ECLIPSEHOME%/plugins/repast.simphony.core/lib/commons-cli-1.0.jar;%ECLIPSEHOME%/plugins/repast.simphony.bin_and_src.jar;./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs




 

From: bwalker@...
To: repast-interest@...
Date: Fri, 27 Jun 2008 13:24:42 -0600
Subject: Re: [Repast-interest] Command line batch mode

The next issue I have is launching from the command line in Windows. Here is what I've attempted.
I set the ECLIPSEHOME environment variable to be D:\Repast\eclipse
I then typed the following into the command line:
java -Xms32m -Xmx1024m -cp %CLASSPATH%:%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/*:%ECLIPSEHOME%/plugins/repast.simphony.runtime/bin/:%ECLIPSEHOME%/plugins/repast.simphony.runtime/lib/*:%ECLIPSEHOME%/plugins/repast.simphony.batch/bin:%ECLIPSEHOME%/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:%ECLIPSEHOME%/plugins/repast.simphony.bin_and_src.jar:./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs
 
This however does not work, producing the error:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Files\Java\jre
1/6/0_04\lib\ext\QTJava/zip:6.570140E-305CLIPSEHOME/plugins/repast/simphony/runt
ime/bin/*:1.258176E-303CLIPSEHOME/plugins/repast/simphony/runtime/bin/:5.222492E
-306CLIPSEHOME/plugins/repast/simphony/runtime/lib/*:4.940656E-324CLIPSEHOME/plu
g
 
Any ideas on how to fix this or what this error is trying to tell me? I have not worked extensively with Environment Variables, so perhaps I am setting them up or using them incorrectly. Thanks, -Brett
 






From: bwalker@...
To: repast-interest@...
Date: Fri, 27 Jun 2008 13:19:58 -0600
Subject: Re: [Repast-interest] Command line batch mode

As a follow up to this thread, I have the batch mode working on the terminal in Mac OSX.
I typed the following to set my Environment Variable ECLIPSEHOME to reference the proper directory:
export ECLIPSEHOME=/home/sci/bwalker/RepastS/eclipse
To launch in batch mode I typed the following:
java -Xms32m -Xmx1024m -cp $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simphony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIPSEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME/plugins/repast.simphony.bin_and_src.jar:./bin-groovy/ repast.simphony.batch.BatchMain -params batch/params.xml -interactive boids.rs






> Date: Wed, 25 Jun 2008 13:42:27 -0500
> From: tatara@...
> To: N.Malleson06@...; repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
> Nick, you pretty much covered it. I'll just throw in that the included
> libraries on the classpath for running batch models will vary between
> models. Unlike the GUI runtime, the batch runner doesn't load up all
> the Repast plugin dependencies and libraries to keep things very lean.
> By default, a batch model would need most of the jars in r.s.core/lib
> and r.s.runtime/lib and then everhthing else just depends on what code
> is implemented in the user's model. The user's own code needs to be on
> the classpath as well.
>
> To address your last comment, there's a probably a type in
> "repast.batch.BatchMain." Almost all package names were changed to
> "repast.simphony.*"
>
> eruc
>
>
> Eric Tatara, Ph.D.
> Assistant Software Engineer
> Center for Complex Adaptive Agent Systems Simulation
> Decision and Information Sciences Division
> Argonne National Laboratory
>
> -----Original Message-----
> From: repast-interest-bounces@...
> [mailto:repast-interest-bounces@...] On Behalf Of Nick
> Malleson
> Sent: Wednesday, June 25, 2008 2:56 AM
> To: repast-interest@...
> Subject: Re: [Repast-interest] Command line batch mode
>
>
> Hi Bret,
>
> I've just been able to get this going for my simulation, hope these
> suggestions will help.
>
> > Is it possible to use batch mode without passing a parameter file?
> > Ultimately my project involves running Repast with no GUI at all, just
>
> > using the simulation engine.
>
> Not sure, but I can't see why you'd want to do this anyway. The
> parameters file lets you control how the batch run will execute: how
> many runs to do, how to vary the model parameters etc. I don't think it
> has anything to do with the GUI.
>
>
> Here's the command I use to start the batch run (executed from the model
> root directory)
>
> java -Xms32m -Xmx1024m -cp
> $CLASSPATH:$ECLIPSEHOME/plugins/repast.simphony.runtime/bin/*:$ECLIPSEHO
> ME/plugins/repast.simphony.runtime/bin/:$ECLIPSEHOME/plugins/repast.simp
> hony.runtime/lib/*:$ECLIPSEHOME/plugins/repast.simphony.batch/bin:$ECLIP
> SEHOME/plugins/repast.simphony.core/lib/commons-cli-1.0.jar:$ECLIPSEHOME
> /plugins/repast.simphony.bin_and_src.jar:./bin/
> repast.simphony.batch.BatchMain -params batch/batch_params.xml
> -interactive burgdsim.rs
>
> That command works on a Mac but you might need to alter it slightly for
> Windows and you'll need to check that you have defined the $ECLIPSEHOME
> environment variable (if you can't work out how to do this let me know).
> Also, in Eclipse you can use the "Run Dialogue" to find out what needs
> to be in the classpath for a batch run.
>
>
> >Why is the Main class reference in eclipse for running the batch model
> different from the above reference? i.e. repast.batch.BatchMain vs.
> repast.simphony.batch.BatchMain
>
> Don't know.
>
> Cheers,
> Nick
> --
> View this message in context:
> http://www.nabble.com/Command-line-batch-mode-tp18104253p18106874.html
> Sent from the repast-interest mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest