Skip to content
Projects

slurm_script_generator.slurm_template

Generate a SLURM batch script from a built-in template.

slurm-template <template> -o job.sh writes a ready-to-edit script for a common job shape (single CPU task, OpenMP, MPI, hybrid MPI+OpenMP, GPU, or a job array) instead of building one pragma-by-pragma with generate-slurm-script. Run slurm-template --list to see what’s available.

Functions

NameDescription
mainEntry point for the slurm-template command-line tool.

mainfunction#

def main(argv: Optional[List[str]] = None) -> None

Entry point for the slurm-template command-line tool.