Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The ANSYS suite of programs is available on both Helium & Neon. Neon is only running Ansys version 14.5, while Helium offers both Ansys version 12.1 and 14.5.the ITS-RS HPC system.

To use them, you will need to have access to a license server that will validate your right to use the software. The license servers are not run on the HPC systems so please check with your department for more information. Once you know how to access your license server, run the license setup program on the cluster system. This is a graphical program so you will have to have X11 forwarding enabled in your SSH session.

Info
titleLicensing Servers

Note that if you are not part of the IIHR investor group (which is selected by default), you will need to obtain the proper license server information from your PI, and then export a variable before running the license manager. An example would look like: 

export ANSYSLMD_LICENSE_FILE=1055@<server>.uiowa.edu (where server is the hostname of the server your group should be using).

Next, depending on which Ansys version you want to use, run one of the following commands to open the License setup GUI: 

  • for Ansys v14.5: /opt/ansys-14.5/shared_files/licensing/lic_admin/anslic_admin
  • for Ansys v12.1: /opt/ansys_inc/shared_files/licensing/lic_admin/anslic_admin

 You will see a window that looks like this: 

Image Removed

You should choose the button that says "Set License Preferences for User..."  That will open an option to choose a version; please choose the correct version. That will open a new window: 

Image Removed

Please choose the radio button for "Use Academic License", which will then show you options (note that your list may be different than below): 

Image Removed

Select your preferred license and move it to the top. Click "Apply" and then "Okay"  

After that is set up then you can run your ANSYS programs with something like the following:

 


The command line flags used with Ansys have changed somewhat in version 18.x to accommodate a new interconnect called Omni-Path.

Code Block
languagebash
titleExample ANSYS job script - Argon
#!/bin/sh
#
#$ -N Job_Name
#$ -cwd
#$ -j y
#$ -pe fluent56cpn 32112
#$ -S /bin/bash
module load /opt/ansys_inc/v121/fluent/bin/ansys/18.0_impi-2017.4
fluent 3ddp -t$NSLOTS -g -cnf=$TMPDIR/machines -sge -pinfinibandpib.infinipath -mpi=openmpiintel -i File.in > File.out

Again note that if you are not part of IIHR, you should have License Manager environment variables specified in your job script like below – be sure you are referencing the correct Ansys version's path, depending on your needs (below example uses 14.5): 

Code Block
languagebash
titleExample Ansys Job Script non-IIHR
#!/bin/sh 
# 
#$ -N Job_name
#$ -cwd 
#$ -j y 
#$ -pe fluent 20
#$ -S /bin/bash 
#$ -l mf=2G 
export ANSYSLMD_LICENSE_FILE=1055@<server>.uiowa.edu
export LM_LICENSE_FILE=1055@<server>.uiowa.edu
/opt/ansys-14.5/v145/fluent/bin/fluent 3d -t$NSLOTS -g -cnf=$TMPDIR/machines -sge -pinfiniband -mpi=openmpi -i File.in >File.out

Argon provides versions 17.2 and 18.0.   When running Ansys programs on Argon, the -pib.infinipath must be explicitly stated for interconnect selection and the MPI implementation chosen must be mpi=intel. If these are not specified, the job will either fail outright or fall back to a much slower interconnect, severely curtailing performance. The environment modules that set the necessary variables and paths on Argon are not currently the default Ansys modules. When loading environment modules on Argon, ensure that you are using either ansys/17.2_impi-2017.4 or ansys/18.0_impi-2017.4 for your jobs.