Difference between revisions of "DOS GPU Usage"

From Tuflow
Jump to navigation Jump to search
Line 4: Line 4:
 
<ol>
 
<ol>
 
<li> Launch the DOS Command Prompt from the Run window (press Win+R on your keyboard to open it then, type '''<tt>cmd</tt>''').<br>
 
<li> Launch the DOS Command Prompt from the Run window (press Win+R on your keyboard to open it then, type '''<tt>cmd</tt>''').<br>
[[File: Nvidia-smi 001.png|400px]]
+
[[File: Nvidia-smi 001.png|400px]]<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> 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>  
[[File: Nvidia-smi 002.png|700px]]
+
[[File: Nvidia-smi 002.png|700px]]<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.
 
<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.
[[File: Nvidia-smi 003.png|700px]]
+
[[File: Nvidia-smi 003.png|700px]]<br>
 
<li> Review the nvidia-smi usage summary.
 
<li> Review the nvidia-smi usage summary.
[[File: Nvidia-smi 004.png|700px]]
+
[[File: Nvidia-smi 004.png|700px]]<br>
 
</ol>
 
</ol>
  
 
== What to do if GPU usage = 0% when running TUFLOW and the GPU Module ==
 
== What to do if GPU usage = 0% when running TUFLOW and the GPU Module ==

Revision as of 16:08, 10 October 2017

nvidia-smi (also NVSMI) provides monitoring and management capabilities for each of NVIDIA's Tesla, Quadro, GRID and GeForce GPU device from Fermi and higher architecture families. The following steps can be used to access nVidia-smi and monitor GPU usage for TUFLOW simulations:

Accessing nvidia-smi to review GPU Usage

  1. Launch the DOS Command Prompt from the Run window (press Win+R on your keyboard to open it then, type cmd).
    Nvidia-smi 001.png
  2. Change the directory location to the folder where nvidia-smi is located. Type cd C:\Program Files\NVIDIA Corporation\NVSMI into the DOS window and press enter.
    Nvidia-smi 002.png
  3. 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
  4. Review the nvidia-smi usage summary. Nvidia-smi 004.png

What to do if GPU usage = 0% when running TUFLOW and the GPU Module