When the job utilizes more time than the requested time in the submitted job file, time limit error occurs.
Let’s consider this submit job file, where I have requested one minute of time for the job, but a sleep time of 5minutes after the job ends.
Submit Job Script
#!/bin/bash
# The job name
#SBATCH --time=1:00
#SBATCH --ntasks=1
#SBATCH --mem=1G
#SBATCH --partition=Orion
sleep 300
Job Output file
$ more /users/slurm-jobs/examples/date/slurm-1019828.out
slurmstepd: error: *** JOB 1019828 ON str-c139 CANCELLED AT 2021-08-02T09:26:38 DUE TO TIME LIMIT ***
|