Changeset 1630 for CONFIG/LMDZORINCA
- Timestamp:
- 01/18/12 11:01:36 (13 years ago)
- Location:
- CONFIG/LMDZORINCA/tags/LMDZORINCA_v2/EXP_LOI/COMP
- Files:
-
- 6 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/LMDZORINCA/tags/LMDZORINCA_v2/EXP_LOI/COMP/lmdz.driver
r1575 r1630 23 23 24 24 RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' ) 25 case ${RESOL_ATM} in 26 LMD7245) BandsResol=72x45x19 ;; 27 LMD9671) BandsResol=96x71x19 ;; 28 LMD9672) BandsResol=96x72x19 ;; 29 LMD9695) BandsResol=96x95x19 ;; 30 LMD14496) BandsResol=144x96x19 ;; 31 LMD144142) BandsResol=144x142x19 ;; 32 esac 25 26 [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 27 28 RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' | awk "-F-" '{print $1}') 33 29 34 30 … … 101 97 if [ ${CumulPeriod} -eq 1 ] ; then 102 98 if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 103 IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat 104 IGCM_sys_Put_Out Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_0 105 IGCM_debug_Print 1 "Bands file forced to ${LMDZ_Bands_file_name} and stored in ${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_0" 106 IGCM_sys_Chmod u+w Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat 99 if [ ! X${LMDZ_Bands_file_name} = X] ; then 100 IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 101 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_0 102 IGCM_debug_Print 1 "Bands file forced to ${LMDZ_Bands_file_name} and stored in ${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0" 103 IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 104 fi 107 105 fi 108 106 fi … … 114 112 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && (( RefPeriod = ${CumulPeriod} - 1 )) 115 113 116 [ ${CumulPeriod} -gt 1 ] && ( IGCM_sys_Get ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${ BandsResol}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat; IGCM_sys_Chmod u+w Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat )114 [ ${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; IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ) 117 115 118 119 ## physiq.def parameters modified from initial physiq.def 116 ## physiq.def parameters modified from initial physiq_L${RESOL_ATM_Z} 120 117 # columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def : 121 118 # histmth histday histhf histfh3h histhf3hm histstn … … 152 149 IGCM_debug_PushStack "ATM_Finalize" 153 150 154 [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && IGCM_sys_Put_Out Bands_${ BandsResol}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_${CumulPeriod}151 [ ${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} 155 152 echo FINALIZE ATM ! 156 153
Note: See TracChangeset
for help on using the changeset viewer.