Changeset 1411 for trunk/libIGCM


Ignore:
Timestamp:
08/29/17 20:47:24 (7 years ago)
Author:
sdipsl
Message:
  • Bypass cases where compiler version cant be identified. Usefull at IDRIS. Will need a fix shortly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r1409 r1411  
    967967  [ -f ${RUN_DIR}/compiler.txt ] && rm -f ${RUN_DIR}/compiler.txt 
    968968 
    969   typeset comp ExeNameIn ExeNameOut 
     969  typeset comp ExeNameIn ExeNameOut byPass 
    970970  typeset compilerNmbr compilerUnit compilerFull 
     971  byPass=false 
    971972  for comp in ${config_ListOfComponents[*]} ; do 
    972973    # Define component 
     
    9991000      # Save it 
    10001001      echo $compilerFull >> ${RUN_DIR}/compiler.txt 
     1002      [ X${compilerFull} = X ] && byPass=true 
    10011003      IGCM_debug_Print 1 "${RUN_DIR}/${ExeNameOut} has been compiled with ${compilerFull}" 
    10021004    fi 
     
    10061008  compilerUnit=$( cat ${RUN_DIR}/compiler.txt | sort | uniq -c ) 
    10071009 
    1008   if [ ${compilerNmbr} -ne ${compilerUnit} ]; then 
     1010  if ( [ ${compilerNmbr} -ne ${compilerUnit} ] && [ ! X${byPass} = Xtrue  ] ); then 
    10091011    IGCM_debug_Exit "Binaries has not been compiled with the same compiler version" 
    10101012  fi 
Note: See TracChangeset for help on using the changeset viewer.