Versions Compared

Key

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

Introduction

ansys v16.1 is available to Griffith HPC users.

 

Usage

module load ansys/v161

Installation

 

Sample PBS script

No Format
#!/bin/sh 
# This is an example of PBS script file for ansys 
#PBS -S /bin/sh

# specifies number of CPUs (ncpus) used in PBS

###PBS -l ncpus=[no. of CPUs]

#PBS -l select=1:ncpus=1 

=4:mem=10g,walltime=24:00:00
# specifies number of CPUs for parallel computing

###nCPU=[no. of CPUs]

nCPU=1
# specifies the job name, input file and output file 
jobname=MyAnsysRun 
jobInput=/export/home/s2111111/ansysInput.txt 
s2644222/pbs/input/80x3pipecc.inp
jobOutput=/export/home/s2644222/scratch/s2111111pbs/ansysoutput/ansysOUTput.txt

# specifies working directory

work_dir=/scratch/s2111111/ansysexport/home/s2644222/pbs/workdir
## sets up the anys environment
module load ansys/v161

# starts simulation

cd $work_dir 
ansys161 -b -p aa_r -j $jobname -I $jobInput -o $jobOutput -np $nCPU4

Reference

  1. https://www.cityu.edu.hk/acim/facilities/pbs_submit.htm