Ignore:
Timestamp:
Jan 18, 2022, 4:28:31 PM (3 years ago)
Author:
romain.vande
Message:

LMDZ_MARS RV : Open_MP;
Put all the "save" variables as "!$OMP THREADPRIVATE" in phymars.
The code can now be tested, see README for more info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F

    r2589 r2616  
    102102!                                    !   CCNs (m)
    103103      real,save :: beta ! correction for the shape of the ice particles (cf. newsedim)
     104     
     105!$OMP THREADPRIVATE(beta)
     106     
    104107c     for ice radius computation
    105108      REAL Mo,No
     
    128131      real,parameter :: rdimin=1.e-8 ! 1.e-7
    129132      real,parameter :: rdimax=1.e-4
     133     
     134!$OMP THREADPRIVATE(rd,rdi)
    130135
    131136c       2) Second size distribution for the log-normal integration
     
    138143      real sigma0
    139144
     145!$OMP THREADPRIVATE(rr)
     146     
    140147c       3) Other local variables used in doubleq
    141148
     
    164171      INTEGER,SAVE :: iccnco2_meteor_mass ! index of tracer containing CCN number
    165172      INTEGER,SAVE :: ico2_ice ! index of tracer containing CCN number
     173     
     174!$OMP THREADPRIVATE(idust_mass,idust_number,iccn_mass,iccn_number)
     175!$OMP THREADPRIVATE(istormdust_mass,istormdust_number,itopdust_mass)
     176!$OMP THREADPRIVATE(itopdust_number)
     177!$OMP THREADPRIVATE(iccnco2_number,iccnco2_mass,iccnco2_h2o_number)
     178!$OMP THREADPRIVATE(iccnco2_h2o_mass_ice)
     179!$OMP THREADPRIVATE(iccnco2_h2o_mass_ccn,ico2_ice)
    166180
    167181
    168182      LOGICAL,SAVE :: firstcall=.true.
     183     
     184!$OMP THREADPRIVATE(firstcall)
    169185
    170186
Note: See TracChangeset for help on using the changeset viewer.