User Tools

Site Tools


batch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
batch [2016/09/19 15:29]
pwolinsk
batch [2016/09/19 15:35]
pwolinsk
Line 49: Line 49:
 </​code> ​ </​code> ​
  
-The command above submitted the same job to the ''​**q06h32c**''​ queue with a walltime of **1 minute** requesting all **32 cores** on **1 node**.+The command above submitted the same job to the ''​**q06h32c**''​ queue with a walltime of **1 minute** requesting all **32 cores** on **1 node**. ​ ​Alternatively instead of passing these flags to the ''​**qusb**''​ command any line in the pbs script which starts with ''#​PBS''​ will be passed in as a parameter to qsub.  Submitting the modified hostname.pbs script below with ''​**qsub**''​ without any flags on the command line will have the identical result 
 + 
 +<​code>​ 
 +tres-l1:​pwolinsk:​$ cat hostname.pbs 
 +#PBS -q q06h32c 
 +#PBS -l walltime=1:​00 
 +#PBS -l nodes=1:​ppn=32 
 + 
 +hostname 
 +tres-l1:​pwolinsk:​$ qsub hostname.pbs 
 +283323.torque 
 +tres-l1:​pwolinsk:​$  
 +</​code>​
batch.txt · Last modified: 2016/09/19 15:35 by pwolinsk