Is my GPU solver working? Why is my calculation running on CPU instead of GPU?

When the GPU solving is activated in the Application Settings - Generative Design Solver and beforehand installed the CUDA solver will automatically start in the background. Requirement for this is the installation of the CUDA driver and the corresponding GPU license.

The performance of the GPU can be checked with the Windows Task-Manager. Therefore, the Cuda window has to be selected:

If the GPU solving (MSC Apex GD Solver Engine 2022.1) is installed can be checked under services with the Windows Task-Manager.

For Linux the Nvidia command “nvidia-smi -l” can be used to see the utilization of the GPU.

If you get the message that the GPU solver engine stopped or could not be started, this indicates an outdated graphics card driver. An update should solve the problem.

The optimization falls back to CPU calculation because of several different reasons:

  • There isn’t a GPU license available

    • For GPU calculation a separate license is required and needs to be purchased.

    • All GPU licenses are in use for other optimizations

  • The GPU Service is not installed.

    • Have a look at your computers Services and check for “MSC Apex GD GPU Solver Engine … (port …)”

    • If you cannot find it - please install the Service manually:

      1. Open a command window

      2. Navigate to C:\Program Files\MSC.Software\MSC Apex Generative Design\…\leaf\Services\AEM\WIN8664\bin

      3. Execute install_mgd_gpu_solver.cmd -p (42001) -i (Computers IP-Address)

        1. For port the default in MSC Apex Generative Design is: -p (42001)

        2. You can find out your IP- Address in windows by opening a command window and using the command ipconfig -all.

      4. Check in the computers Services again and see if the Service is installed and running

  • The GPU Service is not active (no active network interface).

    • Have a look at your computers Services and check if “MSC Apex GD GPU Solver Engine … (port …)” is running.

    • If it is not running, start it.

  • There isn’t enough GPU memory available, the model is too big.

    • Adjust the model or the Complexity of the model and start again.