QA00000062253_Solving SIMULIA CST GPU Compatibility Issues on Windows

QA00000062253_Solving SIMULIA CST GPU Compatibility Issues on Windows

Question:
How do I solve compatibility issues in CST between Tesla P100 GPUs and Quadro GPUs on Windows?

Answer:
If a computer is equipped with both Tesla P100 GPUs and Quadro GPUs, compatibility issues may occur on the Windows operating system.

If the CST GPU diagnosis tool <CST-INSTALLPATH>/AMD64/HWAccDiagnostics_AMD64.exe crashes on a computer equipped with the aforementioned combination of GPU hardware, this is most likely caused by this compatibility problem. The following workaround is known to solve this problem:

  1. Find out how many Tesla and Quadro GPUs the computer has by running the command nvidia-smi -L from a terminal (cmd). The nvidia-smi tool is typically found in the C:\Program Files\Nvidia Corporation\NVSMI directory.
  2. Set the environment variable CUDA_VISIBLE_DEVICES as a global system environment variable such that it contains a comma separated list of the CUDA device IDs of the Tesla P100 cards. Unfortunately, the GPU IDs reported by the nvidia-smi tool are not identical to the CUDA device IDs. However, on computers which have a single Quadro GPU and one or more Tesla P100 GPUs the CUDA device IDs are typically assigned such that the Quadro GPU has ID "1"; i.e., on a computer with four Tesla P100 GPUs and a single Quadro GPU the correct value for the CUDA_VISIBLE_DEVICES environment variable is typically "0,2,3,4" (excludes the Quadro card).
  3. Restart CST STUDIO SUITE after the environment variable has been set.