Here is an example job submission script to run simulations on multiple CPUs.
#!/bin/bash #PBS -l walltime=01:00:00 #PBS -l ncpus=48 #PBS -l mem=190GB #PBS -l jobfs=100GB #PBS -l wd #PBS -q normal #PBS -l storage=gdata/dk92 module use /g/data/dk92/apps/Modules/modulefiles/ module load NCI-data-analysis/2022.06 N=4096 sdir=/g/data/dk92/notebooks/examples-julia/Oceananigans mpirun -np $PBS_NCPUS julia --project $sdir/shareenv_distributed_shallow_water_model_mpi.jl $N $N 1 $PBS_NCPUS