Changeset 6119 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Mar 23, 2026, 11:28:51 PM (9 days ago)
Author:
lguez
Message:

Set read_climoz to OpenMP threadprivate

In the process of rewriting module physiq_mod, we need
uniformization of coding. So make read_climoz threadprivate as other
saved variables in the physics part of LMDZ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r6107 r6119  
    10611061    ! Declaration des constantes et des fonctions thermodynamiques
    10621062    !
    1063     ! VARIABLES RELATED TO OZONE CLIMATOLOGIES ; all are OpenMP shared
     1063    ! VARIABLES RELATED TO OZONE CLIMATOLOGIES
    10641064    ! Note that pressure vectors are in Pa and in stricly ascending order
    10651065    INTEGER,SAVE :: read_climoz                ! Read ozone climatology
    1066     !     (let it keep the default OpenMP shared attribute)
    10671066    !     Allowed values are 0, 1 and 2
    10681067    !     0: do not read an ozone climatology
     
    10701069    !     2: read two ozone climatologies, the average day and night
    10711070    !     climatology and the daylight climatology
    1072 
     1071    !$OMP THREADPRIVATE(read_climoz)
     1072
     1073    !  Following variables are OpenMP shared
    10731074    INTEGER,SAVE :: ncid_climoz                ! NetCDF file identifier
    10741075    REAL, ALLOCATABLE, SAVE :: press_cen_climoz(:) ! Pressure levels
Note: See TracChangeset for help on using the changeset viewer.