Q: 14
A Slurm user needs to submit a batch job script for execution tomorrow.
Which command should be used to complete this task?
Options
Discussion
Option A
Option A. since D (srun) is more for interactive and traps you if you miss script requirements.
D for me, srun allows the -begin flag too so it should work as well. Might be mixing up interactive and batch job details though. Correct me if sbatch is the only valid pick here.
D , srun can take the -begin option too so could work here.
sbatch is specifically for batch scripts so A fits best here. srun is more for interactive runs. Pretty sure that's what the question's after, but open to correction if anyone's seen a slurm update change this!
Why does NVIDIA keep tossing in fake commands like "submit" on these? Anyway, for scheduling a batch script to run tomorrow with Slurm, it's the sbatch -begin=tomorrow syntax. Only A matches the actual workflow you'd use. Correct me if I'm missing something but that's what I've always seen in exam reports.
A for sure. Saw a nearly identical question on a practice test, and sbatch -begin=tomorrow is the way to schedule a batch job to start the next day in Slurm. B/C/D are for different purposes. Agree?
Probably A. Had something like this in a mock, and sbatch with -begin lets you delay batch jobs. The other options aren't for batch script submission. Let me know if you think otherwise.
A is right, not D. Official guide and scheduler docs both point to sbatch for batch job scripts specifically.
Its A since sbatch is specifically for batch job scripts and supports the -begin option. srun and salloc are mainly for interactive uses, so pretty confident A best fits the requirement here. Disagree if you see it differently.
Be respectful. No spam.