Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

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 Helium so please check with your department for more information. Once you know how to access your license server, run the license setup program on Helium. This is a graphical program so you will have to have X11 forwarding enabled in your SSH session.

 

Licensing 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 licesnse 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: 

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: 

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

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:

Example ANSYS job script
#!/bin/sh
#
#$ -N Job_Name
#$ -cwd
#$ -j y
#$ -pe fluent 32
#$ -S /bin/bash
/opt/ansys_inc/v121/fluent/bin/fluent 3ddp -t$NSLOTS -g -cnf=$TMPDIR/machines -sge -pinfiniband -mpi=openmpi -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): 

 

Example 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

  • No labels