Changeset 746
- Timestamp:
- 09/25/09 14:59:15 (15 years ago)
- Location:
- CONFIG/LMDZOR/branches/LMDZ4OR_v3/LMDZOR
- Files:
-
- 16 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/LMDZOR/branches/LMDZ4OR_v3/LMDZOR/COMP/lmdz.card
r725 r746 9 9 CREATE=ELC-${RESOL_ATM_3D} 10 10 11 # Par default, adjust=n in run.def12 LMDZ_ adjust = n11 # adjust=y during LMDZ_NbPeriod_adjust Period, adjust=n after LMDZ_NbPeriod_adjust 12 LMDZ_NbPeriod_adjust=3 13 13 14 14 [InitialStateFiles] … … 44 44 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 45 45 (${SUBMIT_DIR}/PARAM/run.def, .), \ 46 (${SUBMIT_DIR}/PARAM/traceur.def, .), \ 47 (${SUBMIT_DIR}/PARAM/Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat, .) 46 (${SUBMIT_DIR}/PARAM/traceur.def, .) 48 47 49 48 [RestartFiles] … … 52 51 53 52 [OutputText] 54 List= (physiq.def, gcm.def, run.def, traceur.def , Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat)53 List= (physiq.def, gcm.def, run.def, traceur.def) 55 54 56 55 [OutputFiles] -
CONFIG/LMDZOR/branches/LMDZ4OR_v3/LMDZOR/COMP/lmdz.card_Interannuel
r725 r746 9 9 CREATE=ELI-${RESOL_ATM_3D} 10 10 11 # Par default, adjust=n in run.def12 LMDZ_ adjust = n11 # adjust=y during LMDZ_NbPeriod_adjust Period, adjust=n after LMDZ_NbPeriod_adjust 12 LMDZ_NbPeriod_adjust=3 13 13 14 14 [InitialStateFiles] … … 64 64 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 65 65 (${SUBMIT_DIR}/PARAM/run.def, .), \ 66 (${SUBMIT_DIR}/PARAM/traceur.def, .), \ 67 (${SUBMIT_DIR}/PARAM/Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat, .) 66 (${SUBMIT_DIR}/PARAM/traceur.def, .) 68 67 69 68 [RestartFiles] … … 72 71 73 72 [OutputText] 74 List= (physiq.def, gcm.def, run.def, traceur.def , Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat)73 List= (physiq.def, gcm.def, run.def, traceur.def) 75 74 76 75 [OutputFiles] -
CONFIG/LMDZOR/branches/LMDZ4OR_v3/LMDZOR/COMP/lmdz.driver
r711 r746 56 56 PAT_day_step=$( grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep day_step ) 57 57 58 ## Read LMDZ_adjust option in ${compname}.card --> put adjust=y and save Bands_*.dat in ${SUBMIT_DIR}/PARAM 59 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices LMDZ_adjust 60 eval LMDZ_adjust=\${${compname}_UserChoices_LMDZ_adjust} > /dev/null 2>&1 58 ## Read LMDZ_NbPeriod_adjust option in ${compname}.card 59 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices LMDZ_NbPeriod_adjust 60 eval LMDZ_NbPeriod_adjust=\${${compname}_UserChoices_LMDZ_NbPeriod_adjust} > /dev/null 2>&1 61 62 ## algo : CumulPeriod=1 ; LMDZ_adjust=y ; save Bands file on file server ; 63 ## For CumulPeriod=2 to LMDZ_NbPeriod_adjust ; Fetch Bands file from server (CumulPeriod-1) ; LMDZ_adjust=y ; save Bands file on file server ; 64 ## For CumulPeriod > LMDZ_NbPeriod_adjust ; LMDZ_adjust=n ; Fetch Bands file from server (CumulPeriod=LMDZ_NbPeriod_adjust) ; Use Bands ; 61 65 62 66 ##-- This could be define in lmdz.card, inside section [UserChoices] … … 67 71 #(( day_step = 48 * iphysiq )) 68 72 day_step=$( echo ${PAT_day_step} | awk -F= '{print $2}' ) 69 70 #[ -f ${SUBMIT_DIR}/PARAM/Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ] && IGCM_sys_Cp ${SUBMIT_DIR}/PARAM/Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat .71 73 72 74 IGCM_debug_PopStack "ATM_Initialize" … … 86 88 RAZ_DATE=0 87 89 fi 90 91 LMDZ_adjust=n 92 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && LMDZ_adjust=y 93 94 RefPeriod=${LMDZ_NbPeriod_adjust} 95 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && (( RefPeriod = ${CumulPeriod} - 1 )) 96 97 [ ${CumulPeriod} -gt 1 ] && IGCM_sys_Get ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 88 98 89 99 ## Mise en forme du fichier physiq.def … … 120 130 IGCM_debug_PushStack "ATM_Finalize" 121 131 122 [ ${ LMDZ_adjust} = y ] && IGCM_sys_Cp Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/PARAM132 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${CumulPeriod} 123 133 124 134 echo FINALIZE ATM !
Note: See TracChangeset
for help on using the changeset viewer.