Following is the general procedure to use the GPU accelerator capability:
Before activating the GPU accelerator capability, you must have at least one supported GPU card (or Xeon Phi coprocessor) with the proper driver level and proper HPC licensing.
Open the Mechanical APDL Product Launcher.
launcher182
Select the correct environment and license.
Go to the High Performance Computing Setup tab, select a GPU device from the drop-down menu, and specify the number of GPU accelerator devices.
Alternatively, you can activate the GPU accelerator capability via
the -acc command line
option:
ansys182 -acc nvidia -naNOR ansys182 -acc intel -naN
The
-na command line option followed by a number
(N) indicates the number of GPU accelerator
devices to use per machine or compute node. If only the
-acc option is specified, the program uses a single GPU
device per machine or compute node by default (that is, -na
1).
If you have more than one HPC license feature, you can use the
-ppf command line option to specify which HPC license
to use for the parallel run. See HPC Licensing for more
information.
If working from the launcher, click Run to launch
Mechanical APDL.
Set up and run your analysis as you normally would.
With the GPU accelerator capability, the acceleration obtained by using the parallelism on the GPU hardware occurs only during the solution operations. Operational randomness and numerical round-off inherent to any parallel algorithm can cause slightly different results between runs on the same machine when using or not using the GPU hardware to accelerate the simulation.
The ACCOPTION command can also be used to control activation of the GPU accelerator capability.