[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

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
gpu [2017/03/16 17:00]
kocmanek [How to use cluster]
gpu [2017/03/16 17:09]
kocmanek [How to use cluster]
Line 45: Line 45:
 ===== How to use cluster ===== ===== How to use cluster =====
  
-In this section will be explained how to use cluster properly. Rule number one, always use the GPU queue (never log in machine by ssh). +In this section will be explained how to use cluster properly. 
 ==== TensorFlow Environment ==== ==== TensorFlow Environment ====
  
Line 66: Line 65:
  
 ==== Using cluster ==== ==== Using cluster ====
 +
 +Rule number one, always use the GPU queue (never log in machine by ssh). Always use qsub or qsubmit with proper arguments.
 +
 +For testing and using the cluster interactively you can use qrsh (this should not be used for long running experiments since the console is not closed on the end of the experiment). Following command will assign you a GPU and creates interactive console.
 +
 +  qrsh -q gpu.q -l gpu=1 -pty yes bash
 +  
 +For running experiments you must use qsub command:
 +
 +  qsub -q gpu.q -l gpu=1,gpu_cc_min3.5=1,gpu_ram=2G WHAT_SHOULD_BE_RUN
 +  
 +Cleaner way to use cluster is with /home/bojar/tools/shell/qsubmit
 +
 +  qsubmit --gpumem=2G --queue="gpu.q" WHAT_SHOULD_BE_RUN
 +  
 +==== Basic commands ====
 ===== Performance tests ===== ===== Performance tests =====
  

[ Back to the navigation ] [ Back to the content ]