The correct way to specify jobpacks in a jobscript it to use "#SBATCH packjob" in-between #SBATCH directives of different job packs. But when I tried something wrong, like: "#SBATCH -N X <options> : -N Y <options>" then jobs silently didn't do anything (no stdout/err) and they went to COMPLETED state, instead of FAILED state! And the nodes where the jobs run went offline/drained without any notice (nostdout/err files of messages in stdout/err). This is not a good handling of such cases.
Fix has been applied to Slurm 17.11 branch in commit ca2db47e569a680dc8593822e4f1f8f344c92a1b. Now, an incorrect syntax in sbatch script causes a fatal error. ~]$ sbatch b4368bad.sh sbatch: fatal: b4368bad.sh: line 3: Unexpected `:` in [ : -n 1 -t 01:00:00] Thanks for reporting that, Felip M