Updating...
Skip to main content
Filter your search by category. Current category:
All
All
Knowledge Base
Service Catalog
Search the client portal
Search
Sign In
Show Applications Menu
ITC Services Portal
Sign In
Search
Home
Faculty
Students
Feedback
Services
Knowledge Base
More Applications
Skip to Knowledge Base content
Search
Articles
Blank
Knowledge Base
Research Computing
Discovery Cluster
Torque commands & Slurm equivalent
Job directives
Job directives
Option
MOAB Torque command (mksub)
Slurm command (sbatch)
Job Name
-N <name>
--job-name=<name>
Account
-a <account>
--account=<account>
Queue
-q <queue>
--partition=<name>
Node Count
nodes=<number of nodes>
--nodes=<count>
Process count per node
ppn=<number of cores>
--ntasks-per-node=<count>
Core Count (per process)
--cpus-per-task=<cores>
Wall time limit
walltime=<hh:mm:ss>
--time=<hh:mm:ss>
GPU request
-gpus=<count>
--gres=gpu:<count>
Memory limit
--mem=<limit> (in MB)
Standard output file
-o=<file path>
--output=<file path>
Standard error file
-e=<file path>
--error=<file path>
Combine stdout/stderr to stdout
-j oe
--output=<combined out and err file path>
Job array
-t <number of array indices>
--array=<array indices>
Copy environment
--export=ALL (default --export=NONE, no export)
Job dependency
--dependency=after:jobID[:jobID...]
--dependency=afterok:jobID[:jobID...]
--dependency=afternotok:jobID[:jobID...]
--dependency=afterany:jobID[:jobID...]
Job status notification
-m bea
--mail-type=BEGIN,END,FAIL
Email address
-M <email address>
--mail-user=<email address>
Append to job file
--open-mode=append.
Specify a compute node
hostlist=<name of compute node>
--nodelist=<name of compute node>
Email before job termination
qnotify;
#SBATCH --signal=B:USR1@70;
Sign in to leave feedback
0 reviews
Blank
Blank
Blank
Blank
Print Article
Deleting...
×
Share
Recipient(s)
- separate email addresses with a comma
Message
Press Alt + 0 within the editor to access accessibility instructions, or press Alt + F10 to access the menu.
Check out this article I found in the ITC Services Portal knowledge base.<br /><br /><a href="https://services.dartmouth.edu/TDClient/1806/Portal/KB/ArticleDet?ID=132871">https://services.dartmouth.edu/TDClient/1806/Portal/KB/ArticleDet?ID=132871</a><br /><br />Job directives<br /><br />Slurm equivalent job specification ex. --node=m01