Configure#
The configuration of idmtools_platform_local is set in the idmtools.ini file. This file is normally located in the project directory but idmtools_platform_local will search up through the directory hierarchy, and lastly the files ~/.idmtools.ini on Linux and %LOCALAPPDATA%\idmtools_local\idmtools.ini on Windows. If no configuration file is found, an error is displayed. To supress this error, you can use IDMTOOLS_NO_CONFIG_WARNING=1
Below is an example idmtools.ini configuration file:
[COMMON]
# Number of threads idmtools will use for analysis and other multithreaded activities
max_threads = 16
# How many simulations per threads during simulation creation
sims_per_thread = 20
# Maximum number of LOCAL simulation ran simultaneously
max_local_sims = 6
[Local]
type = Local
# This is a test we used to validate loading local from section block
[Custom_Local]
type = Local
[Logging]
level = DEBUG
console = on