Changeset 1305 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
03/22/16 17:24:25 (8 years ago)
Author:
aclsce
Message:

First implementation of Intel MPI environment for ADA-IDRIS machine (not fully validated, desactivated by default).

  • insÃ_job : choice of MPI Enironment to use by answering a question or -m option (./ins_job -m Intel). Default is IBM Environment.
  • libIGCM_sys_ada.ksh : added specific part for Intel Environment
    • mpirun command (instead of poe for IBM MPI)
    • build of new configuration "run_file"
    • specific header of the Job script -...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1303 r1305  
    2727  or on curie/TGCC : 
    2828  ${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] 
    3031Options : 
    3132  -h                  : help 
     
    3536  -p project          : add default project on curie 
    3637  -c number of cores  : add default number of cores for postprocessing on curie 1-16 or 1-128 
     38on ada only : 
     39  - m MPI environment : add default MPI environment (Intel MPI or IBM MPI) 
    3740" 
    3841} 
     
    7477x_e=false; 
    7578x_p=false; 
    76 x_q=false; 
    7779x_c=false; 
    78 while getopts :hvec:p:q: V ; do 
     80x_m=false; 
     81while getopts :hvec:p:m: V ; do 
    7982  case $V in 
    8083  (h)  ins_job_Usage; exit 0;; 
     
    8588  (c)  x_c=true 
    8689       ProjectCore=${OPTARG} ;; 
     90  (m)  x_m=true 
     91       MPIEnvironment=${OPTARG} ;; 
    8792  (:)  echo ${b_n}" : -"${OPTARG}" option : missing value" 1>&2; 
    8893       exit 2;; 
     
    190195  echo ProjectCore is ${ProjectCore} 
    191196  #- ProjectCore is set (option or answer) 
     197# let check minimum/maximum value 1/${ProjectCoreMax} 
     198 
     199elif [ 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} 
    192217 
    193218else 
    194   echo No option for Header regarding ProjectID, ProjectNode and ProjectCore because we are not on curie 
     219  echo No option for Header regarding ProjectID, ProjectNode, ProjectCore or MPIEnvironment because we are not on curie or ada 
    195220fi # if [ X"${SYSTEM}" == "Xcurie" ] 
    196221 
Note: See TracChangeset for help on using the changeset viewer.