Changeset 601 for branches/libIGCM_MPI_OpenMP
- Timestamp:
- 03/27/12 17:07:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_MPI_OpenMP/AA_create_se
r597 r601 224 224 fi 225 225 226 # 226 #================================== 227 227 # First of all 228 228 # 229 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices230 229 typeset option 230 231 #================================== 232 # Read UserChoices section: 233 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 234 echo 235 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 231 236 for option in ${config_UserChoices[*]} ; do 232 237 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 238 eval auxprint=\${config_UserChoices_${option}} 239 IGCM_debug_Print 3 "${option} : ${auxprint}" 233 240 done 234 241 # 235 242 echo 236 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 237 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 238 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 239 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 240 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 241 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 242 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 243 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 244 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 245 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 243 244 #================================== 245 # Read Post section: 246 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Post 246 247 echo 248 IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 249 for option in ${config_Post[*]} ; do 250 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post ${option} 251 eval auxprint=\${config_Post_${option}} 252 IGCM_debug_Print 3 "${option} : ${auxprint}" 253 done 254 # 255 echo 256 257 #================================== 258 # Define default value to keep compatibility with previous card: means before changes due to TGCC 259 [ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 260 261 #================================== 262 # If pack is active then PackFrequency overule the config_UserChoices_PeriodLength 263 if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 264 config_UserChoices_PeriodLength=${config_Post_PackFrequency} 265 fi 247 266 248 267 #==================================
Note: See TracChangeset
for help on using the changeset viewer.