DOS GPU Usage

From Tuflow
Jump to navigation Jump to search

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

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.
  2. Uncheck Quick Edit Mode. This will turn it off for the current session.
  3. Update the default DOS window properties so this becomes the default mode. Right click the DOS window header. Select Defaults.
  4. Uncheck Quick Edit Mode. This will turn it off for all future sessions.