Changeset 1633


Ignore:
Timestamp:
03/11/24 10:37:15 (7 weeks ago)
Author:
ssenesi
Message:

Manage CesmpInputFrequency?, plus small fixes

Location:
trunk/libIGCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_purge_simulation

    r1622 r1633  
    179179fi 
    180180 
    181 if [ ${config_Post_Cesmep} != FALSE ]; then 
     181if [ ${config_Post_Cesmep} != FALSE -a -d $SUBMIT_DIR/cesmep_lite ]; then 
    182182    echo -e "\033[1;32mDo you want to erase the CESMEP atlas and dedicated CliMAF cache) ?" 
    183183    echo -n -e " Your answer (y/n) : \033[m" 
  • trunk/libIGCM/ins_job

    r1623 r1633  
    698698   
    699699fi 
    700  
    701700# 
    702701# Install a light copy of C-ESM-EP in SUBMIT_DIR/Cesmep and create a 
     
    741740                ${config_Post_Cesmep} ${CesmepPeriod} ${config_Post_CesmepSlices} \ 
    742741                $components $CENTER ${CesmepSlicesDuration} \ 
    743                 ${config_Post_CesmepReferences}  
     742                ${config_Post_CesmepReferences} ${config_Post_CesmepInputFrequency}  
    744743            [ $? -ne 0 ] && echo -e "\nERROR : cannot configure C-ESM-EP run" && exit 5 
    745744        else 
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r1630 r1633  
    248248      if ( [ X${config_Post_CesmepPeriod} != X${NULL_STR} ] && [ X${config_Post_CesmepPeriod} != X ] ) ; then 
    249249          CesmepPeriod=${config_Post_CesmepPeriod%Y} 
     250          if [ $config_Post_CesmepPeriod = 12M ] ; then 
     251              CesmepPeriod=1 
     252          fi 
    250253      fi 
    251254      if [ X${config_Post_Cesmep} = XSE ] ; then 
     
    284287          elif ( [ X"${SYSTEM}" == "Xmesoipsl" ] ); then 
    285288              config_Post_CesmepCode=/net/nfs/tools/Users/SU/jservon/cesmep_installs/cesmep_for_libIGCM 
    286           elif [ ${config_Post_Cesmep} != FALSE ] ; then 
     289          else  
    287290              IGCM_debug_Exit "Cannot locate a default C-ESM-EP code on $SYSTEM, please set CesmepCode in section Post" 
    288291          fi 
    289292      fi 
     293       
    290294      if ( [ X${config_Post_CesmepSlices} = XNONE ] || [ X${config_Post_CesmepSlices} = X ] ) ; then 
    291295          config_Post_CesmepSlices=8 
     
    304308          config_Post_CesmepReferences=NONE  
    305309      fi 
    306   fi 
    307   IGCM_debug_Print 3 "config_Post_Cesmep=${config_Post_Cesmep}, CesmepPeriod=$CesmepPeriod, config_Post_CesmepSlices=$config_Post_CesmepSlices  " 
     310      if [ X${config_Post_CesmepInputFrequency} = X${NULL_STR} ] || [ X${config_Post_CesmepInputFrequency} = XNONE ] || \ 
     311             [ X${config_Post_CesmepInputFrequency} = X ] ; then  
     312          config_Post_CesmepInputFrequency=monthly 
     313      fi 
     314  fi 
    308315  #==================================================== 
    309316  # IgnoreNonMonotonic : apply default value if not defined 
Note: See TracChangeset for help on using the changeset viewer.