Installation
Prerequisites
Before installing idmtools, ensure you have:
- Python 3.10+ (64-bit) - Check with
python --version - pip - Python package installer
- Virtual environment (recommended)
Create virtual environment
It's recommended to use a virtual environment:
1 2 | |
1 2 | |
Installation options
Full installation
Install everything:
1 | |
Includes:
-
idmtools-core
-
idmtools-cli
-
idmtools-models
-
idmtools-platform-comps
-
idmtools-platform-container
-
idmtools-platform-general
-
idmtools-platform-slurm
Platform-specific
Choose based on your compute platform:
COMPS platform
1 | |
Slurm platform
1 | |
Container (Docker) platform
1 | |
Requires Docker or Docker Desktop.
Individual packages
Install only what you need:
1 2 3 4 5 6 7 | |
Verify installation
1 2 3 4 5 | |
Project structure
A typical user project that depends on idmtools looks like this:
1 2 3 4 5 6 7 8 | |
Development installation
For contributing to idmtools:
1 2 3 | |
This installs all packages in editable mode.
Troubleshooting
macOS users
On macOS with square brackets in shell, escape them:
1 | |
Docker authentication
For Container platform, login to GitHub Container Registry:
1 | |
Permission errors
Use --user flag if you don't have admin rights:
1 | |
Next steps
- Configuration - Configure your environment
- Quick start - Run your first simulation
- User guide - Learn the basics