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/libIGCM_config/libIGCM_config.ksh

    r571 r592  
    6161 
    6262  #================================== 
     63  # Read UserChoices section:  
    6364  IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card UserChoices 
    6465 
     
    8889 
    8990  #================================== 
    90  
     91  # Read Post section:  
     92  IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Post 
     93  echo 
     94  IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 
     95 
     96  for option in ${config_Post[*]} ; do 
     97    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post ${option} 
     98    eval auxprint=\${config_Post_${option}} 
     99    IGCM_debug_Print 3 "${option} : ${auxprint}" 
     100  done 
     101 
     102  #================================== 
     103  # Define default value to keep compatibility with previous card: means before changes due to TGCC  
     104  [ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 
     105 
     106  #================================== 
     107  # Read ListOfComponents section:  
    91108  IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card ListOfComponents 
    92109  for comp in ${config_ListOfComponents[*]} ; do 
     
    189206    FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 
    190207    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
     208    R_FIGR=${R_FIG}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
    191209    R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
    192210    R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 
    193211  else 
    194212    R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     213    R_FIGR=${R_FIG}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
    195214    R_BUFR=${R_BUF}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 
    196215    R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 
     
    218237    fi 
    219238  fi 
    220  
    221   #================================== 
    222   # Read Post section:  
    223   IGCM_card_DefineArrayFromSection ${SUBMIT_DIR}/config.card Post 
    224  
    225   echo 
    226   IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 
    227  
    228   for option in ${config_Post[*]} ; do 
    229     IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/config.card Post ${option} 
    230     eval auxprint=\${config_Post_${option}} 
    231     IGCM_debug_Print 3 "${option} : ${auxprint}" 
    232   done 
    233  
    234   #================================== 
    235   # Define default value to keep compatibility with previous card: means before changes due to TGCC  
    236   [ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 
    237239 
    238240  #==================================================== 
Note: See TracChangeset for help on using the changeset viewer.