idmtools_platform_slurm.slurm_operations.bridged_operations module

Here we implement the SlurmPlatform bridged operations.

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

idmtools_platform_slurm.slurm_operations.bridged_operations.create_bridged_job(working_directory, bridged_jobs_directory, results_directory, cleanup_results: bool = True)

Creates a bridged job.

Parameters:
  • working_directory – Work Directory

  • bridged_jobs_directory – Jobs Directory

  • results_directory – Results directory

  • cleanup_results – Should we clean up results file

Returns:

Result from job run

class idmtools_platform_slurm.slurm_operations.bridged_operations.BridgedLocalSlurmOperations(platform: 'SlurmPlatform', platform_type: Type = None)

Bases: LocalSlurmOperations

submit_job(item: Union[Experiment, Simulation], **kwargs) Any

Submit a Slurm job. :param item: idmtools Experiment or Simulation :param kwargs: keyword arguments used to expand functionality

Returns:

Any

__init__(platform: SlurmPlatform, platform_type: Type = None) None
platform: SlurmPlatform