- Timestamp:
- Jun 23, 2022, 6:36:15 PM (3 years ago)
- Location:
- LMDZ6/branches/Portage_acc/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Portage_acc/libf/phylmd/thermcell_env.F90
r4094 r4185 25 25 logical mask(ngrid,nlay) 26 26 27 !$acc data create (mask) & 28 !$acc & copyin (po, pt, pu, pv, pplay, pplev) & 29 !$acc & copyout (zo, zl, zh, ztv, zthl) & 30 !$acc & copyout (zpspsk, zu, zv, pqsat) & 31 !$acc & 32 27 33 28 34 !^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 29 35 ! Initialisations : 30 36 !------------------ 37 !!! temporary for GPU port write(81) ngrid,nlay,lev_out,po,pt,pu,pv,pplay,pplev 31 38 39 40 !$acc kernels default(none) async 32 41 mask(:,:)=.true. 33 42 !$acc end kernels 43 34 44 ! 35 45 ! calcul des caracteristiques de l environnement 46 !$acc kernels default(none) async 36 47 DO ll=1,nlay 37 48 DO ig=1,ngrid … … 41 52 enddo 42 53 enddo 43 54 !$acc end kernels 55 44 56 ! Condensation : 45 57 !--------------- … … 47 59 48 60 call thermcell_qsat(ngrid*nlay,mask,pplev,pt,po,pqsat) 61 !$acc kernels default(none) async 49 62 do ll=1,nlay 50 63 do ig=1,ngrid … … 54 67 enddo 55 68 enddo 56 69 !$acc end kernels 57 70 !----------------------------------------------------------------------- 58 71 if (prt_level.ge.1) print*,'0 OK convect8' 59 72 73 !$acc kernels default(none) async 60 74 do ll=1,nlay 61 75 do ig=1,ngrid … … 74 88 enddo 75 89 enddo 90 !$acc end kernels 76 91 77 RETURN 92 !!! temporary for GPU port !!!$acc update self(zo, zl, zh, ztv, zthl,zpspsk, zu, zv, pqsat) 93 !!! temporary for GPU port include "dump_param.h" ! replay automatic include 94 !$acc end data 95 RETURN 78 96 END -
LMDZ6/branches/Portage_acc/libf/phylmd/thermcell_ini_mod.F90
r4095 r4185 40 40 real, intent(in) :: RG_in,RD_in,RCPD_in,RKAPPA_in,RLVTT_in,RETV_in,tau_thermals_in 41 41 42 print*,'thermcell_ini' 43 if (iflag_thermals==15.or.iflag_thermals==16) then 44 dvdq=0 45 dqimpl=-1 46 else 47 dvdq=1 48 dqimpl=1 49 endif 42 if (iflag_thermals==15.or.iflag_thermals==16) then 43 dvdq=0 44 dqimpl=-1 45 else 46 dvdq=1 47 dqimpl=1 48 endif 50 49 prt_level=prt_level_in 51 50 RG=RG_in
Note: See TracChangeset
for help on using the changeset viewer.