[slurm-users] sbatch doesn't output the jobid

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Mar 31 10:46:31 UTC 2022


On 3/31/22 11:25, GHui wrote:
> Sometimes when I run sbatch to submit a job, it doesn't output anything.
> But when I run squeue, the job is running.
> Because of this, If I submit many times, I missed the jobs which I submitted.

Which Slurm version do you run?  Use "sinfo --version" to find out.

You should always use squeue to list your jobs, for example:  squeue -u ugiwgh

Does sbatch sometimes print jobid, and sometimes not?

Have you set some non-default environment variables (SBATCH or SLURM)?

/Ole



More information about the slurm-users mailing list