Ignore:
Timestamp:
03/29/12 10:56:09 (12 years ago)
Author:
sdipsl
Message:
  • Merge libIGCM_MPI_OpenMP branch within the trunk
  • trunk will shortly be tagged libIGCM_2.0_beta
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r590 r616  
    7878#-Q- sx8mercure #PBS -q scalaire 
    7979#-Q- sx9mercure #!/bin/ksh 
    80 #-Q- sx9mercure ######################### 
    81 #-Q- sx9mercure ## CESIUM FOR SX9  CEA ## 
    82 #-Q- sx9mercure ######################### 
    83 #-Q- sx9mercure #MSUB -r SE             # Nom du job                 
    84 #-Q- sx9mercure #MSUB -N 1              # Reservation du noeud 
    85 #-Q- sx9mercure #MSUB -n 1              # Reservation du processus 
    86 #-Q- sx9mercure #MSUB -T 86400          # Limite de temps elapsed du job 
    87 #-Q- sx9mercure #MSUB -E "-j o" 
    88 #-Q- sx9mercure #MSUB -E "-S /bin/ksh" 
     80#-Q- sx9mercure ###################### 
     81#-Q- sx9mercure ## SX9MERCURE  CCRT ## 
     82#-Q- sx9mercure ###################### 
     83#-Q- sx9mercure #PBS -N SE                   # Nom du job 
     84#-Q- sx9mercure #PBS -j o                    # regroupement des stdout et stderr 
     85#-Q- sx9mercure #PBS -S /usr/bin/ksh         # shell de soumission 
     86#-Q- sx9mercure #PBS -l memsz_job=1gb        # Limite memoire a 1 Go 
     87#-Q- sx9mercure #PBS -l elapstim_req=1:00:00   # Limite temps a 1 heures 
     88#-Q- sx9mercure #PBS -q scalaire 
    8989#-Q- titane #!/bin/ksh 
    9090#-Q- titane ###################### 
     
    217217fi 
    218218 
    219 # 
     219#================================== 
    220220# First of all 
    221221# 
    222 IGCM_card_DefineArrayFromSection   ${CARD_DIR}/config.card UserChoices 
    223222typeset option 
     223 
     224#================================== 
     225# Read UserChoices section:  
     226IGCM_card_DefineArrayFromSection       ${CARD_DIR}/config.card UserChoices 
     227echo 
     228IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices" 
    224229for option in ${config_UserChoices[*]} ; do 
    225230    IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 
     231    eval auxprint=\${config_UserChoices_${option}} 
     232    IGCM_debug_Print 3 "${option} : ${auxprint}" 
    226233done 
    227234# 
    228235echo 
    229 IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices" 
    230 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 
    231 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 
    232 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 
    233 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 
    234 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 
    235 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 
    236 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 
    237 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 
    238 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 
     236 
     237#================================== 
     238# Read Post section:  
     239IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card Post 
    239240echo 
     241IGCM_debug_Print 1 "DefineArrayFromOption : config_Post" 
     242for option in ${config_Post[*]} ; do 
     243  IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post ${option} 
     244  eval auxprint=\${config_Post_${option}} 
     245  IGCM_debug_Print 3 "${option} : ${auxprint}" 
     246done 
     247# 
     248echo 
     249 
     250#================================== 
     251# Define default value to keep compatibility with previous card: means before changes due to TGCC  
     252[ X${config_Post_PackFrequency} = X ] && config_Post_PackFrequency=${config_Post_RebuildFrequency} 
     253 
     254#================================== 
     255# If pack is active then PackFrequency overule the config_UserChoices_PeriodLength 
     256if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 
     257  config_UserChoices_PeriodLength=${config_Post_PackFrequency} 
     258fi 
    240259 
    241260#================================== 
Note: See TracChangeset for help on using the changeset viewer.