Difference between revisions of "GPU Setup"

From Tuflow
Jump to navigation Jump to search
Line 4: Line 4:
 
TUFLOW GPU requires an NVIDIA CUDA enabled GPU. To check if your computer has an NVIDA GPU and if it is CUDA enabled:  
 
TUFLOW GPU requires an NVIDIA CUDA enabled GPU. To check if your computer has an NVIDA GPU and if it is CUDA enabled:  
 
<ol>
 
<ol>
<li> Right click on the Windows desktop.<br>
+
<li> Right click on the Windows desktop.<br>
[[File: GPU_Setup_001.png|400px]]<br>
+
[[File: GPU_Setup_001.png|300px]]<br>
<li> Change the directory location to the folder where nvidia-smi is located. Type '''<tt>cd C:\Program Files\NVIDIA Corporation\NVSMI</tt>''' into the DOS window and press enter.<br>  
+
<li> If you see “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue, the computer has an NVIDIA GPU.
[[File: Nvidia-smi 002.png|700px]]<br>
+
<li> Click on “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue.
 +
<li> The GPU model should be displayed in the graphics card information.<br>
 +
[[File: GPU_Setup_002.png|600px]]<br>
 
<li> Type '''<tt>nvidia-smi -l 10</tt>''' in the DOS window and press enter. This will instruct nvidia-smi to refresh every 10 seconds.<br>
 
<li> Type '''<tt>nvidia-smi -l 10</tt>''' in the DOS window and press enter. This will instruct nvidia-smi to refresh every 10 seconds.<br>
 
[[File: Nvidia-smi 003.png|700px]]<br>
 
[[File: Nvidia-smi 003.png|700px]]<br>

Revision as of 15:19, 14 November 2017

This page introduces how to check whether your NVIDIA GPU card is a CUDA enabled, and whether the latest NVIDIA drivers are installed.

CUDA Compatible Graphics

TUFLOW GPU requires an NVIDIA CUDA enabled GPU. To check if your computer has an NVIDA GPU and if it is CUDA enabled:

  1. Right click on the Windows desktop.
    GPU Setup 001.png
  2. If you see “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue, the computer has an NVIDIA GPU.
  3. Click on “NVIDIA Control Panel” or “NVIDIA Display” in the pop up dialogue.
  4. The GPU model should be displayed in the graphics card information.
    GPU Setup 002.png
  5. Type nvidia-smi -l 10 in the DOS window and press enter. This will instruct nvidia-smi to refresh every 10 seconds.
    Nvidia-smi 003.png
  6. Review the nvidia-smi usage summary.
    Nvidia-smi 004.png

What to do if GPU utilisation = 0% when running TUFLOW HPC (when using the GPU Module)

Windows 10 includes a Quick Edit mode option in the DOS window that can artificially pause TUFLOW simulations. The Quick edit mode is initiated if the curser clicks somewhere on the DOS window while a TUFLOW simulation is running. Quick Edit mode can be deactivated to avoid this issue.

  1. Right click the DOS window header. Select Properties.
    Nvidia-smi 005.png
  2. Uncheck Quick Edit Mode. This will turn it off for the current session.
    Nvidia-smi 006.png
  3. Update the default DOS window properties so this becomes the default mode. Right click the DOS window header. Select Defaults.
    Nvidia-smi 007.png
  4. Uncheck Quick Edit Mode, just like in the "Properties" dialog box . This will turn Quick Edit Mode off for all future sessions.