Hi Ida,
The model can be executed on remote hosts as part of a batch run. This requires that you have set up SSH key-based authentication with the private key on your computer and the public key correctly configured on the remote server. Assuming this is in place, the instructions below describe how to run the model on the remote server.
From the main window, click on the little yellow lightning icon in the toolbar. This opens a new window titled "Batch Run Configuration".
In the input field labelled VM Arguments, enter the following: -Xmx4512M
This will allow the model to use up to 4.5GB of memory (plus some Java overhead)
In order to correctly retrieve all generated output, you will need to add two entries to the Optional Output File Patterns. This is done by clicking the "Add" button. Enter the following entries:
Pattern: PersistentSpatialMemory*
Local Path: PersistentSpatialMemory.csv
Pattern: YearlyMortality*
Local Path: YearlyMortality.csv
Both should have Aggregate and Has Header checked.
Ensure that the "SSH Key Directory" is correct - it should be the directory with you SSH key(s) for the remote server(s).
You can now switch to the Batch Parameters tab to set up the parameters. The options for parameter values here is a bit different from the primary user interface. In the primary user interface, all the parameter values would be "Constant", which is also the default value in the Batch user interface. However, if you open the dropdown, you will find the options "Number Range" and "Space Separated List" as well. With these options, you can provide multiple values for one or more parameters. The parameter space will be unrolled automatically and all variations executed. Also notice that some values which can be selected with a dropdown in the primary user interface must be entered as string values here.
If you make any changes to the values, be sure to click on the "Generate" button before proceeding.
Now switch to the Hosts tab. This is where you configure you remote server.
Click the small "new file" icon (left most icon) above the list of hosts.
Change the Type to REMOTE and enter the user and hostname. If the SSH key is not stored in the default id_rsa then change that as applicable. In the Instances field, you can specify how many concurrent executions of your model this server should perform. The default value of 2 means that the executions will be performed simultaneously (if the parameter space requires multiple executions).
Since you do not wish to execute the model on your own computer, select the entry named "<user>@localhost" and select the delete icon (the red X).
You should now be ready to run the model remotely. Start the execution by clicking the green "run" button in the toolbar. This will switch to the console, which will display information on the model runs.
There is more information available on running Repast Simphony models in batch in the following document:
https://repast.github.io/docs/RepastBatc...tarted.pdf
I hope this helps. Please post any additional questions you may have either as a reply in this thread (if related to this topic) or in a new thread.