This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:torque [2016/11/10 14:58] sertalpbilal |
tutorial:torque [2017/01/13 10:11] sertalpbilal Changed Example Hierarchy |
||
---|---|---|---|
Line 91: | Line 91: | ||
To show the jobs use '' | To show the jobs use '' | ||
< | < | ||
- | To show jobs of some user use '' | + | To show jobs of some user use '' |
+ | <code shell> | ||
+ | qdel JOB_ID | ||
+ | </ | ||
==== Queues ==== | ==== Queues ==== | ||
- | We have few queues '' | + | We have few queues '' |
< | < | ||
Queue Memory CPU Time Walltime Node Run Que Lm State | Queue Memory CPU Time Walltime Node Run Que Lm State | ||
Line 122: | Line 125: | ||
| very long | 240:00:00 | | | very long | 240:00:00 | | ||
- | ==== Examples ==== | + | ===== Examples |
- | === Submitting Large Memory Job === | + | ==== Submitting Large Memory Job ==== |
Sometimes your job needs more memory. This can be achieved by '' | Sometimes your job needs more memory. This can be achieved by '' | ||
< | < | ||
- | === Running MATLAB -- Example === | + | ==== Running MATLAB -- Example |
You just have to create a submission job which looks like this | You just have to create a submission job which looks like this | ||
Line 142: | Line 145: | ||
</ | </ | ||
- | === Interactive Jobs === | + | <note tip>Use **-singleCompThread** [[https:// |
+ | |||
+ | ==== Interactive Jobs ==== | ||
Line 152: | Line 157: | ||
and you will be running interactive session on polyp15. | and you will be running interactive session on polyp15. | ||
- | === Using GPU's === | + | ==== Using GPU' |
Line 160: | Line 165: | ||
However, first you have to have a permission to use GPU (given by Prof. Takac) -- this is just formality to allow to certain users to use video driver on polyp30 | However, first you have to have a permission to use GPU (given by Prof. Takac) -- this is just formality to allow to certain users to use video driver on polyp30 | ||
- | === Running MPI and Parallel Jobs === | + | ==== Running MPI and Parallel Jobs ==== |
<code bash mpi.pbs> | <code bash mpi.pbs> | ||
Line 222: | Line 227: | ||
c2 | c2 | ||
</ | </ | ||
- | |||
- | ===== Advanced ===== | ||
- | |||
- | |||
- | The qsub command will pass certain environment variables in the Variable_List attribute of the job. These variables will be available to the job. The value for the following variables will be taken from the environment of the qsub command: | ||
- | * **HOME** (the path to your home directory) | ||
- | * **LANG** (which language you are using) | ||
- | * **LOGNAME** (the name that you logged in with) | ||
- | * **PATH** (standard path to excecutables) | ||
- | * **MAIL** (location of the users mail file) | ||
- | * **SHELL** (command shell, i.e bash, | ||
- | * **TZ** (time zone) | ||
- | These values will be assigned to a new name which is the current name prefixed with the string " | ||
- | * **PBS_O_HOST** (the name of the host upon which the qsub command is running) | ||
- | * **PBS_SERVER** (the hostname of the pbs_server which qsub submits the job to) | ||
- | * **PBS_O_QUEUE** (the name of the original queue to which the job was submitted) | ||
- | * **PBS_O_WORKDIR** (the absolute path of the current working directory of the qsub command) | ||
- | * **PBS_ARRAYID** (each member of a job array is assigned a unique identifier) | ||
- | * **PBS_ENVIRONMENT** (set to PBS_BATCH to indicate the job is a batch job, or to PBS_INTERACTIVE to indicate the job is a PBS interactive job) | ||
- | * **PBS_JOBID** (the job identifier assigned to the job by the batch system) | ||
- | * **PBS_JOBNAME** (the job name supplied by the user) | ||
- | * **PBS_NODEFILE** (the name of the file contain the list of nodes assigned to the job) | ||
- | * **PBS_QUEUE** (the name of the queue from which the job was executed from) | ||
- | * **PBS_WALLTIME** (the walltime requested by the user or default walltime allotted by the scheduler) | ||
===== Mass Operations ===== | ===== Mass Operations ===== | ||
Line 281: | Line 262: | ||
</ | </ | ||
will cancel all jobs (both running jobs and queue). | will cancel all jobs (both running jobs and queue). | ||
+ | |||
+ | |||
+ | ===== Advanced ===== | ||
+ | |||
+ | |||
+ | The qsub command will pass certain environment variables in the Variable_List attribute of the job. These variables will be available to the job. The value for the following variables will be taken from the environment of the qsub command: | ||
+ | * **HOME** (the path to your home directory) | ||
+ | * **LANG** (which language you are using) | ||
+ | * **LOGNAME** (the name that you logged in with) | ||
+ | * **PATH** (standard path to excecutables) | ||
+ | * **MAIL** (location of the users mail file) | ||
+ | * **SHELL** (command shell, i.e bash, | ||
+ | * **TZ** (time zone) | ||
+ | These values will be assigned to a new name which is the current name prefixed with the string " | ||
+ | * **PBS_O_HOST** (the name of the host upon which the qsub command is running) | ||
+ | * **PBS_SERVER** (the hostname of the pbs_server which qsub submits the job to) | ||
+ | * **PBS_O_QUEUE** (the name of the original queue to which the job was submitted) | ||
+ | * **PBS_O_WORKDIR** (the absolute path of the current working directory of the qsub command) | ||
+ | * **PBS_ARRAYID** (each member of a job array is assigned a unique identifier) | ||
+ | * **PBS_ENVIRONMENT** (set to PBS_BATCH to indicate the job is a batch job, or to PBS_INTERACTIVE to indicate the job is a PBS interactive job) | ||
+ | * **PBS_JOBID** (the job identifier assigned to the job by the batch system) | ||
+ | * **PBS_JOBNAME** (the job name supplied by the user) | ||
+ | * **PBS_NODEFILE** (the name of the file contain the list of nodes assigned to the job) | ||
+ | * **PBS_QUEUE** (the name of the queue from which the job was executed from) | ||
+ | * **PBS_WALLTIME** (the walltime requested by the user or default walltime allotted by the scheduler) | ||
+ | |||
+ | |||