[ 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 [2018/04/16 11:35]
kocmanek [Performance tests]
gpu [2018/04/24 10:01]
vodrazka [Set-up CUDA and CUDNN]
Line 64: Line 64:
 You also need to use ''qsub -q gpu.q@dll[256]'' because only those machines have drivers which support CUDA 9. You also need to use ''qsub -q gpu.q@dll[256]'' because only those machines have drivers which support CUDA 9.
  
-**Testing configuration (so far on twister2 only)**+**Testing configuration (so far on twister1 & 2, titan and titan-gpu only)**
  
-Multiple versions of ''cuda'' and ''cudnn'' can be accessed in ''/opt''+Multiple versions of ''cuda'' can be accessed in ''/opt''
-System default version for both libraries is configured in ''/etc/ld.so.conf.d/cuda.conf'' as:+System default version for cuda library is configured in ''/etc/ld.so.conf.d/cuda.conf'' as:
  
   /opt/cuda/lib64   /opt/cuda/lib64
   /opt/cuda/extras/CUPTI/lib64   /opt/cuda/extras/CUPTI/lib64
-  /opt/cudnn/lib64 
  
 Actual version used depends on the link in ''/opt''. For example: Actual version used depends on the link in ''/opt''. For example:
Line 78: Line 77:
   ...   ...
   lrwxrwxrwx 1 root root  8 dub  9 12:30 cuda -> cuda-9.0   lrwxrwxrwx 1 root root  8 dub  9 12:30 cuda -> cuda-9.0
-  lrwxrwxrwx 1 root root  9 dub  9 12:32 cudnn -> cudnn-7.1 
   ...   ...
      
-This means that the system is using ''cuda 9.0'' and ''cudnn 7.1''.+This means that the system is using ''cuda 9.0'' by default.
  
-If system default version does not work for you, you can set library path from your ''~/.bashrc''.+If system default version does not work for you, you can set library path from your ''~/.bashrc''Your LD_LIBRARY_PATH should contain:
  
 +  /opt/cuda-$CUDA_version/lib64
 +  
 +In order to link specific version of ''cudnn'' your LD_LIBRARY_PATH should contain:
  
 +  /opt/cuda-$CUDA_version/cudnn/$CUDNN_version/lib64
  
 +Please check if required CUDNN_version is available for given CUDA_version.
  
  

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