Hprc banner tamu.png

Difference between revisions of "Ada:Batch Job Submission"

From TAMU HPRC
Jump to: navigation, search
(Job Submission: the bsub command)
(Job Submission)
Line 44: Line 44:
 
For more information on any of the commands above, please see their respective ''man'' pages.
 
For more information on any of the commands above, please see their respective ''man'' pages.
 
   [ NetID@ada ~]$ '''man bmod'''
 
   [ NetID@ada ~]$ '''man bmod'''
 +
 +
[[ Category:Ada ]]

Revision as of 11:10, 11 January 2017

Job Submission

Once you have your job file ready, it is time to submit your job. You can submit your job to LSF with the following command:

[ NetID@ada ~]$ bsub < MyJob.LSF
Verifying job submission parameters...
Verifying project account...
     Account to charge:   123456789123
         Balance (SUs):      4824.7811
         SUs to charge:         5.0000
Job <12345> is submitted to default queue <sn_regular>.

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.

Ada (LSF) Job Monitoring and Control Commands
Function Command Example
Submit a job bsub < [script_file] bsub < MyJob.LSF
Cancel/Kill a job bkill [Job_ID] bkill 101204
Check summary status of a single job bjobs [job_id] bjobs 101204
Check summary status of all
jobs for a user
bjobs -u [user_name] bjobs -u adaUser1
Check detailed status of a single job bjobs -l [job_id] bjobs -l 101204
Modify job submission options bmod [bsub_options] [job_id] bmod -W 2:00 101204

For more information on any of the commands above, please see their respective man pages.

 [ NetID@ada ~]$ man bmod