Hprc banner tamu.png

Difference between revisions of "Terra:Batch Job Submissions"

From TAMU HPRC
Jump to: navigation, search
(Created page with "== Job Submission == Once you have your job file ready, it is time to submit your job. After a job has been submitted, you may want to check on its progress or cancel it. Belo...")
 
(Job Submission)
Line 19: Line 19:
 
|squeue 101204
 
|squeue 101204
 
|-
 
|-
|Job status of all jobs of a user
+
|Check status of all <br> jobs for a user
 
|squeue -u [user_name]
 
|squeue -u [user_name]
 
|squeue -u terraUser1
 
|squeue -u terraUser1
 
|}
 
|}

Revision as of 13:00, 26 October 2016

Job Submission

Once you have your job file ready, it is time to submit your job. After a job has been submitted, you may want to check on its progress or cancel it. Below is a list of the most used job monitoring and control commands for jobs on Terra.

Function Command Example
Submit a job sbatch [script_file] sbatch FileName.job
Cancel/Kill a job scancel [job_id] scancel 101204
Check status of a single job squeue [job_id] squeue 101204
Check status of all
jobs for a user
squeue -u [user_name] squeue -u terraUser1