Skip to content

iDynoMiCS using Eclipse

kalden edited this page Jun 17, 2013 · 5 revisions

3(B): Running iDynoMiCS from the Eclipse Environment

If you are viewing or developing the iDynoMiCS source code using Eclipse, you may run simulations through this environment as well. To do this, from the Run menu select Run Configurations. In the left-side list highlight Java Application, and then click the upper-left icon (blank page with a plus symbol) to create a new application. You may name the application whatever you like, though it’s often best to have it match the project name. Then fill in the Project field with your project name and the Main class field with idyno.Idynomics. (The next figure illustrates how the fields should be set.)

EclipseRun1

After creating the application, we will set some runtime options. To do this, select the Arguments tab and in the VM arguments box enter the following: -Xms300m -Xmx600m (shown in the following figure). These options set the iDynoMiCS memory usage: 300 MB minimum and 600 MB maximum; you may wish to change these values depending on the performance capabilities of your system.

EclipseRun2

No argument is required in the Program arguments box, because when run iDynoMiCS will ask you to choose a protocol file.

EclipseRun3


Clone this wiki locally