Ansys Software is available in ENEAGRID only under Commercial Licenses (since 2025).

Any user must be enabled to access the licenses by the CRESCO Administrators.

To get enabled a user should have an ENEAGRID account (see the homepage CRESCO to ask for an account and for general documentation about the CRESCO systems) and ask for the use of Ansys licenses.

To be enabled to use Ansys software the user must open a GridTicket giving some information such as:

·         The group affiliation and the research context of the group;

·         Any reference to specific funded activity, if any, in which the software will be used;

·         An estimate of the use of the resources in terms of number of core/licenses and time;

Since 2024 the Ansys software provided by TERIN-ICT should* only be used within the CRESCO HPC systems, therefore there is no possibility to use the Ansys Licenses from your local workstation.

* temporarily it's possible to connect to the Ansys license servers from a user workstation located inside ENEA; see here for further information


To use Ansys software in ENEAGRID you can run the available software on the ENEA HPC Systems (CRESCO Systems) using the launchers located in the $PATH variable (located in /afs/enea.it/software/bin).
Available software installed on CRESCO are the following (last installed release is Ansys 2023r2 (or 23.2)):

        o   Interactive commands are
                    ansys2021r1
                    ansys2022r2
                    ansys2023r1
                    ansys2023r2

o   LSF batch commands are
            ansys2021r1_lsf.sh
            ansys2022r2_lsf.sh
            ansys2023r1_lsf.sh
            ansys2023r2_lsf.sh


o   SLURM batch commands are
             ansys2023r2_slurm.sh

o   Interactive commands are
            fluent2021r1
            fluent2022r2
            fluent2023r1
            fluent2023r2


o   LSF batch commands are
            fluent2021r1_lsf.sh
            fluent2022r2_lsf.sh
            fluent2023r1_lsf.sh
            fluent2023r2_lsf.sh


o   SLURM batch commands are
            fluent2023r2_slurm.sh


o   Interactive commands are
            cfx5solve2021r1
            cfx5solve2022r2
            cfx5solve2023r1
            cfx5solve2023r2


o   LSF batch commands are
            cfx5solve2021r1_lsf.sh
            cfx5solve2022r2_lsf.sh
            cfx5solve2023r1_lsf.sh
            cfx5solve2023r2_lsf.sh


o   SLURM batch commands are
            cfx5solve2023r2_slurm.sh

         o   Interactive commands are
                    workbench2021r1
                    workbench2022r2
                    workbench2023r1
                    workbench2023r2

 
Notes:
- if you are having troubles running for the first time a software, try to remove the .ansys directory located in your user home directory (for example try: "rm -r $HOME/.ansys");

To show a report summary of the live utilization of Ansys licenses use the command
    licenze ansys
from any terminal.


In batch jobs on LSF clusters you should use the LSF license usage reservation to tell LSF that you are using Ansys licenses.
To do this you should add one of the following options to the BSUB command:

-R rusage[cfd_base=1:anshpc=1:duration=1]    --> for CFD software like Fluent and CFX

-R rusage[ansys_lic=1:anshpc=1:duration=1]    --> for Ansys Mechanical

This way your job will look for available licenses, as well as computing cores and time duration, in order to run. It will be in waiting status instead of going in error in case of unavailable licenses.

Note that you ought to use the specification above in order to use Fluent.


In batch jobs on SLURM clusters you should use the SLURM license usage reservation to tell SLURM that you are using Ansys licenses.
To do this you should use one the -L option to the sbatch command:

-L ansys_cfd@cresco-licn3.portici.enea.it,ansys_hpc@cresco-licn3.portici.enea.it:$N$  (for CFD solvers only)

or

-L ansys_mec@cresco-licn3.portici.enea.it,ansys_hpc@cresco-licn3.portici.enea.it:$N$  (for Ansys Mechanical solver, such as ansys2023r2_slurm.sh)

where instead of $N$ you should put the total number of cores of your job (that is the future value of $SLURM_NTASKS or the multiplication of the values of the --ntasks-per-node and --nodes options).

Example of a Fluent batch job with SLURM:
A SLURM fluent job script is located in /afs/enea.it/software/bin/fluent2023r2_slurm.sh and can be submitted with a command line like the following (for example 2 nodes of CRESCO7 each of 48 core for a total of 96 cores):

sbatch --ntasks-per-node=48 --nodes=2 -L ansys_cfd@cresco-licn3.portici.enea.it,ansys_hpc@cresco-licn3.portici.enea.it:96 fluent2023r2_slurm.sh 3ddp -i myjournalfile


If you are enabled to use Ansys go to this page to get license information and how to download the software.