Changeset 1305 for trunk/libIGCM/ins_job
- Timestamp:
- 03/22/16 17:24:25 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/ins_job
r1303 r1305 27 27 or on curie/TGCC : 28 28 ${b_n} [-h] [-v] [-e] [-p project] [-c number of cores] 29 29 or on ada /IDRIS 30 ${b_n} [-h] [-v] [-e] [-m MPI environment] 30 31 Options : 31 32 -h : help … … 35 36 -p project : add default project on curie 36 37 -c number of cores : add default number of cores for postprocessing on curie 1-16 or 1-128 38 on ada only : 39 - m MPI environment : add default MPI environment (Intel MPI or IBM MPI) 37 40 " 38 41 } … … 74 77 x_e=false; 75 78 x_p=false; 76 x_q=false;77 79 x_c=false; 78 while getopts :hvec:p:q: V ; do 80 x_m=false; 81 while getopts :hvec:p:m: V ; do 79 82 case $V in 80 83 (h) ins_job_Usage; exit 0;; … … 85 88 (c) x_c=true 86 89 ProjectCore=${OPTARG} ;; 90 (m) x_m=true 91 MPIEnvironment=${OPTARG} ;; 87 92 (:) echo ${b_n}" : -"${OPTARG}" option : missing value" 1>&2; 88 93 exit 2;; … … 190 195 echo ProjectCore is ${ProjectCore} 191 196 #- ProjectCore is set (option or answer) 197 # let check minimum/maximum value 1/${ProjectCoreMax} 198 199 elif [ X"${SYSTEM}" == "Xada" ] ; then 200 if ( ! ${x_m} ) ; then 201 MPIEnvironment=IBM 202 # 203 # Commented : waiting for full validation of Intel MPI Environment 204 # answerOK=false 205 # while ( ! ${answerOK} ) ; do 206 # answer="" 207 # print - "Hit Enter or give MPI Environement (default is ${MPIEnvironment}), possible MPI environments are IBM (MPI IBM) and Intel (MPI Intel) :" 208 # read answer 209 # [ "X${answer}" == "X" ] || [ "X${answer}" == "XIBM" ] || [ "X${answer}" == "XIntel" ] && answerOK=true 210 # done 211 212 # if [ "X${answer}" != "X" ] ; then 213 # MPIEnvironment=${answer} 214 # fi 215 fi # if ( ! ${x_pm} ) 216 # echo MPIEnvironment is ${MPIEnvironment} 192 217 193 218 else 194 echo No option for Header regarding ProjectID, ProjectNode and ProjectCore because we are not on curie219 echo No option for Header regarding ProjectID, ProjectNode, ProjectCore or MPIEnvironment because we are not on curie or ada 195 220 fi # if [ X"${SYSTEM}" == "Xcurie" ] 196 221
Note: See TracChangeset
for help on using the changeset viewer.