Changeset 745 for CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.driver
- Timestamp:
- 09/25/09 14:10:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.