Changeset 2742 for LMDZ5/trunk


Ignore:
Timestamp:
Jan 5, 2017, 4:34:58 PM (8 years ago)
Author:
oboucher
Message:

Adding a threadprivate to variable day_cur
Should fix some reproducibility problem for simulations longer than 1 day

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/rrtm/read_rsun_rrtm.F90

    r2726 r2742  
    1616  USE mod_phys_lmdz_para
    1717
    18   USE YOESW    , ONLY : RSUN
     18  USE YOESW, ONLY : RSUN
    1919
    2020  IMPLICIT NONE
     
    3333!$OMP THREADPRIVATE(TSI)
    3434
    35   INTEGER, SAVE :: day_pre
     35  INTEGER, SAVE :: day_pre=1
     36!$OMP THREADPRIVATE(day_pre)
    3637
    3738!--only one processor reads
Note: See TracChangeset for help on using the changeset viewer.