Changeset 183 for trunk


Ignore:
Timestamp:
10/02/09 20:37:29 (15 years ago)
Author:
sdipsl
Message:

MAF SD : - Force asynchronous rebuild (if active) at the end of every execution when not in production mode

  • Correct bug in libIGCM_post (we do not read config.card Post section twice anymore)
Location:
trunk/libIGCM
Files:
2 edited

Legend:

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

    r166 r183  
    224224 
    225225        if [ X${config_Post_RebuildFrequency} != XNONE ] ; then 
    226             echo "------------" 
    227             echo "WARNING : Job is NOT in RUN mode then we will force REBUILD ONLINE for all Periods." 
    228             echo "------------" 
    229             config_Post_RebuildFrequency=NONE  
     226            if [ X${config_Post_RebuildFrequency} != X${config_UserChoices_PeriodLength} ] ; then 
     227                echo "------------" 
     228                echo "WARNING : Job is NOT in RUN mode then we will force REBUILD Frequency" 
     229                echo "          to PeriodLength : ${config_UserChoices_PeriodLength}" 
     230                echo "------------" 
     231                config_Post_RebuildFrequency=${config_UserChoices_PeriodLength} 
     232            fi 
    230233        fi 
    231234        echo "====================================================" 
  • trunk/libIGCM/libIGCM_post/libIGCM_post.ksh

    r180 r183  
    165165    typeset POST NbDays PeriodEndJul PostEndJul LengthDays 
    166166    POST=false 
    167  
    168     #================================== 
    169     # Define variable ${config_Post_${post_freq}} 
    170     # who contains frequency for specific post-treatment 
    171     IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Post 
    172  
    173     for option in ${config_Post[*]} ; do 
    174         IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post ${option} 
    175     done 
    176167 
    177168    # READ TIME SERIES OR SEASONAL FREQUENCY 
Note: See TracChangeset for help on using the changeset viewer.