Changeset 4442
- Timestamp:
- Feb 17, 2023, 5:28:31 PM (2 years ago)
- Location:
- LMDZ6/branches/Portage_acc/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Portage_acc/libf/phylmd/physiq_mod.F90
r4166 r4442 1271 1271 !$acc & copyout(d_u,d_v,d_t,d_qx,d_ps) & 1272 1272 !$acc & create(t_w, q_w, limbas, d_t_adjwk, d_q_adjwk) & 1273 !$acc & create(t_x, q_x) 1273 !$acc & create(d_deltaq_ajs_cv, d_deltat_ajs_cv) & 1274 !$acc & create(t_x, q_x) & 1274 1275 ! !$acc & present(wake_s, wake_deltat, wake_deltaq) & 1275 ! !$acc & present(t_seri,q_seri)1276 !$acc & present(t_seri,q_seri, ql_seri, v_seri, u_seri, qs_seri, rneb_seri) 1276 1277 1277 1278 … … 1803 1804 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1804 1805 CALL wake_ini(rg,rd,rv,prt_level) 1806 CALL iophys_ini(pdtphys) ! replay automatic include 1807 open(81,file='dump_param.bin',form='unformatted') ! replay automatic include 1805 1808 CALL thermcell_ini(iflag_thermals,prt_level,tau_thermals,lunout, & 1806 & RG,RD,RCPD,RKAPPA,RLVTT,RETV )1809 & RG,RD,RCPD,RKAPPA,RLVTT,RETV, RTT) 1807 1810 1808 1811 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 3010 3013 !$acc update self(d_t_adjwk, d_q_adjwk) 3011 3014 ! 3012 3015 !$acc kernels default(none) async 3013 3016 DO k=1,klev 3014 3017 DO i=1,klon -
LMDZ6/branches/Portage_acc/libf/phylmd/thermcell_ini_mod.F90
r4185 r4442 4 4 save 5 5 integer :: dvdq=1,dqimpl=-1,prt_level=0,lunout 6 real RG,RD,RCPD,RKAPPA,RLVTT,RLvCp,RETV 6 real RG,RD,RCPD,RKAPPA,RLVTT,RLvCp,RETV, RTT 7 7 real :: r_aspect_thermals,tau_thermals,fact_thermals_ed_dz 8 8 integer :: iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure … … 10 10 11 11 !$OMP THREADPRIVATE(dvdq,dqimpl,prt_level,lunout) 12 !$OMP THREADPRIVATE(RG,RD,RCPD,RKAPPA,RLVTT,RLvCp )12 !$OMP THREADPRIVATE(RG,RD,RCPD,RKAPPA,RLVTT,RLvCp, RTT) 13 13 !$OMP THREADPRIVATE(r_aspect_thermals,tau_thermals,fact_thermals_ed_dz) 14 14 !$OMP THREADPRIVATE(iflag_thermals_ed,iflag_thermals_optflux,iflag_thermals_closure) … … 33 33 34 34 SUBROUTINE thermcell_ini(iflag_thermals,prt_level_in,tau_thermals_in,lunout_in, & 35 & RG_in,RD_in,RCPD_in,RKAPPA_in,RLVTT_in,RETV_in )35 & RG_in,RD_in,RCPD_in,RKAPPA_in,RLVTT_in,RETV_in, RTT_in) 36 36 37 37 USE ioipsl_getin_p_mod, ONLY : getin_p 38 38 39 39 integer, intent(in) :: iflag_thermals,prt_level_in,lunout_in 40 real, intent(in) :: RG_in,RD_in,RCPD_in,RKAPPA_in,RLVTT_in,RETV_in,tau_thermals_in 40 real, intent(in) :: RG_in,RD_in,RCPD_in,RKAPPA_in,RLVTT_in,RETV_in,tau_thermals_in, RTT_in 41 41 42 42 if (iflag_thermals==15.or.iflag_thermals==16) then … … 55 55 RLvCp = RLVTT/RCPD 56 56 RETV=RETV_in 57 RTT=RTT_in 57 58 tau_thermals=tau_thermals_in 58 59 lunout=lunout_in -
LMDZ6/branches/Portage_acc/libf/phylmd/thermcell_main.F90
r4132 r4442 130 130 #endif 131 131 132 132 133 ! 133 134 … … 165 166 ! -------------------------------------------------------------------- 166 167 ! 168 169 !$acc data & 170 !$acc & copyin (po, pt, pu, pv, pplay, pplev) & 171 !$acc & copyout(zo, zl, zh, ztv, zthl) & 172 !$acc & copyout (zpspsk, zu, zv, zqsat) & 173 !$acc & 174 167 175 CALL thermcell_env(ngrid,nlay,po,pt,pu,pv,pplay, & 168 176 & pplev,zo,zh,zl,ztv,zthl,zu,zv,zpspsk,zqsat,lev_out) 169 177 178 !$acc end data 170 179 if (prt_level.ge.1) print*,'thermcell_main apres thermcell_env' 171 180 … … 687 696 688 697 if (prt_level.ge.1) print*,'thermcell_main FIN OK' 698 689 699 690 700 RETURN
Note: See TracChangeset
for help on using the changeset viewer.