User Tools

Site Tools


tutorial:torque

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:torque [2017/02/09 15:23]
sertalpbilal
tutorial:torque [2017/04/04 22:38]
jild13 [Advanced]
Line 95: Line 95:
 </code> </code>
  
 +Moreover, you can use the following command:
 +<code>qstat -r : provides the list of the running jobs</code>
 +<code>qstat -i : provides the list of the jobs which are in queue</code>
 +<code>qstat -n : provides the polyps node(s) which are executing each job</code>
 ==== Queues ==== ==== Queues ====
  
Line 152: Line 156:
  
 <note tip>Use **-singleCompThread** [[https://www.mathworks.com/help/matlab/ref/maxnumcompthreads.html|option]] for Matlab to use a single thread. A similar option may be needed for the program/solver you're using.</note> <note tip>Use **-singleCompThread** [[https://www.mathworks.com/help/matlab/ref/maxnumcompthreads.html|option]] for Matlab to use a single thread. A similar option may be needed for the program/solver you're using.</note>
 +
 +==== Running Solvers (Gurobi/CPLEX/Mosek/AMPL/...) ====
 +
 +In order to run solvers, you need to use "-V" (it is Upper case) option. i.e.:
 +
 +<code>qsub -V submitFile.pbs </code>
 +
 +This flag enables the solver to find necessary authentication information.
  
 ==== Interactive Jobs ==== ==== Interactive Jobs ====
Line 294: Line 306:
  
  
 +==== Tensorflow with GPU ==== 
 +To use tensorflow with a specific GPU, say GPU 1, you can simply set 
 +<code bash> 
 +export CUDA_VISIBLE_DEVICES=1 
 +</code> 
 +and then schedule your jobs with Torque to perform experiments on GPU 1.
tutorial/torque.txt · Last modified: 2024/02/28 13:12 by mjm519