- Timestamp:
- 2011-10-28T17:00:02+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_r2802_UKMET3_rebuild/NEMOGCM/TOOLS/REBUILD_NEMO/rebuild_nemo
r2898 r3025 18 18 echo " ************" 19 19 echo 20 echo " usage: ${0##*/} [-t ] filebase ndomain [rebuild dimensions]"20 echo " usage: ${0##*/} [-t -c] filebase ndomain [rebuild dimensions]" 21 21 echo 22 22 echo " flags: -t num use num threads" 23 echo " -c num split 4D vars into time chuncks of size num" 23 24 echo 24 25 exit 1 25 26 } 26 27 27 while getopts t: opt28 while getopts c:t: opt 28 29 do 29 30 case ${opt} in 30 31 t) 31 32 OMP_NUM_THREADS=${OPTARG} 33 ;; 34 c) 35 NCHUNKSIZE=${OPTARG} 32 36 ;; 33 37 esac … … 63 67 echo ${dims} >> nam_rebuild 64 68 fi 69 if [[ -n ${NCHUNKSIZE} ]] ; then 70 echo " nchunksize=${NCHUNKSIZE}" >> nam_rebuild 71 fi 65 72 echo "/" >> nam_rebuild 66 73
Note: See TracChangeset
for help on using the changeset viewer.