#!/bin/sh #$ -q normal # the queue to be used. #$ -M sdubbaka@cct.lsu.edu #$ -pe 16way 32 #$ -l h_rt=24:00:00 # requested Wall-clock time. # #$ -V # #$ -o sl15stdout32 #$ -e sl15stderr32 # name of the standard out file to be "output-file". # #$ -N gustav_archive_ascii # name of the job (that will appear on executing the qstat command) to be "syschk". # #$ -A TG-MCA02N014 # Following are non PBS commands. PLEASE ADOPT THE SAME EXECUTION SCHEME # i.e. execute the job by copying the necessary files from your home directpory # to the scratch space, execute in the scratch space, and copy back # the necessary files to your home directory. # set -x WORK_DIR=/work/sdubba2/gustav_new NPROCS=32 # REQUIRED for PBS to work. # copies necessary files from home directory to scratch space. cd $WORK_DIR echo "Creating the simulation" fort="fort.14" option1=1 option2=2 echo "Calling adcprep for the first time" ./adcprep < NODES || true # changing the working directory to the scratch space echo "Calling padcirc" date env # ibrun -machinefile $PBS_NODEFILE -np $NPROCS ./padcirc ibrun tacc_affinity ./padcirc date # executes the executable. echo "Done."