6 users online | 6 Guests and 0 Registered

Syncing Job IDs between Moab and SLURM


 
Problem: How do Moab and SLURM job ID mechanism work?
 
Solution

Syncing job ID's
 
With moab.cfg
==================
SCHEDCFG[Moab]   MAXJOBID=499999 MINJOBID=1000
RMCFG[slurm]    SYNCJOBID=TRUE EPORT=10777
RMCFG[internal]         JOBIDFORMAT=integer
 
slurm.conf
==================
FirstJobId=500000
MaxJobId=1000000
 ==================
 
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: ALL
Tags: jobid, slurm, syncjobid
Last update:
2015-06-23 18:30
Author:
Jason Booth
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags