- Timestamp:
- 02/06/12 15:35:53 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CDB/trunk/driver/driver.sh
r1 r20 6 6 NUM_PROC=1 7 7 DEBUG_FLAG="" 8 TIME_DIFF_FLAG="" 8 9 PBS_INSTRUCTION="" 9 10 QUEUE="" 10 11 PBS_SUBMIT=0 11 while getopts :hD SPq:j: opt; do12 while getopts :hDTSPq:j: opt; do 12 13 case $opt in 13 14 h) … … 26 27 echo " use advanced options that are not documented yet." 27 28 echo "D: Debug flag. Use ONLY if the scripts will be actively monitored." 29 echo "T: Time derivative flag. The retrieval script will output bash variables for the next before and the year after." 30 echo " Will crash runs that end at the very end of the period." 28 31 echo "" 29 32 echo "F. Laliberte and P. J. Kushner, 2012, University of Toronto" … … 44 47 QUEUE="-q $OPTARG" 45 48 PBS_INSTRUCTION="-P" 49 ;; 50 T) 51 TIME_DIFF_FLAG="--time_diff" 46 52 ;; 47 53 D) … … 109 115 ${PBS_INSTRUCTION} ${QUEUE}\ 110 116 --y_async=${NUM_PROC}\ 111 ${DEBUG_FLAG} 117 ${DEBUG_FLAG}\ 118 ${TIME_DIFF_FLAG} 112 119 if [ "$PBS_SUBMIT" -eq "1" ]; then 113 120 echo "$CDB_MODEL, ${CDB_RUN_ID} for ${CDB_EXPT}"
Note: See TracChangeset
for help on using the changeset viewer.