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/vdifc_mod.F

    r2593 r2616  
    120120      LOGICAL,SAVE :: firstcall=.true.
    121121
     122!$OMP THREADPRIVATE(firstcall)
    122123
    123124c     variable added for CO2 condensation:
     
    127128      REAL,PARAMETER :: tcond1mb=136.27
    128129      REAL,SAVE :: acond,bcond
     130
     131!$OMP THREADPRIVATE(acond,bcond)
    129132     
    130133c     Subtimestep & implicit treatment of water vapor
     
    175178      REAL,SAVE :: ccond
    176179
     180!$OMP THREADPRIVATE(ccond)
     181
    177182c     Theta_m formulation for mass-variation scheme :
    178183c     ~~~~~~~
     
    183188      REAL vmr_co2(ngrid,nlay)
    184189      REAL qco2,mmean
     190
     191!$OMP THREADPRIVATE(ico2,m_co2,m_noco2,A,B)
    185192
    186193      REAL,INTENT(OUT) :: sensibFlux(ngrid)
Note: See TracChangeset for help on using the changeset viewer.