Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

HFSS Cannot Find nvml.dll When It Actually Exists

TAGGED: , ,

    • kedi
      Subscriber

      Hello folks,

      I recently bought a Nvidia Tesla K40 GPU accelerator to boost the simulation efficiency. However, HFSS keeps showing a warning message "For machine XXX we searched but could not find nvml.dll in : 1) C:/Program Files/NVIDIA Corporation/NVSMI or 2) C:/Windows/System32. GPU acceleration will not be used. The nvml.dll binary is required for GPU acceleration and therefore only CPU will be used."

      I checked those two directories, and the nvml.dll actually exists in both...

      Help me pls... I have no idea what is going wrong and how to fix it...

       

       

    • spankore
      Ansys Employee

      Hello Kedi, 

      Thank you for contacting Ansys for this issue. 

      Can you please check the below workaound for this :

      • Install the latest drivers from NVIDIA website and not through windows device manager update. (Visit Nvidia website) //https://www.nvidia.com/Download/index.aspx?lang=en-us
      • Make sure you restart the computer after updating drivers.
      • If this doesn’t work, and C:/Program Files/NVIDIA Corporation/NVSMI folder is missing,
      1. Create new directory: C:\Program Files\NVIDIA Corporation\NVSMI
      2. Copy nvml.dll from C:\Windows\System32 to C:\Program Files\NVIDIA
      Corporation\NVSMI

      Hope that resolves the issue. 

      Please let me know. 

      Thank you.

    • kedi
      Subscriber

       

      Hello Spankore,

      Thanks for the response. Unfortunately, the problem wasn’t solved ?. I still received the same warning message from Ansys ED after implementing the steps you mentioned. 

      The driver has been updated to the latest version, and the PC was restarted after the latest driver was installed. I can see that nvml.dll is under both C:\Windows\System32 and C:\Program Files\NVIDIA Corporation\NVSMI directories. Please see the attached pictures. 

      In fact, I can even find nvml.dll under Driver Detail in the Device Manager. Please see the attached picture below. 

       

    • spankore
      Ansys Employee

      Hello Kedi, 

      Thank you for you email. 

      We have gone through the screesnhot and looks like still the drivers showing the last updated date is back in 2021. 

      Looks like it is not updated yet on 2023. Can you go to Nvidia site or react out your IT team to upgrade on latest?

      Please downalod the drivers from Nvidia site for Tesla K40 GPU. 

      Thank you. 

      Sharad Pankore

    • kedi
      Subscriber

      Hello Sharad

      I have the latest Tesla K40c driver on my PC now and no longer receive the same warning. Please refer to the attached picture below. 

      Is there any way in Ansys to check whether I am taking advantage of the GPU accelerator? In the setting I can see that the GPU is enabled, but I was not sure if the GPU is actually helping during simulation. 

       

    • spankore
      Ansys Employee

      Hello Kedi, 

      Thank you for your email. Looks like it is working fine now after upgrading the drivers ob client machine. 

      Can you please check if you can acess the Ansys electronics Help document : you can check the GPU accelerator information.

      https://ansyshelp.ansys.com/Views/Secured/Electronics/v232/en/home.htm#../Subsystems/HFSS/Subsystems/HPC_Admin/Content/GPUs.htm?Highlight=GPU%20accelerator

      Thank you.

    • kedi
      Subscriber

      Hello Sharad,

      Based on the document, it seems like the GPU will only be used under certain criteria, and I assume my model isn't complex enough to trigger GPU acceleration. Anyway, thanks so much for your help!

      Best,

    • spankore
      Ansys Employee

      Hello Kedi, 

      Thank you for your email. 

      have a great day. 

      Sharad 

Viewing 7 reply threads
  • The topic ‘HFSS Cannot Find nvml.dll When It Actually Exists’ is closed to new replies.