Translations:Running jobs/59/en

From Alliance Doc
Jump to navigation Jump to search

You can also specify directives as command-line arguments to sbatch. So for example,

$ sbatch --time=00:30:00 simple_job.sh 

will submit the above job script with a time limit of 30 minutes. The acceptable time formats include "minutes", "minutes:seconds", "hours:minutes:seconds", "days-hours", "days-hours:minutes" and "days-hours:minutes:seconds". Please note that the time limit will strongly affect how quickly the job is started, since longer jobs are eligible to run on fewer nodes.