ANSYS
Last modified: Tuesday September 25, 2012 3:32 PM
- Initial License Setup
- Environment Setup
- Documentation
- Tutorials
- Common ANSYS Commands
- Recommendations for Interactive Use
- License Limitations
- Parallel ANSYS
- Batch System Example
Initial License Setup
For ANSYS 12.x software (ANSYS, CFX, ICEMCFD, Fluent), you MUST set your preferences to use the academic licenses. This process needs to be done for each version on each system and applies ONLY to all ANSYS 12.x software.
- Make sure you are running a Xwindows server on your local computer and can display graphical programs remotely. For more information, see the Accessing TAMU Supercomputing Machines page.
- SSH to the system where you want to run ANSYS products.
- Load the ansys module with the 'module load ansys' command.
- Run the anslic_admin command to start the ANSLIC_ADMIN utility. A window with the title ANSLIC_ADMIN Utility should appear if your local computer is configured as in step 1.
- Select Set License Preferences for User XXXX button. A popup window will appear.
- Select Use Academic Licenses button in the Global Settings section.
- Select the OK button.
- Select File from the pull down menu of the ANSLIC_ADMIN Utility and then select Exit to close the ANSLIC_ADMIN utility.
Environment Setup
Please run the 'module load ansys' command to initialize your environment for ANSYS. For more information about modules, please see this page.
Documentation
ANSYS online documentation is available for versions 12.0 and 13.0.
Tutorials
ANSYS tutorials can be found at the following links:
Common ANSYS Commands
| Command | Function |
|---|---|
| ansysNNN | Starts ANSYS in command line mode |
| ansysNNN -g | Starts the ANSYS Utility Menu |
| anshelpNNN | Starts the ANSYS online documentation. |
| launcherNNN | Starts the ANSYS Launcher GUI |
where NNN represents the version number (eg. NNN is 120 for version 12.0).
Recommendations for Interactive Use
We recommend using the following options with ANSYS to stay within the interactive limits on our compute servers:
- Workspace Memory (-m option): 150 MB
- Database Size (-db option): 50 MB
License Limitations
Updated: Sep. 25, 2012
ANSYS products under our Academic Research license may be used only for degree and/or nondegree-related research, student instruction, student projects and student demonstrations. The analysis work performed with the program(s) must be nonproprietary work. The program(s) may not be used for competitive analysis (such as benchmarking) or for any commercial activity, including consulting.
Parallel ANSYS
SMP and Distributed ANSYS are limited to 2 cpus for our current license. There are several ways to specify two cpus:
- On the command line, use the -np 2 option with the ansysNNN command.
- Put the following line in your config120.ans file:
NUM_PROC=2
which can be in your current working directory or your home directory. The line must start in column 1.
- Add the following line (again, starting in column 1) to your input file:
/CONFIG,NPROC,2
For more information, please consult the Parallel Processing chapter in the Performance Guide of the ANSYS online help (using anshelpNNN command) or the older version from our ANSYS 8.0 documentation
Batch System Examples
Job Script for Eos
The following is an example batch job for ANSYS on Eos:
#PBS -l nodes=1:ppn=1,walltime=02:00:00,mem=4gb #PBS -N ansystest #PBS -S /bin/bash #PBS -j oe module load ansys ansys130 -b -j ansystest < vm1.dat
Job Script for Hydra
The following is an example batch job for ANSYS on Hydra:
#@ shell = /bin/ksh #@ initialdir = /scratch/user/ansys #@ job_name = ansystest #@ error = $(job_name).o$(jobid) #@ output = $(job_name).o$(jobid) #@ job_type = serial #@ resources = ConsumableCpus(1) ConsumableMemory(500mb) #@ wall_clock_limit = 00:10:00 #@ notification = error #@ queue cd $TMPDIR cp $LOADL_STEP_INITDIR/vm1.dat . module load ansys ansys120 -b -j ansystest < vm1.dat cp ansystest.* $LOADL_STEP_INITDIR
More Information
The manual pages for ANSYS can be accessed after setting up your ANSYS environment by typing the following command:
man ansys