Running jobs: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 42: Line 42:
You can also specify directives as command-line arguments to <code>sbatch</code>. So for example,
You can also specify directives as command-line arguments to <code>sbatch</code>. So for example,
  $ sbatch --time=00:30:00 simple_job.sh  
  $ 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".
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 timelimit will strongly affect how quickly the job is started, since longer jobs are [[Job_scheduling_policies|eligible to run on fewer nodes]].


<!--T:114-->
<!--T:114-->
cc_staff
176

edits

Navigation menu