Page tree

Versions Compared

Key

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

...

A example job submission script (cfxjob.sh) is provided below. It requests 96 processors, 380 GB of memory, 400GB of local disk space for 10 minutes in the normal queue and tells the job to mount /g/data/ab01 and /scratch/ab01 project folder into the job. Within the job it tells CFX to use the start method "Gadi_openmpi" and the loaded openmpi by the ansys module to run the simulation on $PBS_NCPUS processors.

Code Block
languagebash
#!/bin/bash

#PBS -q normal
#PBS -l walltime=00:10:00
#PBS -l ncpus=96
#PBS -l mem=380Gb
#PBS -l jobfs=400GB
#PBS -l storage=gdata/ab01+scratch/ab01
#PBS -l software=<license_string>
#PBS -l wd

module load ansys/2021r1
module load ansys_licence/<institution>

# Must include `#PBS -l storage=scratch/ab12+gdata/yz98` if the job
# needs access to `/scratch/ab12/` and `/g/data/yz98/`. Details on
# https://opus.nci.org.au/display/Help/PBS+Directives+Explained.

export CFX5_OPENMPI_DIR=$OPENMPI_ROOT
cfx5solve -def "StaticMixer.def" -part $PBS_NCPUS -start-method Gadi_openmpi

...

License Ownerlicense modulePBS Directive `-lsoftware=`software group
Royal Melbourne Institute of Technologyansys_licence/rmitansys_rmit ansys_rmit
The University of Wollongongansys_licence/wollongongansys_wollongongansys_wollongong
The University of New South Walesansys_licence/unswunsw_ansysunsw_ansys
The University of Sydneyansys_licence/usydansys_usydansys_usyd
Macquarie Universityansys_licence/mqansys_mqansys_mq
NCI*ansys_licence/nciansys_nciansys_nci

...