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/10/18 15:13] sertalpbilal Minor fixes |
tutorial:torque [2016/11/10 14:58] sertalpbilal |
||
---|---|---|---|
Line 2: | Line 2: | ||
TORQUE provides control over batch jobs and distributed computing resources. It is an advanced open-source product based on the original PBS project and incorporates the best of both community and professional development. It incorporates significant advances in the areas of scalability, | TORQUE provides control over batch jobs and distributed computing resources. It is an advanced open-source product based on the original PBS project and incorporates the best of both community and professional development. It incorporates significant advances in the areas of scalability, | ||
+ | |||
+ | |||
+ | |||
+ | ===== Prerequisite ===== | ||
+ | In order to extract your output and error results in Torque, you need to have password-less connection between nodes. If you have not set it once, execute the following commands. These commands create a public and private key so that when a node want to transfer a file to your home folder, it does not require the password. | ||
+ | After connecting to polyps enter: | ||
+ | |||
+ | <code bash> | ||
+ | ssh-keygen -N "" | ||
+ | </ | ||
+ | |||
+ | Then just press ENTER for any question. After that type the following commands: | ||
+ | |||
+ | <code bash> | ||
+ | touch ~/ | ||
+ | chmod 600 ~/ | ||
+ | cat ~/ | ||
+ | </ | ||
+ | Now, you will get the error log and output log files for your jobs. | ||
+ | |||
+ | |||
+ | |||
===== Hardware ===== | ===== Hardware ===== | ||
Line 11: | Line 33: | ||
===== Submitting Jobs ===== | ===== Submitting Jobs ===== | ||
- | |||
- | Check [[# | ||
Jobs can be submitted either using a submission file or directly from command line. First we explain how it is done and then we will discuss the options. | Jobs can be submitted either using a submission file or directly from command line. First we explain how it is done and then we will discuss the options. | ||
Line 79: | Line 99: | ||
Queue Memory CPU Time Walltime Node Run Que Lm State | Queue Memory CPU Time Walltime Node Run Que Lm State | ||
---------------- ------ -------- -------- ---- --- --- -- ----- | ---------------- ------ -------- -------- ---- --- --- -- ----- | ||
+ | gpu -- -- | ||
medium | medium | ||
short -- -- | short -- -- | ||
long | long | ||
batch -- -- | batch -- -- | ||
- | verylong | + | verylong |
- | | + | AMPL -- -- |
- | 0 | + | MOSEK |
</ | </ | ||
+ | |||
+ | If you want to use AMPL or MOSEK, you have to use queue: AMPL or MOSEK, because we have limited licenses for them. | ||
+ | |||
+ | |||
You can see limits using this command '' | You can see limits using this command '' | ||
Line 250: | Line 276: | ||
</ | </ | ||
to cancel all of your running jobs. | to cancel all of your running jobs. | ||
- | |||
- | ===== Prerequisite ===== | ||
- | In order to extract your output and error results in Torque, you need to have password-less connection between nodes. If you have not set it once, execute the following commands. These commands create a public and private key so that when a node want to transfer a file to your home folder, it does not require the password. | ||
- | After connecting to polyps enter: | ||
<code bash> | <code bash> | ||
- | ssh-keygen -N "" | + | qselect |
</ | </ | ||
- | + | will cancel all jobs (both running jobs and queue). | |
- | Then just press ENTER for any question. After that type the following commands: | + | |
- | + | ||
- | <code bash> | + | |
- | touch ~/ | + | |
- | chmod 600 ~/ | + | |
- | cat ~/ | + | |
- | </ | + | |
- | Now, you will get the error log and output log files for your jobs. | + | |