idmtools_platform_slurm.platform_operations.utils module

This is SlurmPlatform operations utils.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools_platform_slurm.platform_operations.utils.SlurmItem(metas: Dict)

Bases: object

Represent Slurm Object

__init__(metas: Dict)
get_platform_object()
class idmtools_platform_slurm.platform_operations.utils.SlurmSuite(metas: Dict)

Bases: SlurmItem

Represent Slurm Suite

__init__(metas: Dict)
class idmtools_platform_slurm.platform_operations.utils.SlurmExperiment(metas: Dict)

Bases: SlurmItem

Represent Slurm Experiment

__init__(metas: Dict)
class idmtools_platform_slurm.platform_operations.utils.SlurmSimulation(metas: Dict)

Bases: SlurmItem

Represent Slurm Simulation

__init__(metas: Dict)
idmtools_platform_slurm.platform_operations.utils.clean_experiment_name(experiment_name: str) str

Handle some special characters in experiment names. :param experiment_name: name of the experiment

Returns:the experiment name allowed for use

idmtools_platform_slurm.platform_operations.utils.add_dummy_suite(experiment: Experiment, suite_name: Optional[str] = None, tags: Optional[Dict] = None) Suite

Create Suite parent for given experiment :param experiment: idmtools Experiment :param suite_name: new Suite name :param tags: new Suite tags

Returns:

Suite