Difference between revisions of "Submitting Jobs"
(Created page with "Jobs can be submitted using bsub command. For more information on bsub , go to [https://www.ibm.com/support/knowledgecenter/SSWRJV_10.1.0/lsf_command_ref/bsub.man_top.1.html b...") |
|||
Line 13: | Line 13: | ||
<<Waiting for dispatch ...>> | <<Waiting for dispatch ...>> | ||
<<Starting on ds-cmgpu-05>> | <<Starting on ds-cmgpu-05>> | ||
+ | |||
+ | '''2. bsub -gpu - scriptname''' | ||
+ | |||
+ | It will submit the script to gpu queue | ||
+ | |||
+ | for example | ||
+ | [bhatiag@ds-lg-01 ~]$ bsub -gpu - python.py | ||
+ | Job <5978> is submitted to queue <gpu>. |
Revision as of 15:42, 4 December 2020
Jobs can be submitted using bsub command. For more information on bsub , go to bsub You can also check Running jobs for more detail.
Some example:
1. bsub -Is -gpu - bash
This command will submit an interactive job to gpu queue and creates a pseudo-terminal with shell mode when the job starts. Also, it will provide you the jobid.
for example
[bhatiag@ds-lg-01 ~]$ bsub -Is -gpu - bash Job <5972> is submitted to queue <gpu>. <<Waiting for dispatch ...>> <<Starting on ds-cmgpu-05>>
2. bsub -gpu - scriptname
It will submit the script to gpu queue
for example
[bhatiag@ds-lg-01 ~]$ bsub -gpu - python.py Job <5978> is submitted to queue <gpu>.