Ignore:
Timestamp:
Mar 23, 2026, 11:29:20 PM (2 weeks ago)
Author:
lguez
Message:

Set ncid_climoz to OpenMP threadprivate

Set ncid_climoz to OpenMP threadprivate in procedure
physiq. ncid_climoz is only used by the master thread of root MPI
process so we can set it to threadprivate and define it only for the
master thread of root MPI process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/open_climoz_m.f90

    r5268 r6120  
    2525! and in strictly ascending order.
    2626!-------------------------------------------------------------------------------
    27 ! Arguments (OpenMP shared):
    2827  INTEGER, INTENT(OUT):: ncid      !--- "climoz_LMDZ.nc" identifier
     28  ! Following arguments are OpenMP shared:
    2929  REAL, allocatable, intent(out):: press_in_cen(:) !--- at cells centers
    3030  REAL, allocatable, INTENT(OUT):: press_in_edg(:) !--- at the interfaces (pressure intervals)
Note: See TracChangeset for help on using the changeset viewer.