Changeset 2292 for trunk/LMDZ.TITAN/libf


Ignore:
Timestamp:
Apr 17, 2020, 7:48:38 PM (5 years ago)
Author:
mlefevre
Message:

MESOSCALE. Fixed misplaced OMP_THREADPRIVATE in Titan physics.

Location:
trunk/LMDZ.TITAN/libf/phytitan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/phys_state_var_mod.F90

    r2291 r2292  
    2424      real, dimension(:),allocatable,save :: albedo_equivalent     ! Spectral Mean albedo.
    2525
     26!$OMP THREADPRIVATE(tsurf,tsoil,albedo,albedo_equivalent)
     27
    2628      real,dimension(:),allocatable,save :: albedo_bareground ! Bare Ground Albedo. By MT 2015.
    2729
     30!$OMP THREADPRIVATE(albedo_bareground)
     31
    2832       real, dimension(:), allocatable, save       :: tankCH4    ! Depth of surface methane tank (m)
     33!$OMP THREADPRIVATE(tankCH4)
    2934
    3035      real,dimension(:),allocatable,save :: emis        ! Thermal IR surface emissivity.
     
    3540      real,dimension(:),allocatable,save :: fluxgrd     ! Surface conduction flux (W.m-2).
    3641      real,dimension(:,:),allocatable,save :: qsurf     ! Tracer on surface (e.g. kg.m-2).
     42
     43!$OMP THREADPRIVATE(emis,dtrad,fluxrad_sky,fluxrad,capcal,fluxgrd,qsurf,q2)
    3744
    3845      ! FOR DIAGNOSTIC :
     
    5562      real,dimension(:,:,:),allocatable,save :: int_dtaui   ! IR optical thickness of layers within narrowbands for diags ().
    5663
     64!$OMPTHREADPRIVATE(fluxsurf_lw,fluxsurf_sw,fluxsurfabs_sw,fluxtop_lw,fluxabs_sw,fluxtop_dn,fluxdyn,OLR_nu,OSR_nu,&       
     65        !$OMP zdtlw,zdtsw,sensibFlux,int_dtauv,int_dtaui))
    5766
    5867      real,allocatable,dimension(:,:),save :: qsurf_hist
     68!$OMP THREADPRIVATE(qsurf_hist)
    5969 
    6070CONTAINS
  • trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90

    r2291 r2292  
    214214      integer,save :: day_ini                                      ! Initial date of the run (sol since Ls=0).
    215215      integer,save :: icount                                       ! Counter of calls to physiq during the run.
    216 !$OMP THREADPRIVATE(day_ini,icount)
    217 
    218 !$OMP THREADPRIVATE(tsurf,tsoil,albedo,albedo_equivalent)
    219 
    220 !$OMP THREADPRIVATE(albedo_bareground)
    221 
    222 !$OMP THREADPRIVATE(emis,dtrad,fluxrad_sky,fluxrad,capcal,fluxgrd,qsurf,q2)
    223216
    224217
     
    232225     
    233226      ! FOR DIAGNOSTIC :
    234      
    235 !$OMP THREADPRIVATE(fluxsurf_lw,fluxsurf_sw,fluxsurfabs_sw,fluxtop_lw,fluxabs_sw,fluxtop_dn,fluxdyn,OLR_nu,OSR_nu,&       
    236         !$OMP zdtlw,zdtsw,sensibFlux,int_dtauv,int_dtaui))
    237227
    238228      real zls                       ! Solar longitude (radians).
     
    367357      real, dimension(ngrid,nlayer,nkim)          :: ysat ! (mol/mol)
    368358
    369       ! Surface methane
    370 !$OMP THREADPRIVATE(tankCH4)
    371359
    372360      real :: i2e(ngrid,nlayer)      ! int 2 ext factor ( X.kg-1 -> X.m-3 for diags )
Note: See TracChangeset for help on using the changeset viewer.