Changeset 1446 for trunk


Ignore:
Timestamp:
05/09/18 13:08:11 (6 years ago)
Author:
sdipsl
Message:
  • Adhoc exception for CMIP6 : exclude XIOS from the restart overrule mechanism.
File:
1 edited

Legend:

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

    r1431 r1446  
    705705 
    706706      if ( [ "${config_Restarts_OverRule}" = "y" ] || [ "${config_Restarts_OverRule}" = "Y" ] ) ; then 
    707         eval config_${comp}_Restart="y" 
    708         eval config_${comp}_RestartDate=${config_Restarts_RestartDate} 
    709         eval config_${comp}_RestartJobName=${config_Restarts_RestartJobName} 
    710         eval config_${comp}_RestartPath=${config_Restarts_RestartPath} 
    711         eval do_start=\${config_${comp}_Restart} > /dev/null 2>&1 
    712         eval CompOldName=${comp} 
     707        # Adhoc exception for CMIP6 : exclude XIOS from the restart overrule mechanism. 
     708        if ( ! [ X${comp} = XIOS ] && [ X"$( echo ${config_UserChoices_ExpType} | grep CMIP6 )" = "XCMIP6" ] ) 
     709          eval config_${comp}_Restart="y" 
     710          eval config_${comp}_RestartDate=${config_Restarts_RestartDate} 
     711          eval config_${comp}_RestartJobName=${config_Restarts_RestartJobName} 
     712          eval config_${comp}_RestartPath=${config_Restarts_RestartPath} 
     713          eval do_start=\${config_${comp}_Restart} > /dev/null 2>&1 
     714          eval CompOldName=${comp} 
     715        else 
     716          config_IOS_Restart="n" 
     717          do_start="n" 
     718        fi 
    713719      else 
    714720        # Read component Restarts parameters 
Note: See TracChangeset for help on using the changeset viewer.