idmtools_slurm_utils.scancel module#

Handles interaction with scancel command.

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

idmtools_slurm_utils.scancel.command_scancel(info: Dict) Dict[source]#

Interacts with the scancel command.

Parameters:

info – Info on what to cancel

Returns:

Result from cancel

idmtools_slurm_utils.scancel.run_cancel(job_ids: str | List[str]) Tuple[source]#

Kick out slurm scancel command.

Parameters:

job_ids – slurm job id list