Changeset 47


Ignore:
Timestamp:
01/21/09 11:00:00 (15 years ago)
Author:
sdipsl
Message:

To keep compatibility with existing config.card we don't read predefined option.
Thanks to NEMO team for testing.

File:
1 edited

Legend:

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

    r34 r47  
    118118    done 
    119119 
    120     echo 
    121     IGCM_debug_Print 1 "DefineVariableFromOption : config_Post" 
    122     # 
    123     IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post RebuildFrequency 
    124     # 
    125     IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post RebuildFromArchive 
    126     # 
     120    #================================== 
     121    # Post :  
     122    IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Post 
     123 
     124    echo 
     125    IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 
     126 
     127    for option in ${config_Post[*]} ; do 
     128        IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post ${option} 
     129        eval auxprint=\${config_Post_${option}} 
     130        IGCM_debug_Print 3 "${option} : ${auxprint}" 
     131    done 
    127132 
    128133    #================================================================# 
Note: See TracChangeset for help on using the changeset viewer.