This guide shows how to run a podman-hpc container with the slurm4
module, submit a SLURM job from inside the container, and check the job from the host.
- Note: The module flag matches the YAML filename; use
--slurm4
forslurm4.yaml
. - Requirement: The job script and output paths must be identical inside and outside the container. Bind-mount host paths to the exact same in-container paths, for example
-v /path:/path
.
- The
slurm4
module is experimental and may be removed at any time. - Not all SLURM commands/features will work inside the container with this module.