- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phydev/phys_state_var_mod.F90
r1910 r2408 7 7 !====================================================================== 8 8 9 USE dimphy, only : klon9 !USE dimphy, only : klon 10 10 11 11 12 REAL, ALLOCATABLE, SAVE :: rlat(:), rlon(:)13 ! $OMP THREADPRIVATE(rlat,rlon)12 !REAL, ALLOCATABLE, SAVE :: rlat(:), rlon(:) 13 !!$OMP THREADPRIVATE(rlat,rlon) 14 14 15 15 CONTAINS … … 17 17 !====================================================================== 18 18 SUBROUTINE phys_state_var_init() 19 use dimphy, only : klon19 ! use dimphy, only : klon 20 20 21 if (.not.allocated(rlat)) then22 ALLOCATE(rlat(klon),rlon(klon))23 else24 write(*,*) "phys_state_var_init: warning, rlat already allocated"25 endif21 ! if (.not.allocated(rlat)) then 22 ! ALLOCATE(rlat(klon),rlon(klon)) 23 ! else 24 ! write(*,*) "phys_state_var_init: warning, rlat already allocated" 25 ! endif 26 26 27 27 END SUBROUTINE phys_state_var_init … … 29 29 !====================================================================== 30 30 SUBROUTINE phys_state_var_end 31 use dimphy, only : klon31 ! use dimphy, only : klon 32 32 33 deallocate(rlat,rlon)33 ! deallocate(rlat,rlon) 34 34 35 35 END SUBROUTINE phys_state_var_end
Note: See TracChangeset
for help on using the changeset viewer.