#!/bin/bash #PBS -P projectcode #PBS -l select=1:ncpus=24:mpiprocs=24:nodetype=haswell_reg #PBS -q smp #PBS -l walltime=01:00:00 #PBS -o /mnt/lustre/users/username/palabos/examples/showCases/aneurysm/build/stdout #PBS -e /mnt/lustre/users/username/palabos/examples/showCases/aneurysm/build/stderr #PBS -m abe #PBS -M username@email.com ### Source the openFOAM environment (palabos needs this for the dependencies): . /apps/chpc/compmech/CFD/OpenFOAM/OF2112 ### load the cmake module module add chpc/compmech/cmake/3.15.0 ##### Running commands # Set this environment variable explicitly. export PBS_JOBDIR=/mnt/lustre/users/username/palabos/examples/showCases/aneurysm/build # Explicitly change to the job directory cd $PBS_JOBDIR cmake .. > cmake.out make > make.out