#! /bin/csh # # batch_run_list.csh 2013-03-07 # Script to run a series of CFX runs in batch mode. # #=================================================================# # do a set of batch runs with single precision and 4 processors # # All of the def files with names in the lists must exist in the # current directory (run01.def, run02.def, ... run06.def) # #=================================================================# setenv LIST1 "run01 run02 run03" setenv LIST2 "run04 run05 run06" # foreach RUN_NAME ( $LIST1 $LIST2 ) # echo " About to start run: $RUN_NAME" cfx5solve -batch -def $RUN_NAME.def \ -double \ -part 4 \ -start-method "Platform MPI Local Parallel" \ -name $RUN_NAME # echo " Finished: $RUN_NAME" echo " #-------------------------------------------------#" end #=================================================================#