Ansys Products

Ansys Products

how to speciify one of multi-gpu to ANSYS Mech APDL as batch mode?

    • Johnson Liao
      Subscriber

      If there are multi-gpu cards installing in system, is there any batch command to use the specified GPU for ANSYS Mechanical APDL?

    • George Karnos
      Ansys Employee

      Please refer to the documentation concerning ANSGPU_DEVICE and ANSGPU_PRINTDEVICES 

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v222/en/ans_dan/gputrouble.html?q=gpu

    • Johnson Liao
      Subscriber

      George,

      thanks firstly.

      the the manual, its information:

      To list the GPU devices installed on the machine, set the ANSGPU_PRINTDEVICES environment variable to a value of 1. The printed list may or may not include graphics cards used for display purposes, along with any graphics cards used to accelerate your simulation.

      After creating ANSGPU_PRINTDEVICES=1, how to show GPU ID numbers? 

       

    • George Karnos
      Ansys Employee

       

      Run Ansys MAPDL and file should be created in the working directory named:
      AnsGPUdevices.lst

      This will list the devices.

       

Viewing 3 reply threads
  • You must be logged in to reply to this topic.