Changeset 1316 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
04/13/16 22:09:14 (8 years ago)
Author:
sdipsl
Message:
  • One can use intel execution environement on Ada. You need to know what you do here.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1315 r1316  
    199199  echo ProjectCore is ${ProjectCore} 
    200200  #- ProjectCore is set (option or answer) 
    201 # let check minimum/maximum value 1/${ProjectCoreMax} 
     201  # let check minimum/maximum value 1/${ProjectCoreMax} 
    202202 
    203203elif [ X"${SYSTEM}" == "Xada" ] ; then 
    204     if ( ! ${x_m} ) ; then 
    205         MPIEnvironment=IBM  
    206 # 
    207 # Commented : waiting for full validation of Intel MPI Environment 
    208 #       answerOK=false           
    209 #       while ( ! ${answerOK} ) ; do 
    210 #           answer="" 
    211 #           print - "Hit Enter or give MPI Environement (default is ${MPIEnvironment}), possible MPI environments are IBM (MPI IBM) and Intel (MPI Intel) :" 
    212 #           read answer 
    213 #           [ "X${answer}" == "X" ] || [ "X${answer}" == "XIBM" ] || [ "X${answer}" == "XIntel" ] && answerOK=true 
    214 #       done 
    215  
    216 #       if [ "X${answer}" != "X" ] ; then 
    217 #           MPIEnvironment=${answer} 
    218 #       fi 
    219     fi # if ( ! ${x_pm} ) 
    220 #  echo MPIEnvironment is ${MPIEnvironment} 
    221  
     204  if ( ! ${x_m} ) ; then 
     205    MPIEnvironment=IBM  
     206    # Intel MPI Environment. 
     207    answerOK=false       
     208    while ( ! ${answerOK} ) ; do 
     209      answer="" 
     210      print - "Hit Enter or give MPI Environement (default is ${MPIEnvironment}), possible MPI environments are IBM (MPI IBM) and Intel (MPI Intel) :" 
     211      read answer 
     212      [ "X${answer}" == "X" ] || [ "X${answer}" == "XIBM" ] || [ "X${answer}" == "XIntel" ] && answerOK=true 
     213    done 
     214 
     215    if [ "X${answer}" != "X" ] ; then 
     216      MPIEnvironment=${answer} 
     217    fi 
     218  fi # if ( ! ${x_pm} ) 
     219  echo MPIEnvironment is ${MPIEnvironment} 
    222220else 
    223221  echo No option for Header regarding ProjectID, ProjectNode, ProjectCore or MPIEnvironment because we are not on curie or ada 
Note: See TracChangeset for help on using the changeset viewer.