HPC ANSYS uses the campus ANSYS license managed by the College of Engineering. To access ANSYS users must accept the license terms. Select the Request Access button in the ANSYS entry in the list of Officially Supported Applications on the HPC software web page to accept the license terms. Access should be enabled within a day of accepting the terms.
ANSYS version 21.2, 20.1 and 19.1 are installed on the HPC cluster (Henry2). Version 20.1 is the default version loaded by the ansys module.
To use ANSYS 20.1, you need to do the command
module load ansysto set up appropriate environment. To use version 21.2 or 19.1, you need to do the command module load ansys/21.2 or module load ansys/19.1, respectively, to set up appropriate environment. Instructions below are based on using the default version 20.1. If you use version 21.2 or 19.1 you need to make corresponding changes in module names and ANSYS commands.
To run ANSYS jobs on Henry2 you should create a job submission script such as the following:
#!/bin/tcsh #BSUB -n 4 #BSUB -W 10 #BSUB -R span[ptile=4] #BSUB -e vm4.err.%J #BSUB -o vm4.out.%J module load ansys ansys201 -dis -np 4 -j VM -b -p aa_r_hpc < vm2.dat -dir /share/$GROUP/$USERwhere in /share/$GROUP/$USER the $GROUP will be your group name and the $USER will be your Unity ID. It is your directory in the scratch file system. ANSYS writes temporary files to that directory due to the parameter -dir /share/$GROUP/$USER specification. If you want ANSYS to write temporary files to a different directory then you can change /share/$GROUP/$USER to a different directory name.
The flag (-p aa_r_hpc ) requests the research license. If you have a small job, you may find you can use the flag (-p aa_t_a ) which requests the teaching license. Another option is to use ABAQUS, a commercial finite element package for which our licensing is less restricted.
The bsub command should be issued from the directory that contains the ANSYS input file. The standard output and standard error output from the job will be placed in the directory where the bsub command was issued.
module load ansysto set up appropriate environment. To use Fluent in ANSYS version 21.2 or 19.1, you need to do the command module load ansys/21.2 or module load ansys/19.1, respectively, to set up appropriate environment.
Below is the job script of a sample Fluent job. Please note that the Fluent command syntax is different between using ANSYS version 20.1 or earlier and using ANSYS version 21.2.
#!/bin/tcsh #BSUB -n 40 #BSUB -W 60 #BSUB -o out.%J #BSUB -e err.%J module load ansys <Fluent command>
For using ANSYS version 20.1 or earlier, the <Fluent command> in the job script will be:
fluent 2ddp -g -lsf -i inputfile.inDon't change the part of -lsf in the Fluent command since that flag hooks up Fluent with batch job scheduler LSF on HPC system so that your job will be run using the resources that you request with the #BSUB syntax.
For using ANSYS version 21.2, the <Fluent command> in the job script will be:
fluent 2ddp -g -t$LSB_DJOB_NUMPROC -cnf=`echo $LSB_HOSTS | tr " " ","` -i inputfile.inDon't change the part of -t$LSB_DJOB_NUMPROC -cnf=`echo $LSB_HOSTS | tr " " ","` in the Fluent command. The $LSB_DJOB_NUMPROC is the number of cores requested by the LSF job. In this case it is 40. You may replace $LSB_DJOB_NUMPROC by 40 but the disadvantage of using a hard number is in jobs where you change number of cores to request you also need to change the number after -t. If you use $LSB_DJOB_NUMPROC then when you want to change number of cores to request you can just change the number in #BSUB -n 40. The -cnf=`echo $LSB_HOSTS | tr " " ","` gives all the hosts used for the job. You cannot change anything in there.
After you log into the VCL node, open a terminal, and type:
module load ansysto set up ANSYS environment. Then, if you want to use the ANSYS GUI, type
launcher201to launch the ANSYS GUI interface.
If you want to use the Fluent GUI, type
fluentto launch the Fluent GUI interface.
Last modified: March 30 2022 17:28:16.