#!/bin/bash #PBS -P projectid #PBS -l select=4:ncpus=24:mpiprocs=24:mem=24GB:nodetype=haswell_reg #PBS -l walltime=2:00:00 #PBS -q normal #PBS -m be #PBS -V #PBS -o /mnt/lustre3p/users/username/testCFX/test.out #PBS -e /mnt/lustre3p/users/username/testCFX/test.err #### Check for license availability. If insufficient licenses are available, job will be held back until #### licenses are available. #PBS -l cfd_base=1 #PBS -l anshpc=200 cd /mnt/lustre3p/users/username/testCFX #change to CFX case directory export CFX5RSH=ssh #force CFX to use ssh instead of rsh cfx=/apps/chpc/compmech/CFD/ansys_inc/v194/CFX/bin/cfx5solve #path to cfx5 solver $cfx -batch -def testCFX.def -par-dist $(tr "\n" "," <$PBS_NODEFILE) > runcfx.log