idmtools_platform_slurm.assets package¶
- idmtools_platform_slurm.assets.generate_script(platform: SlurmPlatform, experiment: Experiment, max_running_jobs: Optional[int] = None, template: Union[Path, str] = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/envs/v1.7.1/lib/python3.7/site-packages/idmtools_platform_slurm/assets/sbatch.sh.jinja2'), **kwargs) None ¶
Generate batch file sbatch.sh :param platform: Slurm Platform :param experiment: idmtools Experiment :param max_running_jobs: int :param template: template to be used to build batch file :param kwargs: keyword arguments used to expand functionality
- Returns:
None
- idmtools_platform_slurm.assets.generate_simulation_script(platform: SlurmPlatform, simulation, retries: Optional[int] = None) None ¶
Generate batch file _run.sh :param platform: Slurm Platform :param simulation: idmtools Simulation :param retries: int
- Returns:
None