- Timestamp:
- 05/11/23 14:00:20 (13 months ago)
- Location:
- CONFIG/UNIFORM/v7/IPSLCM7
- Files:
-
- 3 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/ARCH/arch-X64_IRENE-AMD.path
r5479 r6445 2 2 NETCDF_LIBDIR="-L $NETCDFC_LIBDIR -L $NETCDFFORTRAN_LIBDIR" 3 3 NETCDF_LIB="-lnetcdf -lnetcdff" 4 5 NETCDF95_INCDIR=-I/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95/modules 6 NETCDF95_LIBDIR=-L/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95 7 NETCDF95_LIB=-lnetcdf95 4 8 5 9 HDF5_INCDIR="" -
CONFIG/UNIFORM/v7/IPSLCM7/ARCH/arch-X64_IRENE.path
r5479 r6445 2 2 NETCDF_LIBDIR="-L $NETCDFC_LIBDIR -L $NETCDFFORTRAN_LIBDIR" 3 3 NETCDF_LIB="-lnetcdf -lnetcdff" 4 5 NETCDF95_INCDIR=-I/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95/modules 6 NETCDF95_LIBDIR=-L/ccc/work/cont003/gencmip6/guezl/build/Libraries_ifort_17_release/NetCDF95 7 NETCDF95_LIB=-lnetcdf95 4 8 5 9 HDF5_INCDIR="" -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZ/CREATE_amip/COMP/dynamico.card
r6362 r6445 29 29 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 30 30 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 31 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\31 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 32 32 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 33 33 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZ/CREATE_hadisst/COMP/dynamico.card
r6362 r6445 29 29 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 30 30 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 31 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\31 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 32 32 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 33 33 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZ/aquaplanet/CREATE_aquaplanet/COMP/dynamico.card
r6362 r6445 29 29 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 30 30 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 31 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\31 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 32 32 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 33 33 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZ/aquaplanet/climAQUA_360d/COMP/dynamico.card
r6362 r6445 29 29 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 30 30 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 31 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\31 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 32 32 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 33 33 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZ/clim_noleap/COMP/dynamico.card
r6362 r6445 38 38 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 39 39 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 40 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\40 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 41 41 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 42 42 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZOR/clim_noleap/COMP/dynamico.card
r6417 r6445 38 38 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 39 39 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 40 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\40 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 41 41 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 42 42 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZOR/clim_noleap_ORCHv4/COMP/dynamico.card
r6407 r6445 38 38 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 39 39 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 40 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\40 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 41 41 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 42 42 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZOR/highresmip/COMP/dynamico.card
r6407 r6445 38 38 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 39 39 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 40 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\40 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 41 41 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 42 42 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/ICOLMDZOR/highresmip_CMIP6/COMP/dynamico.card
r6407 r6445 38 38 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 39 39 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 40 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\40 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 41 41 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 42 42 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/EXPERIMENTS/IPSLCM/piControl_TEST/COMP/dynamico.card
r6417 r6445 34 34 (${SUBMIT_DIR}/PARAM/run_dynamico.def_nbp${RESOL_NBP}, run_dynamico.def),\ 35 35 (${SUBMIT_DIR}/PARAM/iodef.xml, .),\ 36 (${ SUBMIT_DIR}/PARAM/sponge_dynamico.xml, .),\36 (${MODIPSL}/modeles/DYNAMICO/xml/sponge_dynamico.xml, .),\ 37 37 (${MODIPSL}/modeles/DYNAMICO/xml/context_dynamico.xml, .),\ 38 38 (${MODIPSL}/modeles/DYNAMICO/xml/context_input_dynamico.xml, .),\ -
CONFIG/UNIFORM/v7/IPSLCM7/SOURCES/LMDZ/oasis.F90
r6296 r6445 62 62 INTEGER, PARAMETER :: ids_qraiic = 28 63 63 INTEGER, PARAMETER :: ids_qsnoic = 29 64 INTEGER, PARAMETER :: ids_delta_sst = 30, ids_delta_sal = 31 65 66 INTEGER, PARAMETER :: maxsend = 31 ! Maximum number of fields to send 64 INTEGER, PARAMETER :: ids_delta_sst = 30, ids_delta_sal = 31, ids_dter = 32, & 65 ids_dser = 33, ids_dt_ds = 34 66 67 INTEGER, PARAMETER :: maxsend = 34 ! Maximum number of fields to send 67 68 68 69 ! Id for fields received from ocean … … 207 208 infosend(ids_delta_sal)%action = .TRUE. 208 209 infosend(ids_delta_sal)%name = 'CODELSSS' 210 infosend(ids_dter)%action = .TRUE. 211 infosend(ids_dter)%name = 'CODELTER' 212 infosend(ids_dser)%action = .TRUE. 213 infosend(ids_dser)%name = 'CODELSER' 214 infosend(ids_dt_ds)%action = .TRUE. 215 infosend(ids_dt_ds)%name = 'CODTDS' 209 216 end if 210 217 -
CONFIG/UNIFORM/v7/IPSLCM7/SOURCES/LMDZ/physiq_mod.F90
r6296 r6445 34 34 USE FLOTT_GWD_rando_m, only: FLOTT_GWD_rando 35 35 USE fonte_neige_mod, ONLY : fonte_neige_get_vars 36 USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg, longitude,latitude, & 37 boundslon,boundslat, dx, dy, ind_cell_glo 36 USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg 38 37 USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, & 39 38 histwrite, ju2ymds, ymds2ju, getin 40 39 USE ioipsl_getin_p_mod, ONLY : getin_p 41 40 USE indice_sol_mod 42 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type s_trac, nqCO241 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac 43 42 USE readTracFiles_mod, ONLY: addPhase 44 43 USE strings_mod, ONLY: strIdx … … 54 53 USE pbl_surface_mod, ONLY : pbl_surface 55 54 USE phyaqua_mod, only: zenang_an 55 USE phyetat0_mod, only: phyetat0 56 56 USE phystokenc_mod, ONLY: offline, phystokenc 57 57 USE phys_cal_mod, only: year_len, mth_len, days_elapsed, jh_1jan, & … … 69 69 USE regr_horiz_time_climoz_m, ONLY: regr_horiz_time_climoz 70 70 USE regr_pr_time_av_m, only: regr_pr_time_av 71 USE surface_data, ONLY : type_ocean, ok_veget, landice_opt 72 USE time_phylmdz_mod, only: annee_ref, current_time, day_ini, day_ref, & 73 day_step_phy, itau_phy, pdtphys, raz_date, start_time, update_time, ndays 71 USE surface_data, ONLY : type_ocean, ok_veget 72 USE time_phylmdz_mod, only: current_time, itau_phy, pdtphys, raz_date, update_time 74 73 USE tracinca_mod, ONLY: config_inca 75 74 USE tropopause_m, ONLY: dyn_tropopause 76 75 USE ice_sursat_mod, ONLY: flight_init, airplane 77 76 USE vampir 78 USE VERTICAL_LAYERS_MOD, ONLY: aps,bps, ap, bp79 77 USE write_field_phy 80 78 #ifdef CPP_XIOS … … 83 81 USE lscp_mod, ONLY : lscp 84 82 USE wake_ini_mod, ONLY : wake_ini 83 USE yamada_ini_mod, ONLY : yamada_ini 84 USE atke_turbulence_ini_mod, ONLY : atke_ini 85 85 USE thermcell_ini_mod, ONLY : thermcell_ini 86 USE lscp_ini_mod, ONLY : lscp_ini 86 87 87 88 !USE cmp_seri_mod … … 101 102 102 103 104 #ifdef INCA 105 USE geometry_mod, ONLY: longitude, latitude, boundslon, boundslat, ind_cell_glo 106 USE time_phylmdz_mod, ONLY: ndays 107 USE infotrac_phy, ONLY: nqCO2 108 #endif 103 109 #ifdef REPROBUS 104 USE CHEM_REP, ONLY : Init_chem_rep_xjour, & 105 d_q_rep,d_ql_rep,d_qi_rep,ptrop,ttrop, & 106 ztrop, gravit,itroprep, Z1,Z2,fac,B 110 USE chem_rep, ONLY: Init_chem_rep_xjour, d_q_rep, d_ql_rep, d_qi_rep, & 111 ptrop, ttrop, ztrop, gravit, itroprep, Z1, Z2, fac, B 112 #endif 113 #if defined INCA || defined REPROBUS 114 USE time_phylmdz_mod, ONLY: annee_ref, day_ini, day_ref, start_time 115 USE vertical_layers_mod, ONLY: aps, bps, ap, bp 107 116 #endif 108 117 … … 110 119 #ifdef CPP_RRTM 111 120 USE YOERAD, ONLY : NRADLP 112 USE YOESW, ONLY : RSUN121 ! USE YOESW, ONLY : RSUN 113 122 #endif 114 123 … … 136 145 ! Variables locales pour effectuer les appels en serie 137 146 t_seri,q_seri,ql_seri,qs_seri,u_seri,v_seri,tr_seri,rneb_seri, & 147 rhcl, & 138 148 ! Dynamic tendencies (diagnostics) 139 149 d_t_dyn,d_q_dyn,d_ql_dyn,d_qs_dyn,d_u_dyn,d_v_dyn,d_tr_dyn,d_rneb_dyn, & … … 146 156 d_t_ajsb,d_q_ajsb, & 147 157 d_t_ajs,d_q_ajs,d_u_ajs,d_v_ajs, & 148 d_t_ajs_w,d_q_ajs_w, &149 d_t_ajs_x,d_q_ajs_x, &158 ! d_t_ajs_w,d_q_ajs_w, & 159 ! d_t_ajs_x,d_q_ajs_x, & 150 160 ! 151 161 d_t_eva,d_q_eva,d_ql_eva,d_qi_eva, & … … 160 170 d_ts, & 161 171 ! 162 d_t_oli,d_u_oli,d_v_oli, &172 ! d_t_oli,d_u_oli,d_v_oli, & 163 173 d_t_oro,d_u_oro,d_v_oro, & 164 174 d_t_oro_gw,d_u_oro_gw,d_v_oro_gw, & … … 279 289 sij, & 280 290 ! 291 rneblsvol, & 292 zqsatl, zqsats, & 293 qclr, qcld, qss, qvc, rnebclr, rnebss, gamma_ss, & 294 Tcontr, qcontr, qcontr2, fcontrN, fcontrP, & 281 295 cldemi, & 282 296 cldfra, cldtau, fiwc, & … … 491 505 REAL dtadd(klon,klev) 492 506 493 !#ifdef CPP_XIOS494 ! TYPE(xios_context), SAVE :: g_ctx495 !#endif496 497 507 #ifndef CPP_XIOS 498 508 REAL, SAVE :: missing_val=nf90_fill_real … … 521 531 ! 522 532 ! 523 INTEGER debug524 533 INTEGER n 525 534 !ym INTEGER npoints … … 578 587 ! Upmost level reached by deep convection and related variable (jyg) 579 588 ! 580 INTEGER izero589 ! INTEGER izero 581 590 INTEGER k_upper_cv 582 591 !------------------------------------------------------------------ … … 748 757 REAL beta_prec_fisrt(klon,klev) ! taux de conv de l'eau cond (fisrt) 749 758 ! RomP <<< 750 REAL :: calday751 759 752 760 !IM cf FH pour Tiedtke 080604 … … 802 810 !C EXTERNAL o3cm ! initialiser l'ozone 803 811 EXTERNAL orbite ! calculer l'orbite terrestre 804 EXTERNAL phyetat0 ! lire l'etat initial de la physique805 812 EXTERNAL phyredem ! ecrire l'etat de redemarrage de la physique 806 813 EXTERNAL suphel ! initialiser certaines constantes … … 820 827 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 821 828 ! 822 REAL rhcl(klon,klev) ! humiditi relative ciel clair829 ! REAL rhcl(klon,klev) ! humiditi relative ciel clair 823 830 REAL dialiq(klon,klev) ! eau liquide nuageuse 824 831 REAL diafra(klon,klev) ! fraction nuageuse 825 REAL cldliq(klon,klev) ! eau liquide nuageuse832 REAL radocond(klon,klev) ! eau condensee nuageuse 826 833 ! 827 834 !XXX PB … … 846 853 REAL conv_t(klon,klev) ! convergence de la temperature(K/s) 847 854 ! 848 #ifdef INCA849 REAL zxsnow_dummy(klon)850 #endif851 855 REAL zsav_tsol(klon) 852 856 ! … … 863 867 real zqsat(klon,klev) 864 868 ! 865 INTEGER i, k, iq, j, nsrf, ll, l, itr869 INTEGER i, k, iq, nsrf, l, itr 866 870 ! 867 871 REAL t_coup … … 972 976 973 977 REAL picefra(klon,klev) 978 REAL zrel_oro(klon) 974 979 !IM cf. AM 081204 END 975 980 ! … … 1116 1121 ! climatology and the daylight climatology 1117 1122 INTEGER,SAVE :: ncid_climoz ! NetCDF file identifier 1118 REAL, POINTER, SAVE :: press_cen_climoz(:) ! Pressure levels1119 REAL, POINTER, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals1120 REAL, POINTER, SAVE :: time_climoz(:) ! Time vector1123 REAL, allocatable, SAVE :: press_cen_climoz(:) ! Pressure levels 1124 REAL, allocatable, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals 1125 REAL, allocatable, SAVE :: time_climoz(:) ! Time vector 1121 1126 CHARACTER(LEN=13), PARAMETER :: vars_climoz(2) & 1122 1127 = ["tro3 ","tro3_daylight"] … … 1178 1183 1179 1184 #ifdef INCA 1185 REAL :: calday, zxsnow_dummy(klon) 1180 1186 ! set de variables utilisees pour l'initialisation des valeurs provenant de INCA 1181 1187 REAL, DIMENSION(klon,klev,naero_grp,nbands) :: init_tauinca … … 1224 1230 #ifdef CPP_XIOS 1225 1231 ! switch to XIOS LMDZ physics context 1226 !!!!$OMP MASTER1227 !!!! WRITE(*,*)'PHYSICS XIOS Context :', g_ctx1228 !!!! CALL wxios_set_context()1229 !!!!$OMP END MASTER1230 1232 IF (.NOT. debut .AND. is_omp_master) THEN 1231 1233 CALL wxios_set_context() … … 1303 1305 CALL strataer_init 1304 1306 #endif 1305 1306 !!CALL flight_init1307 1307 1308 1308 print*, '=================================================' … … 1471 1471 tau_overturning_th(:)=0. 1472 1472 1473 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN1473 IF (ANY(type_trac == ['inca','inco'])) THEN 1474 1474 ! jg : initialisation jusqu'au ces variables sont dans restart 1475 1475 ccm(:,:,:) = 0. … … 1750 1750 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1751 1751 CALL wake_ini(rg,rd,rv,prt_level) 1752 CALL yamada_ini(klon,lunout,prt_level) 1753 CALL atke_ini(prt_level, lunout, RG, RD, RPI, RCPD) 1752 1754 CALL thermcell_ini(iflag_thermals,prt_level,tau_thermals,lunout, & 1753 1755 & RG,RD,RCPD,RKAPPA,RLVTT,RETV) 1754 1756 IF (ok_new_lscp) then 1757 CALL lscp_ini(pdtphys,ok_ice_sursat) 1758 endif 1755 1759 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1756 1760 … … 2038 2042 !c ENDDO 2039 2043 ! 2040 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL2044 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 2041 2045 #ifdef INCA 2042 2046 CALL VTe(VTphysiq) … … 2120 2124 ENDIF 2121 2125 ! 2122 IF ( ANY(types_trac == 'repr')) THEN2126 IF (type_trac == 'repr') THEN 2123 2127 #ifdef REPROBUS 2124 2128 CALL chemini_rep( & … … 2222 2226 ENDIF 2223 2227 ENDIF 2224 ! switch to XIOS LMDZ physics context just in case2225 !$OMP MASTER2226 !!!!#ifdef CPP_XIOS2227 !!!! WRITE(*,*)'PHYSICS XIOS Context :', g_ctx2228 !!!! CALL xios_set_current_context(g_ctx)2229 !!!!#endif2230 !$OMP END MASTER2231 2232 2228 ! 2233 2229 ! … … 2241 2237 2242 2238 ! Update time and other variables in Reprobus 2243 IF ( ANY(types_trac == 'repr')) THEN2239 IF (type_trac == 'repr') THEN 2244 2240 #ifdef REPROBUS 2245 2241 CALL Init_chem_rep_xjour(jD_cur-jD_ref+day_ref) … … 3032 3028 ! 3033 3029 !>jyg 3034 IF ( ANY(types_trac == 'repr')) THEN3030 IF (type_trac == 'repr') THEN 3035 3031 nbtr_tmp=ntra 3036 3032 ELSE … … 3645 3641 ENDIF 3646 3642 3647 CALL lscp( phys_tstep,missing_val,paprs,pplay, &3643 CALL lscp(klon,klev,phys_tstep,missing_val,paprs,pplay, & 3648 3644 t_seri, q_seri,ptconv,ratqs, & 3649 d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, rneb_seri, & 3650 cldliq, picefra, rain_lsc, snow_lsc, & 3651 pfrac_impa, pfrac_nucl, pfrac_1nucl, & 3645 d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, rneblsvol, rneb_seri, & 3646 radocond, picefra, rain_lsc, snow_lsc, & 3652 3647 frac_impa, frac_nucl, beta_prec_fisrt, & 3653 3648 prfl, psfl, rhcl, & 3654 3649 zqasc, fraca,ztv,zpspsk,ztla,zthl,iflag_cld_th, & 3655 iflag_ice_thermo, ok_ice_sursat) 3650 iflag_ice_thermo, ok_ice_sursat, zqsatl, zqsats, & 3651 qclr, qcld, qss, qvc, rnebclr, rnebss, gamma_ss, & 3652 Tcontr, qcontr, qcontr2, fcontrN, fcontrP ) 3656 3653 3657 3654 ELSE … … 3659 3656 CALL fisrtilp(phys_tstep,paprs,pplay, & 3660 3657 t_seri, q_seri,ptconv,ratqs, & 3661 d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, cldliq, &3658 d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, radocond, & 3662 3659 rain_lsc, snow_lsc, & 3663 3660 pfrac_impa, pfrac_nucl, pfrac_1nucl, & … … 3706 3703 cldfra(i,k) = rneb(i,k) 3707 3704 !CR: a quoi ca sert? Faut-il ajouter qs_seri? 3708 IF (.NOT.new_oliq) cldliq(i,k) = ql_seri(i,k)3705 IF (.NOT.new_oliq) radocond(i,k) = ql_seri(i,k) 3709 3706 ENDDO 3710 3707 ENDDO … … 3770 3767 DO i = 1, klon 3771 3768 IF (diafra(i,k).GT.cldfra(i,k)) THEN 3772 cldliq(i,k) = dialiq(i,k)3769 radocond(i,k) = dialiq(i,k) 3773 3770 cldfra(i,k) = diafra(i,k) 3774 3771 ENDIF … … 3807 3804 DO i=1,klon 3808 3805 IF (ptconv(i,k).AND.ptconvth(i,k)) THEN 3809 cldliq(i,k)=cldliq(i,k)+rnebcon(i,k)*clwcon(i,k)3806 radocond(i,k)=radocond(i,k)+rnebcon(i,k)*clwcon(i,k) 3810 3807 cldfra(i,k)=min(cldfra(i,k)+rnebcon(i,k),1.) 3811 3808 ELSE IF (ptconv(i,k)) THEN 3812 3809 cldfra(i,k)=rnebcon(i,k) 3813 cldliq(i,k)=rnebcon(i,k)*clwcon(i,k)3810 radocond(i,k)=rnebcon(i,k)*clwcon(i,k) 3814 3811 ENDIF 3815 3812 ENDDO … … 3820 3817 DO i=1,klon 3821 3818 cldfra(i,k)=min(cldfra(i,k)+rnebcon(i,k),1.) 3822 cldliq(i,k)=cldliq(i,k)+rnebcon(i,k)*clwcon(i,k)3819 radocond(i,k)=radocond(i,k)+rnebcon(i,k)*clwcon(i,k) 3823 3820 ENDDO 3824 3821 ENDDO … … 3838 3835 IF (ptconv(i,k).AND. .NOT.ptconvth(i,k)) THEN 3839 3836 cldfra(i,k)=rnebcon(i,k) 3840 cldliq(i,k)=rnebcon(i,k)*clwcon(i,k)3837 radocond(i,k)=rnebcon(i,k)*clwcon(i,k) 3841 3838 ENDIF 3842 3839 ENDDO … … 3849 3846 ! Ancienne version 3850 3847 cldfra(:,:)=min(max(cldfra(:,:),rnebcon(:,:)),1.) 3851 cldliq(:,:)=cldliq(:,:)+rnebcon(:,:)*clwcon(:,:)3848 radocond(:,:)=radocond(:,:)+rnebcon(:,:)*clwcon(:,:) 3852 3849 ENDIF 3853 3850 … … 3869 3866 DO i = 1, klon 3870 3867 IF (diafra(i,k).GT.cldfra(i,k)) THEN 3871 cldliq(i,k) = dialiq(i,k)3868 radocond(i,k) = dialiq(i,k) 3872 3869 cldfra(i,k) = diafra(i,k) 3873 3870 ENDIF … … 3937 3934 ENDDO 3938 3935 3939 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN ! ModThL3936 IF (ANY(type_trac == ['inca','inco'])) THEN ! ModThL 3940 3937 #ifdef INCA 3941 3938 CALL VTe(VTphysiq) … … 3993 3990 #endif 3994 3991 ENDIF !type_trac = inca or inco 3995 IF ( ANY(types_trac == 'repr')) THEN3992 IF (type_trac == 'repr') THEN 3996 3993 #ifdef REPROBUS 3997 3994 !CALL chemtime_rep(itap+itau_phy-1, date0, dtime, itap) … … 4019 4016 tausum_aero, tau3d_aero) 4020 4017 ENDIF 4021 ELSE 4018 ELSE IF (iflag_rrtm .EQ.1) THEN ! RRTM radiation 4022 4019 IF (aerosol_couple .AND. config_inca == 'aero' ) THEN 4023 4020 abort_message='config_inca=aero et rrtm=1 impossible' … … 4085 4082 ! 4086 4083 ENDIF 4084 ELSE IF (iflag_rrtm .EQ.2) THEN ! ecrad RADIATION 4085 #ifdef CPP_ECRAD 4086 !--climatologies or INCA aerosols 4087 CALL readaerosol_optic_ecrad( debut, aerosol_couple, ok_alw, ok_volcan, & 4088 flag_aerosol, flag_bc_internal_mixture, itap, jD_cur-jD_ref, & 4089 pdtphys, pplay, paprs, t_seri, rhcl, presnivs, & 4090 tr_seri, mass_solu_aero, mass_solu_aero_pi, & 4091 tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm, & 4092 tausum_aero, drytausum_aero, tau3d_aero) 4093 #else 4094 abort_message='You should compile with -rad ecrad if running with iflag_rrtm=2' 4095 CALL abort_physic(modname,abort_message,1) 4096 #endif 4087 4097 ENDIF 4098 4088 4099 ELSE !--flag_aerosol = 0 4089 4100 tausum_aero(:,:,:) = 0. … … 4178 4189 ENDIF 4179 4190 CALL newmicro (flag_aerosol, ok_cdnc, bl95_b0, bl95_b1, & 4180 paprs, pplay, t_seri, cldliq, picefra, cldfra, &4191 paprs, pplay, t_seri, radocond, picefra, cldfra, & 4181 4192 cldtau, cldemi, cldh, cldl, cldm, cldt, cldq, & 4182 4193 flwp, fiwp, flwc, fiwc, & … … 4186 4197 ELSE 4187 4198 CALL nuage (paprs, pplay, & 4188 t_seri, cldliq, picefra, cldfra, cldtau, cldemi, &4199 t_seri, radocond, picefra, cldfra, cldtau, cldemi, & 4189 4200 cldh, cldl, cldm, cldt, cldq, & 4190 4201 ok_aie, & … … 4378 4389 4379 4390 #ifndef CPP_XIOS 4380 !--OB 30/05/2016 modified 21/10/20164381 !--here we return swaero_diag and dryaod_diag to FALSE4382 !--and histdef will switch it back to TRUE if necessary4383 !--this is necessary to get the right swaero at first step4384 !--but only in the case of no XIOS as XIOS is covered elsewhere4385 IF (debut) swaerofree_diag = .FALSE.4386 IF (debut) swaero_diag = .FALSE.4387 IF (debut) dryaod_diag = .FALSE.4388 !--IM 15/09/2017 here we return ok_4xCO2atm to FALSE4389 !--as for swaero_diag, see above4390 IF (debut) ok_4xCO2atm = .FALSE.4391 4392 4391 ! 4393 4392 !IM 2eme calcul radiatif pour le cas perturbe ou au moins un … … 4549 4548 DO i=1,klon 4550 4549 itest(i)=0 4551 ! IF ((zstd(i).gt.10.0)) THEN 4552 IF (((zpic(i)-zmea(i)).GT.100.).AND.(zstd(i).GT.10.0)) THEN 4550 zrel_oro(i)=zstd(i)/(max(zsig(i),1.E-8)*sqrt(cell_area(i))) 4551 !zrel_oro: relative mountain height wrt relief explained by mean slope 4552 ! -> condition on zrel_oro can deactivate the drag on tilted planar terrains 4553 ! such as ice sheets (work by V. Wiener) 4554 ! zpmm_orodr_t and zstd_orodr_t are activation thresholds set by F. Lott to 4555 ! earn computation time but they are not physical. 4556 IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN 4553 4557 itest(i)=1 4554 4558 igwd=igwd+1 … … 4599 4603 DO i=1,klon 4600 4604 itest(i)=0 4601 IF ((zpic(i)-zmea(i)).GT.100.) THEN 4605 !zrel_oro: relative mountain height wrt relief explained by mean slope 4606 ! -> condition on zrel_oro can deactivate the lifting on tilted planar terrains 4607 ! such as ice sheets (work by V. Wiener) 4608 zrel_oro(i)=zstd(i)/(max(zsig(i),1.E-8)*sqrt(cell_area(i))) 4609 IF (((zpic(i)-zmea(i)).GT.zpmm_orolf_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN 4602 4610 itest(i)=1 4603 4611 igwd=igwd+1 … … 4789 4797 ! car on peut s'attendre a ce que les petites echelles produisent aussi de la TKE 4790 4798 ! Mais attention, cela ne va pas dans le sens de la conservation de l'energie! 4791 IF ( zstd(i).GT.1.0) THEN4799 IF ((zstd(i).GT.1.0) .AND.(zrel_oro(i).LE.zrel_oro_t)) THEN 4792 4800 itest(i)=1 4793 4801 igwd=igwd+1 … … 4801 4809 DO i=1,klon 4802 4810 itest(i)=0 4803 IF (((zpic(i)-zmea(i)).GT. 100.).AND.(zstd(i).GT.10.0)) THEN4811 IF (((zpic(i)-zmea(i)).GT.zpmm_orodr_t).AND.(zstd(i).GT.zstd_orodr_t).AND.(zrel_oro(i).LE.zrel_oro_t)) THEN 4804 4812 itest(i)=1 4805 4813 igwd=igwd+1 … … 4968 4976 ! 4969 4977 4970 IF ( ANY(types_trac=='repr')) THEN4978 IF (type_trac == 'repr') THEN 4971 4979 !MM pas d'impact, car on recupere q_seri,tr_seri,t_seri via phys_local_var_mod 4972 4980 !MM dans Reprobus … … 5018 5026 presnivs, pphis, pphi, albsol1, & 5019 5027 sh_in, ch_in, rhcl, cldfra, rneb, & 5020 diafra, cldliq, itop_con, ibas_con, &5028 diafra, radocond, itop_con, ibas_con, & 5021 5029 pmflxr, pmflxs, prfl, psfl, & 5022 5030 da, phi, mp, upwd, & … … 5121 5129 ENDDO 5122 5130 ! 5123 IF (ANY(type s_trac == 'inca') .OR. ANY(types_trac == 'inco')) THEN5131 IF (ANY(type_trac == ['inca','inco'])) THEN 5124 5132 #ifdef INCA 5125 5133 CALL VTe(VTphysiq) … … 5145 5153 ENDIF 5146 5154 5147 IF ( ANY(types_trac == 'repr')) THEN5155 IF (type_trac == 'repr') THEN 5148 5156 #ifdef REPROBUS 5149 5157 CALL coord_hyb_rep(paprs, pplay, aps, bps, ap, bp, cell_area) … … 5183 5191 ENDDO 5184 5192 ! 5185 IF (nqtot > nqo) THEN 5186 itr = 0 5187 DO iq = 1, nqtot 5188 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 5189 itr = itr+1 5190 DO k = 1, klev 5191 DO i = 1, klon 5192 d_qx(i,k,iq) = ( tr_seri(i,k,itr) - qx(i,k,iq) ) / phys_tstep 5193 ENDDO 5193 ! DC: All iterations are cycled if nqtot==nqo, so no nqtot>nqo condition required 5194 itr = 0 5195 DO iq = 1, nqtot 5196 IF(.NOT.tracers(iq)%isInPhysics) CYCLE 5197 itr = itr+1 5198 DO k = 1, klev 5199 DO i = 1, klon 5200 d_qx(i,k,iq) = ( tr_seri(i,k,itr) - qx(i,k,iq) ) / phys_tstep 5194 5201 ENDDO 5195 5202 ENDDO 5196 END IF5203 ENDDO 5197 5204 ! 5198 5205 !IM rajout diagnostiques bilan KP pour analyse MJO par Jun-Ichi Yano … … 5398 5405 IF (read_climoz >= 1) THEN 5399 5406 IF (is_mpi_root) CALL nf95_close(ncid_climoz) 5400 DEALLOCATE(press_edg_climoz) ! pointer5401 DEALLOCATE(press_cen_climoz) ! pointer5407 DEALLOCATE(press_edg_climoz) 5408 DEALLOCATE(press_cen_climoz) 5402 5409 ENDIF 5403 5410 … … 5407 5414 5408 5415 #ifdef INCA 5409 if ( ANY(types_trac == 'inca' )) then5416 if (type_trac == 'inca') then 5410 5417 IF (is_omp_master .and. grid_type==unstructured) THEN 5411 5418 CALL finalize_inca -
CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
r6421 r6445 219 219 echo; echo "NOW COMPILE ORCHIDEE" 220 220 echo >> $outfile ; echo " NOW COMPILE ORCHIDEE" >> $outfile 221 if [ -d $modipsl/config/IPSLCM7/SOURCES/ORCHIDEE ] ; then222 cd $modipsl/config/IPSLCM7/SOURCES/ORCHIDEE223 for dir in $( find . -mindepth 1 -maxdepth 1 -type d ); do224 for file in $( find $dir -type f ! -path '*.svn*' ); do225 echo cp $file $modipsl/modeles/ORCHIDEE/$file >> $outfile226 cp $file $modipsl/modeles/ORCHIDEE/$file >> $outfile 2>&1227 done228 done229 cd $modipsl/modeles/ORCHIDEE230 fi231 221 232 222 # Check if the compilation of ORCHIDEE was previsouly interupted prematured. … … 361 351 echo; echo "NOW COMPILE DYNAMICO " 362 352 echo >> $outfile ; echo " NOW COMPILE DYNAMICO" >> $outfile 363 364 if [ -d $modipsl/config/IPSLCM7/SOURCES/DYNAMICO ] ; then365 cd $modipsl/config/IPSLCM7/SOURCES/DYNAMICO366 for dir in $( find . -mindepth 1 -maxdepth 1 -type d ); do367 for file in $( find $dir -type f ! -path '*.svn*' ); do368 echo cp $file $modipsl/modeles/DYNAMICO/$file >> $outfile369 cp $file $modipsl/modeles/DYNAMICO/$file >> $outfile 2>&1370 done371 done372 cd $modipsl/modeles/DYNAMICO373 fi374 375 353 376 354 echo ./make_icosa -$optmode -with_fcm1 -parallel $parallel -external_ioipsl -with_oasis -with_xios -arch $fcm_arch -arch_path $arch_path -job 8 $full_dyna >> $outfile
Note: See TracChangeset
for help on using the changeset viewer.