Local platform¶
To run simulations and experiments on the local platform you must have met the installation prerequisites. For more information, see Installation. In addition, the Docker client must be running. For more information, see https://github.com/InstituteforDiseaseModeling/idmtools#development-environment-setup.
Verify local platform is running¶
Type the following at a command prompt to verify that local platform is running:
idmtools local status
You should see the status of running
for each of the following docker containers:
idmtools_redis
idmtools_postgres
idmtools_workers
If not then you may need to run:
idmtools local start
Run examples¶
To run the included examples on local platform you must configure the Platform
to Local
, such as:
platform = Platform('Local')
And, you must include the following block in the idmtools.ini
file:
[Local]
type = Local
Note
You should be able to use most of the included examples, see Examples, on local platform except for those that use IWorkflowItem
or Suite
Python classes.
View simulations and experiments¶
You can the dashboard or the CLI for idmtools to view and monitor the status of your simulations and experiments.
The dashboard runs on a localhost server on port 5000 (http://localhost:5000). It is recommended that you use Google Chrome to open the dashboard.
The CLI command to see the status of simulations is:
idmtools simulation --platform Local status
And, for experiments:
idmtools experiment --platform Local status