


{"id":43244,"date":"2020-04-26T04:43:07","date_gmt":"2020-04-26T04:43:07","guid":{"rendered":"\/forum\/forums\/topic\/gpu-acceleration-in-mechanical\/"},"modified":"2020-04-26T04:43:07","modified_gmt":"2020-04-26T04:43:07","slug":"gpu-acceleration-in-mechanical","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/gpu-acceleration-in-mechanical\/","title":{"rendered":"GPU Acceleration in Mechanical"},"content":{"rendered":"<p>I&#8217;m curious why&nbsp;only such specific graphics cards, like the NVIDIA Teslas, are supported for GPU acceleration in Ansys Mechanical computations. Secondly, I&#8217;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&#8217;s still any way to do that (most of what I&#8217;m doing at the moment is in static structural, and I can provide more details about the system I&#8217;m running etc. if necessary; I just don&#8217;t know what would be useful to know, as I&#8217;m rather new to Ansys). I don&#8217;t mind if incorporating a GPU like mine wouldn&#8217;t give a significant performance boost, but I would like to find out how it can be done if it&#8217;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:<\/p>\n<p><\/p>\n<p>No recommended GPU devices have been detected on machine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br \/>&nbsp;DESKTOP-5VIE40K.&nbsp; Only Tesla-series or Quadro&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br \/>&nbsp;P5000\/P6000\/GP100\/GV100\/RTX6000\/RTX8000 GPU devices are recommended at&nbsp; <br \/>&nbsp;this release.&nbsp; For optimal performance, install a recommended GPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br \/>&nbsp;device in this machine.&nbsp; If you wish to use an alternative GPU device,&nbsp; <br \/>&nbsp;please review the recommendations in the section titled &#8220;Requirements&nbsp;&nbsp; <br \/>&nbsp;for the GPU Accelerator in Mechanical APDL&#8221; in the Installation Guide&nbsp;&nbsp; <br \/>&nbsp;for your platform.&nbsp;<\/p>\n<p><\/p>\n<p>As well as,<\/p>\n<p><\/p>\n<p>Number of GPUs requested&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp; 1<br \/>GPU Acceleration: NVIDIA Library Requested but not Enabled<br \/>GPU Device with ID =&nbsp; 0 is: Quadro RTX 4000<br \/>GPU Driver Version: 10.10<br \/>CUDA Version: 10.0<\/p>\n<p><\/p>\n<p>Now, the first bit made it seem like I certainly can run computations with non-recommended GPUs by following a certain procedure, so I&#8217;ve gone to the guide it mentioned, and found the following:<\/p>\n<p><\/p>\n<p>To utilize a NVIDIA GPU device that is not on the recommended list of cards, set the following environment variable:<\/p>\n<p><\/p>\n<p>ANSGPU_OVERRIDE=1<\/p>\n<p><\/p>\n<p>This is followed by a little warning saying that doing this with new, powerful graphics cards that haven&#8217;t been tested is just fine, but doing it with weaker cards may actually slow performance. Again, I don&#8217;t mind this (so long as it&#8217;s reversible <img decoding=\"async\" src=\"\/content\/images\/emoticons\/wink-emoticon.png\" alt=\"\" class=\"emoticon\" \/>, 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&#8217;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 &#8220;Additional Command Line Arguments section&#8221; of the mehcanical solving tab?<\/p>\n<p><\/p>\n<p>Finally, after the environment variable override, should I still expect to encounter a snag with the &#8220;NVIDIA Library Requested but not Enabled&#8221; error that came up in the solver output, or will that be taken care of by the overriding or HPC or something like that?<\/p>\n<p><\/p>\n<p>If you&#8217;ve bothered to read through all this uninformed musing, thank you very much; I&#8217;m grateful for any advice, and have a lovely day!<\/p>\n","protected":false},"template":"","class_list":["post-43244","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["15425"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["12757"],"_bbp_subscription":["250474","288530","200"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["43244"],"_bbp_forum_id":["27791"],"_bbp_engagement":["200","176308","288530"],"_bbp_voice_count":["3"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["291995"],"_bbp_last_active_id":["291995"],"_bbp_last_active_time":["2023-07-07 06:11:41"]},"test":"palbo"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/43244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/43244\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=43244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}