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 [2017/04/08 15:03] sertalpbilal [Running Solvers (Gurobi/CPLEX/Mosek/AMPL/...)] |
tutorial:torque [2021/04/14 15:22] mjm519 [Submitting a Small or Large Memory Job] |
||
---|---|---|---|
Line 61: | Line 61: | ||
</ | </ | ||
If you do not want to write the submission script you can do it just by calling | If you do not want to write the submission script you can do it just by calling | ||
- | < | + | < |
Now, we will run the code but we are setting the job parameters using '' | Now, we will run the code but we are setting the job parameters using '' | ||
Line 86: | Line 86: | ||
You can find detailed information [[http:// | You can find detailed information [[http:// | ||
+ | |||
+ | <note tip>You need to use option '' | ||
===== Monitoring and Removing jobs ===== | ===== Monitoring and Removing jobs ===== | ||
Line 132: | Line 134: | ||
==== Submitting a Small or Large Memory Job ==== | ==== Submitting a Small or Large Memory Job ==== | ||
- | You can use the option '' | + | You can use the option '' |
<code bash limited.sh> | <code bash limited.sh> | ||
- | qsub -l mem=4gb, | + | qsub -l pmem=4gb, |
</ | </ | ||
Sometimes your job needs more memory. You can choose a larger memory size with the same option: | Sometimes your job needs more memory. You can choose a larger memory size with the same option: | ||
- | <code bash large.pbs> | + | <code bash large.pbs> |
==== Running MATLAB ==== | ==== Running MATLAB ==== | ||
Line 181: | Line 183: | ||
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 | ||
+ | |||
+ | If you are using TensorFlow in Python, you can set the limit on amount of GPU memory using: | ||
+ | < | ||
+ | config_tf.gpu_options.per_process_gpu_memory_fraction = p</ | ||
+ | in which **//p//** is the percent of GPU memory (a number between zero and one). | ||
==== Running MPI and Parallel Jobs ==== | ==== Running MPI and Parallel Jobs ==== |