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/03/15 17:58]
afo214
tutorial:torque [2017/04/04 22:38]
jild13 [Advanced]
Line 156: 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 298: 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