-
-
April 26, 2020 at 4:43 am
Palbo
SubscriberI'm curious why only such specific graphics cards, like the NVIDIA Teslas, are supported for GPU acceleration in Ansys Mechanical computations. Secondly, I'm using a Quadro RTX 4000, which is tested as a display card for Ansys and of course does a lovely job of keeping the display snappy. I would love to be able to use it to assist in solving simulations as well, and I was wondering if there's still any way to do that (most of what I'm doing at the moment is in static structural, and I can provide more details about the system I'm running etc. if necessary; I just don't know what would be useful to know, as I'm rather new to Ansys). I don't mind if incorporating a GPU like mine wouldn't give a significant performance boost, but I would like to find out how it can be done if it's at all possible. When I check the box to enable NVIDIA GPU acceleration in the advanced solver settings, the solution returns an error once the mathematical model is built. The parts that seem relevant are the following:
No recommended GPU devices have been detected on machine
DESKTOP-5VIE40K. Only Tesla-series or Quadro
P5000/P6000/GP100/GV100/RTX6000/RTX8000 GPU devices are recommended at
this release. For optimal performance, install a recommended GPU
device in this machine. If you wish to use an alternative GPU device,
please review the recommendations in the section titled "Requirements
for the GPU Accelerator in Mechanical APDL" in the Installation Guide
for your platform.
As well as,
Number of GPUs requested : 1
GPU Acceleration: NVIDIA Library Requested but not Enabled
GPU Device with ID = 0 is: Quadro RTX 4000
GPU Driver Version: 10.10
CUDA Version: 10.0
Now, the first bit made it seem like I certainly can run computations with non-recommended GPUs by following a certain procedure, so I've gone to the guide it mentioned, and found the following:
To utilize a NVIDIA GPU device that is not on the recommended list of cards, set the following environment variable:
ANSGPU_OVERRIDE=1
This is followed by a little warning saying that doing this with new, powerful graphics cards that haven't been tested is just fine, but doing it with weaker cards may actually slow performance. Again, I don't mind this (so long as it's reversible
, so I want to try it out for fun. I do want to be sure that I set the environment variable correctly, as this is something I don't do often besides adding the odd thing or two to the system path. So, I just create a new system environment variable called ANSGPU_OVERRIDE and give it the value 1? Or is it something to be done in the "Additional Command Line Arguments section" of the mehcanical solving tab?
Finally, after the environment variable override, should I still expect to encounter a snag with the "NVIDIA Library Requested but not Enabled" error that came up in the solver output, or will that be taken care of by the overriding or HPC or something like that?
If you've bothered to read through all this uninformed musing, thank you very much; I'm grateful for any advice, and have a lovely day!
-
April 26, 2020 at 9:28 am
Aniket
Ansys EmployeeFirst of all, thanks for your "uninformed musing" I wish more people did this much!
Yes, just create a new system environment variable (user environment variable would do too, I guess) called ANSGPU_OVERRIDE and give it the value 1.
for "NVIDIA Library Requested but not Enabled" I think you will need the Cuda toolkit from NVIDIA.
https://developer.nvidia.com/cuda-downloads
And finally to answer why very few GPUs support acceleration, in theory only GPUs which have significant double-precision performance are useful to use for GPU acceleration.
-Aniket
How to access Ansys Online Help Document
How to show full resolution image
Guidelines on the Student Community
How to use Google to search within Ansys Student Community
-
May 3, 2020 at 7:57 pm
Palbo
SubscriberHi, Aniket!
Thanks for the information; I went and put in the environment variable, and straight away I could use the GPU acceleration setting without raising any errors. What took me a second to reply was that I also decided to do a little ad-hoc testing with a stopwatch and the taskmanager. When I had GPU acceleration off, there was no utilization during solving whatsoever, as expected: no VRAM usage, no CUDA usage, etc. The simulations ran at a normal speed, though I only have 16 GB of RAM at the moment, so when I did larger solutions, I got a lot of disk utilization (we're talking writing 300+ MB per second for about a third of the total time, and reading back at about 2GB per second towards the end). When I enabled GPU acceleration, building the mathematical model looked about identical, but the CPU indeed hovered at less overall utilization, and we got a lot of CUDA usage, showing that the GPU was indeed computing away! Success! Plus, it used a considerable amount of its VRAM, which I think is a reason why there was a lot less disk utilization when I had the GPU enabled. Both tests took about the same amount of time, though I imagine that once I put more RAM in my machine, the disk usage will lower for the CPU-only calculations and the CPU will be faster over all unless you do indeed have a GPU with excellent double-precision flops. For anyone else following my steps, I ended up not needing any additional toolkits or libraries; just the environment variable. This was a good bit of fun!
-
July 3, 2023 at 11:41 am
Ugochukwu Okeke
SubscriberI am having an "error with registry" when i try to solve.
I know my Nividia Model is not one of the two specified by ANSYS. But i have a good Nividia Graphic card. What setting should i use to make ansys use my own graphic card?
Please help needed urgently for to meet my dissertation deadline.
-
July 7, 2023 at 6:11 am
Aniket
Ansys EmployeeSorry, cant comment anything about unsupported hardware. You may want to try your luck with ANSGPU_OVERRIDE=1 system variable, but if that is not helping, possibly the hardware might not be good enough for GPU acceleration.
-
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- Defining rigid body and contact
- Colors and Mesh Display
- A solver pivot warning or error has been detected
-
8786
-
4658
-
3151
-
1680
-
1468
© 2023 Copyright ANSYS, Inc. All rights reserved.