Ignore:
Timestamp:
Jan 28, 2025, 7:07:51 PM (2 days ago)
Author:
yann meurdesoif
Message:

Implement GPU automatic port for :

  • Thermics
  • acama_gwd_rando
  • flott_gwd_rando

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/lmdz_thermcell_main.F90

    r5390 r5512  
    140140
    141141
    142       integer,save :: igout=1
    143 !$OMP THREADPRIVATE(igout)
    144       integer,save :: lunout1=6
    145 !$OMP THREADPRIVATE(lunout1)
    146       integer,save :: lev_out=10
    147 !$OMP THREADPRIVATE(lev_out)
     142      integer, parameter :: igout=1
     143      integer, parameter :: lunout1=6
     144      integer, parameter :: lev_out=10
    148145
    149146      real lambda, zf,zf2,var,vardiff,CHI
     
    166163      logical, dimension(ngrid,nlay) :: mask
    167164
    168       character (len=20) :: modname='thermcell_main'
     165      character (len=20), parameter :: modname='thermcell_main'
    169166      character (len=80) :: abort_message
    170167
     
    191188       sorties=.true.
    192189      IF(ngrid.NE.ngrid) THEN
    193          PRINT*
    194190         PRINT*,'STOP dans convadj'
    195191         PRINT*,'ngrid    =',ngrid
     
    240236        !    SUBROUTINE thermcell_env(ngrid,nlay,po,pt,pu,pv,pplay,  &
    241237        ! &           pplev,zo,zh,zl,ztv,zthl,zu,zv,zpspsk,pqsat,lev_out)
    242         ! contenu thermcell_env : call thermcell_qsat(ngrid*nlay,mask,pplev,pt,po,pqsat)
     238        ! contenu thermcell_env : call thermcell_qsat(ngrid, nlay,mask,pplev,pt,po,pqsat)
    243239        ! contenu thermcell_env : do ll=1,nlay
    244240        ! contenu thermcell_env :    do ig=1,ngrid
     
    272268            enddo
    273269        enddo
    274         call thermcell_qsat(ngrid*nlay,mask,pplev,ptemp_env,p_o,zqsat)
     270        call thermcell_qsat(ngrid, nlay, mask,pplev,ptemp_env,p_o,zqsat)
    275271         
    276272      endif
Note: See TracChangeset for help on using the changeset viewer.