Platforms¶
idmtools currently supports running on the following platforms:
COMPS: COmputational Modeling Platform Service (COMPS) is a high performance computing cluster used by employees and collaborators at IDM. To support running simulations and analysis on COMPS, idmtools includes the following modules: idmtools_platform_comps.
Note
To access and use COMPS you must receive approval and credentials from IDM. Send your request to support@idmod.org.
Local: You can also run simulations and analysis locally on your computer, rather than on a remote high-performance computer (HPC). For more information about these modules, see idmtools_platform_local.
You can use the idmtools.ini file to configure platform specific settings, as the following examples shows for COMPS:
[COMPS]
type = COMPS
endpoint = https://comps.idmod.org
environment = Belegost
priority = Lowest
simulation_root = $COMPS_PATH(USER)\output
node_group = emod_abcd
num_retires = 0
num_cores = 1
max_workers = 16
batch_size = 10
exclusive = False
Within your code you use the Platform
class to specify which platform idmtools will use. For example, the following excerpt sets platform to use COMPS and overrides priority and node_group settings.:
platform = Platform('COMPS',priority='AboveNormal',node_group='emod_a')
You use the Platform
class whether you’re building or running an experiment, or running analysis on output from simulations.
For additional information about configuring idmtools.ini, see Configuration.