Shared-memory ANSYS uses two cores by default and does not require any HPC licenses. Additional HPC licenses are required to run with more than two cores. Several HPC license options are available. See HPC Licensing for more information.
Open the Mechanical APDL Product Launcher:
launcher182
Select the correct environment and license.
Go to the High Performance Computing Setup tab. Select . Specify the number of cores to use.
Alternatively, you can specify the number of cores to use via the
-np command line option:
ansys182 -np Nwhere N represents the number of cores
to use.
For large multiprocessor servers, ANSYS, Inc. recommends setting N to a value no higher than the number of available
cores minus one. For example, on an
eight-core system, set N to 7. However, on
multiprocessor workstations, you may want to use all available cores to minimize
the total solution time. The program automatically limits the maximum number of
cores used to be less than or equal to the number of physical cores on the
machine. This is done to avoid running the program on virtual cores (e.g., by
means of hyperthreading), which typically results in poor per-core performance.
For optimal performance, consider closing down all other applications before
launching ANSYS.
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 to launch ANSYS.
Set up and run your analysis as you normally would.
For shared-memory parallel processing, the number of cores that the program uses is limited to the lesser of one of the following:
The number of ANSYS Mechanical HPC licenses available (plus the first two cores which do not require any licenses)
The number of cores indicated via the -np command line
argument
The actual number of cores available
You can specify multiple settings for the number of cores to use during a session. However, ANSYS, Inc. recommends that you issue the /CLEAR command before resetting the number of cores for subsequent analyses.