Problem: How do Moab and SLURM job ID mechanism work?
Syncing job ID's
SCHEDCFG[Moab] MAXJOBID=499999 MINJOBID=1000
RMCFG[slurm] SYNCJOBID=TRUE EPORT=10777
In the above example we set the SLURM jobid and Moab job ID based off Moab. The only exception is if you directly submit to SLURM via sbatch or salloc.
Note: Without "SYNCJOBID=TRUE" we use the SLURM jobID. With "SYNCJOBID=TRUE" Moab will use its jobid for batch jobs and SLURMS for interactive.
Without SYNCJOBID=TRUE there is a problem. If your site does interactive jobs then its possible to have an interactive job get the next SLURM job ID at the same time Moab assigns a jobID. This causes a JOBID collision. It's recommended to split Moab and SLURM job IDs and use Moabs for msub and slurm IDs for sallaoc.
Affected Versions: ALLTags: jobid, slurm, syncjobid