swait(1) Slurm Commands swait(1) (NAME) swait - --async (SYNOPSIS) swait [OPTIONS] [jobid[_task] | s] (DESCRIPTION) swait --async . swait (batch script) --async . swait stepmgr slurmctld (poll) . stepmgr ( (REQUIREMENTS) ). ( 1000_3) SLUID ( s4SNKN57XZTE00) . het-job (jobid+offset) . jobid_task . swait SLURM_JOB_SLUID SLURM_JOB_ID . swait . (OPTIONS) -h, --help . -Q, --quiet stderr. . --verbose . --timeout=SECS SECS . SECS . --timeout --timeout=0 swait . --usage . -v, --verbose . --quiet . -V, --version . (REQUIREMENTS) stepmgr SlurmctldParameters=enable_stepmgr slurm.conf(5) --stepmgr salloc(1)/sbatch(1). scontrol show job StepMgrEnabled=Yes . (ENVIRONMENT VARIABLES) swait . . (: .) SLURM_JOB_SLUID . SLURM_JOB_ID . SLURM_JOB_ID SLURM_JOB_SLUID . SLURM_CONF Slurm. (EXIT STATUS) 0 (--async) . 1 --timeout . 2 swait . (EXAMPLES) async (batch script) . stepmgr --stepmgr . #!/bin/bash #SBATCH -n 16 #SBATCH --stepmgr srun --async -n 8 ./solve_a srun --async -n 8 ./solve_b swait swait --async srun (builtin) wait swait . : swait wait stepmgr : #!/bin/bash #SBATCH -n 16 #SBATCH --stepmgr srun -n 8 ./solve_a & srun --async -n 8 ./solve_b swait wait (COPYING) (c) 2026 NVIDIA CORPORATION & AFFILIATES. . Slurm . . (Slurm) (GNU General Public License) ( ) . . . (SEE ALSO) sacct(1), salloc(1), sbatch(1), scancel(1), scontrol(1), squeue(1), srun(1), slurm.conf(5) Slurm 26.05 Slurm Commands swait(1)