Changeset 3743 for trunk/LMDZ.MARS


Ignore:
Timestamp:
Apr 28, 2025, 6:30:07 PM (8 weeks ago)
Author:
emillour
Message:

Mars PCM:
OpenMP bug fix: add some missing threadprivate statements in moldiff_MPF
EM

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3741 r3743  
    48234823== 28/04/2025 == JBC
    48244824Simplification and clarification for the prescription of the atmospheric water profile in 1D: the boolean 'prescribed_h2ovap' activates the option, the file "profile_prescribed_h2ovap" defines the prescribed profile and the value 'h2ovap_relax_time', if positive, activates the relaxation and gives the constant of time.
     4825
     4826== 28/04/2025 == EM
     4827OpenMP bug fix: add some missing threadprivate statements in moldiff_MPF
  • trunk/LMDZ.MARS/libf/aeronomars/moldiff_MPF.F90

    r3443 r3743  
    6363      real*8 zz(nlayer)
    6464      real*8,dimension(:,:),allocatable,save :: qq,qnew,qint,FacMass
     65!$OMP THREADPRIVATE(qq,qnew,qint,FacMass)
    6566      real*8,dimension(:,:),allocatable,save :: rhoK,rhokinit
     67!$OMP THREADPRIVATE(rhoK,rhokinit)
    6668      real*8 rhoT(nlayer)
    6769      real*8 dmmeandz(nlayer)
     
    7678      real*8,dimension(:),allocatable :: alpha,beta,delta,ksi,eps,zeta,prod,loss
    7779      real*8,dimension(:),allocatable,save :: wi,Wad,Uthermal,Lambdaexo,Hspecie,alphaT
     80!$OMP THREADPRIVATE(wi,Wad,Uthermal,Lambdaexo,Hspecie,alphaT)
    7881      real*8,dimension(:),allocatable,save :: Mtot1,Mtot2,Mraf1,Mraf2
     82!$OMP THREADPRIVATE(Mtot1,Mtot2,Mraf1,Mraf2)
    7983      integer,parameter :: ListeDiffNb=16
    8084      character(len=20),dimension(ListeDiffNb) :: ListeDiff
     
    9296! vertical index limit for the molecular diffusion
    9397      integer,save :: il0 
    94 
    95 !$OMP THREADPRIVATE(qq,qnew,qint,FacMass,rhoK,rhokinit,wi,Wad,Uthermal,Lambdaexo,Hspecie,Mtot1,Mtot2,Mraf1,Mraf2,i_h2,i_h,i_d,il0)
     98!$OMP THREADPRIVATE(i_h2,i_h,i_d,i_hd,il0)
    9699
    97100! Tracer indexes in the GCM:
Note: See TracChangeset for help on using the changeset viewer.