-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop IDMTools docker image for SSMT (#604)
* SSMT docker image * Add version file to be used in versioning the docker image Add make rules to COMPS Finish Docker image * Update Image to use COMPS base image. (Still needs the FROM) * Update Image to use COMPS base image docker file. We need to later actually move to a true derived image * Fix build version for ssmt images * Add minor version of image as well * filter patch versions * Add version to image * Pass version to image so it will be on the environment when running * Fix import error on COMPS SSMT image * add missing init file * fix import issue for CompsCLI for ssmt * add matplotlib package for ssmt example analyzers * Add init * Fix analyze_ssmt.py and ssmt_analysis.py to allow to pass Platform * fix ssmt examples, TODO, still need to fix all integration tests Co-authored-by: Sharon Chen <38014764+shchen-idmod@users.noreply.github.com>
- Loading branch information
1 parent
94259ed
commit eff6bef
Showing
26 changed files
with
592 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
[COMMON] | ||
# Number of threads idm-tools will use for analysis and other multi-threaded 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 | ||
|
||
# Maxium number of workers processing in parallel | ||
max_workers = 16 | ||
|
||
# Maxium batch size to retrieve simulations | ||
batch_size = 10 | ||
|
||
|
||
[COMPS] | ||
type = COMPS | ||
endpoint = https://comps2.idmod.org | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
max_workers = 16 | ||
batch_size = 10 | ||
work_item_type = DockerWorker | ||
docker_image = ubuntu18.04_python3.6_dtk-tools1.0b6 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[COMPS2] | ||
type = COMPS | ||
endpoint = https://comps2.idmod.org | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
max_workers = 16 | ||
batch_size = 10 | ||
work_item_type = DockerWorker | ||
docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[SSMT] | ||
type = SSMT | ||
endpoint = https://comps2.idmod.org | ||
#endpoint = http://idmtvapp17 | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
work_item_type = DockerWorker | ||
docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0 | ||
#docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0.7 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[Local] | ||
type = Local | ||
|
||
# Path to the model executable | ||
exe_path = \\internal.idm.ctr\IDM-Test\home\mafisher\bin\Eradication.exe | ||
|
||
[Test] | ||
type = Test | ||
|
||
|
||
[Slurm] | ||
type = Slurm | ||
job_directory = /data | ||
mode = ssh | ||
remote_host = 192.168.208.6 | ||
remote_user = test | ||
key_file = /home/clinton/development/work/idmtools/idmtools_platform_slurm/dockerized_slurm/id_rsa | ||
|
||
|
||
[BADTYPE] | ||
type = Bad | ||
|
||
|
||
[NOTYPE] | ||
|
||
|
||
[Logging] | ||
level = DEBUG | ||
console = on | ||
|
||
|
||
# This is a test we used to validate loading local from section block | ||
[Custom_Local] | ||
type = Local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
[COMMON] | ||
# Number of threads idm-tools will use for analysis and other multi-threaded 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 | ||
|
||
# Maxium number of workers processing in parallel | ||
max_workers = 16 | ||
|
||
# Maxium batch size to retrieve simulations | ||
batch_size = 10 | ||
|
||
|
||
[COMPS] | ||
type = COMPS | ||
endpoint = https://comps2.idmod.org | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
max_workers = 16 | ||
batch_size = 10 | ||
work_item_type = DockerWorker | ||
docker_image = ubuntu18.04_python3.6_dtk-tools1.0b6 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[COMPS2] | ||
type = COMPS | ||
endpoint = https://comps2.idmod.org | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
max_workers = 16 | ||
batch_size = 10 | ||
work_item_type = DockerWorker | ||
docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[SSMT] | ||
type = SSMT | ||
endpoint = https://comps2.idmod.org | ||
#endpoint = http://idmtvapp17 | ||
environment = Bayesian | ||
priority = Lowest | ||
simulation_root = $COMPS_PATH(USER)\output | ||
node_group = emod_abcd | ||
num_retires = 0 | ||
num_cores = 1 | ||
exclusive = False | ||
work_item_type = DockerWorker | ||
docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0 | ||
#docker_image = idm-docker-staging.packages.idmod.org/idmtools_comps_ssmt_worker:0.3.0.7 | ||
plugin_key = 1.0.0.0_RELEASE | ||
|
||
|
||
[Local] | ||
type = Local | ||
|
||
# Path to the model executable | ||
exe_path = \\internal.idm.ctr\IDM-Test\home\mafisher\bin\Eradication.exe | ||
|
||
[Test] | ||
type = Test | ||
|
||
|
||
[Slurm] | ||
type = Slurm | ||
job_directory = /data | ||
mode = ssh | ||
remote_host = 192.168.208.6 | ||
remote_user = test | ||
key_file = /home/clinton/development/work/idmtools/idmtools_platform_slurm/dockerized_slurm/id_rsa | ||
|
||
|
||
[BADTYPE] | ||
type = Bad | ||
|
||
|
||
[NOTYPE] | ||
|
||
|
||
[Logging] | ||
level = DEBUG | ||
console = on | ||
|
||
|
||
# This is a test we used to validate loading local from section block | ||
[Custom_Local] | ||
type = Local |
Oops, something went wrong.