Changeset 745
- Timestamp:
- 09/25/09 14:10:12 (15 years ago)
- Location:
- CONFIG/LMDZ/branches/LMDZ4/LMDZ
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.card
r724 r745 14 14 # PARAM-new to come : will represent the "new physics" in LMDZ 15 15 16 # Par default, adjust=n in run.def17 LMDZ_ adjust = n16 # adjust=y during LMDZ_NbPeriod_adjust Period, adjust=n after LMDZ_NbPeriod_adjust 17 LMDZ_NbPeriod_adjust=3 18 18 19 19 [InitialStateFiles] … … 70 70 (${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 71 71 (${SUBMIT_DIR}/${PARAM}/run.def, .), \ 72 (${SUBMIT_DIR}/${PARAM}/traceur.def, .), \ 73 (${SUBMIT_DIR}/${PARAM}/Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat, .) 72 (${SUBMIT_DIR}/${PARAM}/traceur.def, .) 74 73 75 74 [RestartFiles] … … 78 77 79 78 [OutputText] 80 List= (physiq.def, gcm.def, run.def, traceur.def , Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat)79 List= (physiq.def, gcm.def, run.def, traceur.def) 81 80 82 81 [OutputFiles] -
CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.card_Interannuel
r724 r745 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/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.driver
r699 r745 53 53 PAT_iperiod=$( grep -v ^# ${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM_3D} | grep iperiod ) 54 54 55 ## Read LMDZ_adjust option in ${compname}.card --> put adjust=y and save Bands_*.dat in ${SUBMIT_DIR}/${PARAM} 56 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices LMDZ_adjust 57 eval LMDZ_adjust=\${${compname}_UserChoices_LMDZ_adjust} > /dev/null 2>&1 55 ## Read LMDZ_NbPeriod_adjust option in ${compname}.card 56 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices LMDZ_NbPeriod_adjust 57 eval LMDZ_NbPeriod_adjust=\${${compname}_UserChoices_LMDZ_NbPeriod_adjust} > /dev/null 2>&1 58 59 ## algo : CumulPeriod=1 ; LMDZ_adjust=y ; save Bands file on file server ; 60 ## For CumulPeriod=2 to LMDZ_NbPeriod_adjust ; Fetch Bands file from server (CumulPeriod-1) ; LMDZ_adjust=y ; save Bands file on file server ; 61 ## For CumulPeriod > LMDZ_NbPeriod_adjust ; LMDZ_adjust=n ; Fetch Bands file from server (CumulPeriod=LMDZ_NbPeriod_adjust) ; Use Bands ; 58 62 59 63 ##-- This could be define in lmdz.card, inside section [UserChoices] … … 78 82 RAZ_DATE=0 79 83 fi 84 85 LMDZ_adjust=n 86 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && LMDZ_adjust=y 87 88 RefPeriod=${LMDZ_NbPeriod_adjust} 89 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && (( RefPeriod = ${CumulPeriod} - 1 )) 90 91 [ ${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 80 92 81 93 ## Mise en forme du fichier physiq.def … … 111 123 IGCM_debug_PushStack "ATM_Finalize" 112 124 113 [ ${ LMDZ_adjust} = y ] && IGCM_sys_Cp Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/${PARAM}125 [ ${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} 114 126 115 127 echo FINALIZE ATM !
Note: See TracChangeset
for help on using the changeset viewer.