Ignore:
Timestamp:
Jan 2, 2018, 3:11:14 PM (7 years ago)
Author:
emillour
Message:

Generic GCM:

  • fix rcm1d.F to cope with modifications introduced in revision 1835-1836
  • also add some missing threadprivate OpenMP directives in phys_state_var_mod and turb_mod

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/turb_mod.F90

    r1834 r1883  
    44  REAL,SAVE,ALLOCATABLE :: q2(:,:)    ! Turbulent Kinetic Energy
    55  REAL,allocatable,SAVE :: l0(:)
     6!$OMP THREADPRIVATE(q2,l0)
    67  REAL,SAVE,ALLOCATABLE :: ustar(:)
    78  REAL,SAVE,ALLOCATABLE :: wstar(:)
    89  REAL,SAVE,ALLOCATABLE :: tstar(:)
     10!$OMP THREADPRIVATE(ustar,wstar,tstar)
    911  REAL,SAVE,ALLOCATABLE :: hfmax_th(:)
    1012  REAL,SAVE,ALLOCATABLE :: zmax_th(:)
     13!$OMP THREADPRIVATE(hfmax_th,zmax_th)
    1114  REAL,SAVE,ALLOCATABLE :: sensibFlux(:)
    12   LOGICAL :: turb_resolved = .false.
     15  LOGICAL,SAVE :: turb_resolved = .false.
     16!$OMP THREADPRIVATE(sensibFlux,turb_resolved)
    1317      ! this is a flag to say 'turbulence is resolved'
    1418      ! mostly for LES use. default is FALSE (for GCM and mesoscale)
Note: See TracChangeset for help on using the changeset viewer.