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

    r2578 r2616  
    9797      REAL,SAVE :: microtimestep_prev=-999
    9898     
     99      !$OMP THREADPRIVATE(imicro,microtimestep)
     100      !$OMP THREADPRIVATE(microtimestep_prev)
    99101      ! tendency given by clouds (inside the micro loop)
    100102      REAL subpdqcloud(ngrid,nlay,nq) ! cf. pdqcloud
     
    111113      INTEGER iq,ig,l
    112114      LOGICAL,SAVE :: firstcall=.true.
     115     
     116      !$OMP THREADPRIVATE(firstcall)
    113117
    114118! Representation of sub-grid water ice clouds A. Pottier 2013
     
    128132      REAL :: mincloud ! min cloud frac
    129133      LOGICAL, save :: flagcloud=.true.
     134     
     135      !$OMP THREADPRIVATE(flagcloud)
    130136
    131137c    ** un petit test de coherence
Note: See TracChangeset for help on using the changeset viewer.