Local#

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 InstituteforDiseaseModeling/idmtools.

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 Platform to Local, such as:

platform = Platform('Local')

And, you must include the following block in the idmtools.ini file:

[Local]
type = Local

View simulations and experiments#

You can use the dashboard or the CLI for idmtools_platform_local 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