#!/bin/bash #PBS -P projectid #PBS -l select=4:ncpus=24:mpiprocs=24 #PBS -l walltime=2:00:00 #PBS -q normal #PBS -V #PBS -o /mnt/lustre/users/username/testCFX/test.out #PBS -e /mnt/lustre/users/username/testCFX/test.err export LM_LICENSE_FILE=1055@login1 export ANSYSLMD_LICENSE_FILE=1055@login1 #change to CFX case directory cd /mnt/lustre/users/username/testCFX #force CFX to use ssh instead of rsh export CFX5RSH=ssh # Select IntelMPI-2018 instead of 2021 export CFX5_IMPI_DIR=/apps/chpc/compmech/CFD/ansys_inc/v242/commonfiles/MPI/Intel/2018.3.222/linx64 cfx=/apps/chpc/compmech/CFD/ansys_inc/v242/CFX/bin/cfx5solve #path to cfx5 solver $cfx -batch -def testCFX.def -par-dist $(tr "\n" "," <$PBS_NODEFILE | rev | cut -c2- | rev) > runcfx.log