Trouble-shooting your Job¶
Error messages and solutions¶
Check if Slurm module is loaded!¶
Slurm is now available after login by default, without loading any additional modules.
How to load slurm module by hand
If you get the following error, it means that Slurm is not loaded (or not enabled by default):
[<netid>@login01 ~]$ squeue --me
squeue: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown host
squeue: error: fetch_config: DNS SRV lookup failed
squeue: error: _establish_config_source: failed to fetch config
squeue: fatal: Could not establish a configuration source
If this is the case, make sure that Slurm is loaded:
Now, it should work:
Slurm out-of-memory (OOM) error¶
You might encounter the following error while a job runs:
slurmstepd: error: Detected 2 oom-kill event(s) in StepId=1170.0. Some of your processes may have been killed by the cgroup out-of-memory handler.
This means the job used more memory than it requested. On DelftBlue every job must specify --cpus-per-task and --mem-per-cpu (Slurm rejects submissions without them — Job size specification needs to be provided), so an OOM kill means the --mem-per-cpu you set is too low. --mem-per-cpu is the memory allocated per CPU core (units allowed, e.g. 2G); the job's total is that value times the number of cores it is given.
Raise it to your job's expected peak memory per core, with some head room:
There is a per-partition ceiling, roughly the node's RAM divided by its core count — see High memory job.
Job management and statistics¶
When will my job start?¶
You can use the --start flag of the squeue command to see the current estimated start time for your pending jobs:
[<netid>@login02 ~]$ squeue --me --start
JOBID PARTITION NAME USER ST START_TIME NODES SCHEDNODES NODELIST(REASON)
3162383 compute-p pending_1 <netid> PD 2023-04-01T07:03:01 1 (null) (Priority)
3162383 compute-p pending_2 <netid> PD 2023-04-01T07:03:01 1 (null) (Priority)
This time can always change if resources become available earlier or when higher priority jobs are submitted to the queue. If START_TIME shows N/A, the scheduler has not yet planned your job (for example because many jobs with a higher priority are waiting); this is normal, and an estimate may appear later. For a rough estimate in the meantime, use sbatch --test-only <job script>, which prints an expected start time without submitting the job. To find out why your job is waiting and how its priority is determined, see Understanding Job Priority and Fairshare.
Which jobs did I run recently?¶
You can use the sacct command to show all job information starting from a specific date:
[NetID@login02 ~]$ sacct --starttime=2024-05-01 --user=$USER
JobID JobName Partition Account AllocCPUS State ExitCode
------------ ---------- ---------- ---------- ---------- ---------- --------
1853039 vnc-1147 visual innovation 2 FAILED 1:0
1853039.bat+ batch innovation 2 FAILED 1:0
1853040 vnc-1149 visual innovation 2 FAILED 1:0
1853040.bat+ batch innovation 2 FAILED 1:0
1853041 vnc-1150 visual innovation 2 FAILED 1:0
1853041.bat+ batch innovation 2 FAILED 1:0
1853042 vnc-1151 visual innovation 2 TIMEOUT 0:0
1853042.bat+ batch innovation 2 CANCELLED 0:15
1853751 all-OH compute research-+ 48 COMPLETED 0:0
1853751.bat+ batch research-+ 25 COMPLETED 0:0
1853751.0 aims.2107+ research-+ 48 COMPLETED 0:0
1853752 fewer-OH compute research-+ 48 COMPLETED 0:0
1853752.bat+ batch research-+ 12 COMPLETED 0:0
1853752.0 aims.2107+ research-+ 48 COMPLETED 0:0
1853754 no-OH compute research-+ 48 COMPLETED 0:0
1853754.bat+ batch research-+ 28 COMPLETED 0:0
1853754.0 aims.2107+ research-+ 48 COMPLETED 0:0
1856064 water compute research-+ 4 COMPLETED 0:0
1856064.bat+ batch research-+ 4 COMPLETED 0:0
1856064.0 aims.2107+ research-+ 4 COMPLETED 0:0
How do I check information on a specific job?¶
Use seff <jobid> to see how much CPU time and memory a finished job used compared to what it requested, and sacct --jobs=<jobid> for details per job step. Both are explained in Checking Job Efficiency with seff.
How do I get detailed scheduling information on a job?¶
You can use the scontrol command to show the full job details:
[NetID@login02 ~]$ scontrol show jobid 998419 --details
JobId=998419 JobName=seff-demo
SLUID=s8YHM5063Y5C00
UserId=<netid>(<uid>) GroupId=domain users(100513) MCS_label=N/A
Priority=850651520 Nice=0 Account=research-as-imphys QOS=normal
JobState=PENDING Reason=None Dependency=(null)
Requeue=1 Restarts=0 BatchFlag=1 Reboot=0 ExitCode=0:0
DerivedExitCode=0:0
RunTime=00:00:00 TimeLimit=00:15:00 TimeMin=N/A
SubmitTime=2026-10-15T18:25:24 EligibleTime=2026-10-15T18:25:24
AccrueTime=2026-10-15T18:25:24
StartTime=Unknown EndTime=Unknown Deadline=N/A
SuspendTime=None SecsPreSuspend=0 LastSchedEval=2026-10-15T18:25:24 Scheduler=Main
Partition=compute-p1 AllocNode:Sid=login02:2440023
ReqNodeList=(null) ExcNodeList=(null)
NodeList=
NumNodes=1-4 NumCPUs=4 NumTasks=4 CPUs/Task=1 ReqB:S:C:T=0:0:*:*
ReqTRES=cpu=4,mem=8G,node=1,billing=6
AllocTRES=(null)
Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*
MinCPUsNode=1 MinMemoryCPU=2G MinTmpDiskNode=0
Features=(null) DelayBoot=00:00:00
OverSubscribe=NO Exclusive=NO Contiguous=0 Licenses=(null) LicensesAlloc=(null) Network=(null)
Command=/home/<netid>/seff-test/seff-demo.sh
SubmitLine=sbatch seff-demo.sh
WorkDir=/home/<netid>/seff-test
StdErr=
StdIn=/dev/null
StdOut=/home/<netid>/seff-test/seff-demo.998419.out
TresPerTask=cpu=1