Ignore:
Timestamp:
03/22/12 18:02:50 (12 years ago)
Author:
mafoipsl
Message:

Second merge of libIGCM_MPI_OpenMP branch with libIGCM trunk, revision 591.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM_MPI_OpenMP/AA_create_ts

    r571 r592  
    244244fi 
    245245 
    246 # 
     246#================================== 
    247247# First of all 
    248248# 
     249typeset option 
     250 
     251#================================== 
     252# Read UserChoices section:  
    249253IGCM_card_DefineArrayFromSection       ${CARD_DIR}/config.card UserChoices 
    250 typeset option 
     254echo 
     255IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices" 
    251256for option in ${config_UserChoices[*]} ; do 
    252257    IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 
     258    eval auxprint=\${config_UserChoices_${option}} 
     259    IGCM_debug_Print 3 "${option} : ${auxprint}" 
    253260done 
    254261# 
    255262echo 
    256 IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices" 
    257 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 
    258 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 
    259 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 
    260 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 
    261 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 
    262 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 
    263 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 
    264 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 
    265 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 
     263 
     264#================================== 
     265# Read Post section:  
     266IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Post 
    266267echo 
     268IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 
     269for option in ${config_Post[*]} ; do 
     270  IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post ${option} 
     271  eval auxprint=\${config_Post_${option}} 
     272  IGCM_debug_Print 3 "${option} : ${auxprint}" 
     273done 
     274# 
     275echo 
     276 
     277#================================== 
     278# Define default value to keep compatibility with previous card: means before changes due to TGCC  
     279[ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 
     280 
     281#================================== 
     282# If pack is active then PackFrequency overule the config_UserChoices_PeriodLength 
     283if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 
     284  config_UserChoices_PeriodLength=${config_Post_PackFrequency} 
     285fi 
    267286 
    268287#================================== 
     
    869888fi 
    870889 
    871 # Clean RUN_DIR_PATH (necessary for cesium) 
     890# Clean RUN_DIR_PATH (necessary for cesium and titane only) 
    872891IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 
    873892 
Note: See TracChangeset for help on using the changeset viewer.