slurm_script_generator.slurm_template

Contents

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

main([argv])

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

slurm_script_generator.slurm_template.main(argv: List[str] | None = None) None[source]#

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