From UABgrid Documentation
|Line 29:||Line 29:|
#$ -j y
#$ -j y
#$ -m eas
#$ -m eas
Revision as of 14:56, 31 October 2016
Note: ANSYS on Cheaha is only available for School of Engineering users. The license also cannot be used for commercial purposes!
The license only supports serial and SMP threaded work and doesn't support parallel (MPI) jobs.
Project website: http://www.ansys.com/
Load ANSYS module
To load MACS into your environment, use the following module command:
module load ansys/ansys-14.0
Running ANSYS Interactively
If you are trying to run ANSYS interactively, you can start reserve interactive compute resources with the command "qlogin -l h_rt=04:00:00,vf=2G" once you are logged into the cluster via SSH. Please do not run computations on the head node. You may need to adjust the h_rt (runtime) and vf (RAM) requirements if the analysis is expected to run more than 4 hours or use more than 2 gigabytes of RAM. After gaining access to the interactive session you can issue the commands "module load ansys/ansys-14.5" and "ansys145" to run ANSYS interactively.
Running ANSYS as an SMP Job
Running ANSYS tools via batch mode may also be possible. A quick Google turns up these sample job scripts for running fluent via SGE. You may find the non-interactive "Method 2" example could work well on our cluster, since we also offer the module load ansys option. Combining this example with our provided template could lead to the following script that may work for you:
#$ -S /bin/bash #$ -cwd # #$ -N ANSYS #$ -pe smp 8 #$ -l h_rt=00:10:00,s_rt=0:08:00,vf=1G #$ -j y # #$ -M YOUR_EMAIL_ADDRESS #$ -m eas # # Load the appropriate module files module load openmpi/openmpi-gnu module load ansys/ansys-14.5 #$ -V # turn off shell variable "noclobber" which prevents data files from being # overwritten. Fluent jobs are typically setup to overwrite data files. unset noclobber # Run the ansys job; ansys < file.jou >& logfile.txt
Note, you will likely need to adjust the h_rt= (run time), vf= (RAM) and openmpi 24 (core count) to suite your needs. You should start small and scale up when you are confident in the successful outcome. The Running ANSYS on SGE reference may provide additional useful information for accomplishing your ANSYS goals.