Hello list,

is there a build-in way to queue LoadLeveler-like job steps in SLURM?
Something like this:

    #!/bin/bash
    #SBATCH --num-tasks=1
    echo "prepping data, simple stuff"
    #SBATCH --- END STEP
    
    #SBATCH --num-tasks=4
    echo "main run, needs lots of resources"
    srun main_program
    #SBATCH --- END STEP
    
    #SBATCH --num-tasks=1
    echo "cleaning up data, simple stuff"

which would then submit three more-or-less "separate" jobs with
dependencies on each other?

Thanks in advance,
Patrice

Reply via email to