Versions Compared

Key

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

...

No Format
# This is an example of PBS script file for ansys
#PBS -N FluentTest
#PBS -m e
#PBS -M yourEmail@griffith.edu.au
# specifies number of CPUs (ncpus) used in PBS
#PBS -l select=1:ncpus=1:mem=10g,walltime=24:00:00

# specifies the job name, input file and output file
jobname=MyAnsysRun
jobInput=/export/home/s123456/pbs/input/80x3pipeccsw/ansys/2022R2/v222/ansys/data/models/casting.inp
###jobOutput=/export/home/s123456/pbs/output/ansysOUTput.txt
# specifies working directory
work_dir=/export/home/s123456/pbs/workdir
## sets up the anys environment
module load ansys/v202
module load intel/intelmpi
module list
# starts simulation
cd $work_dir
###ansys161 -b -p aa_r -j $jobname -I $jobInput -o $jobOutput -np 4
ansys161 -b -mpi=intel -p infiniband aa_r -j $jobname -I $jobInput  -np 4

...