- Timestamp:
- Mar 21, 2025, 3:26:37 PM (3 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified LMDZ6/trunk/libf/phylmd/iophy.F90 ¶
r5569 r5582 12 12 INTEGER, ALLOCATABLE, DIMENSION(:), SAVE :: nptabij 13 13 INTEGER, SAVE :: itau_iophy 14 !! WARNING, only itau_iophy needs to be put in a THREADPRIVATE statement, 15 !! io_lat,io_lon,phys_domain_id,npstn,nptabij are shared between OMP tasks 14 16 LOGICAL :: check_dim = .false. 15 17 !$OMP THREADPRIVATE(itau_iophy) … … 971 973 REAL, ALLOCATABLE, DIMENSION(:) :: fieldok 972 974 logical, save :: is_active = .true. 975 !! WARNING, is_active is shared between OMP tasks and should not be put in a THREADPRIVATE statement 973 976 974 977 IF (check_dim .AND. is_master) WRITE(lunout,*)'histwrite2d_phy for ',trim(var%name) -
TabularUnified LMDZ6/trunk/libf/phylmd/oasis.F90 ¶
r5483 r5582 137 137 CHARACTER (len = 20) :: modname = 'inicma' 138 138 CHARACTER (len = 80) :: abort_message 139 !! WARNING: cpl_current_omp should NOT be put in a THREADPRIVATE statement, it is shared between tasks 139 140 LOGICAL, SAVE :: cpl_current_omp 140 141 INTEGER, DIMENSION(klon_mpi) :: ind_cell_glo_mpi 141 142 !$OMP THREADPRIVATE(cpl_current_omp)143 142 144 143
Note: See TracChangeset
for help on using the changeset viewer.