Changeset 1795 for LMDZ5/branches/testing/libf/phydev
- Timestamp:
- Jul 18, 2013, 10:20:28 AM (12 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1747-1749,1751,1753-1767,1769,1771-1772,1774-1776,1778-1794
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phydev/physiq.F90
r1707 r1795 75 75 integer,save :: iwrite_phys ! output every iwrite_phys physics step 76 76 !$OMP THREADPRIVATE(iwrite_phys) 77 integer :: iwrite_phys_omp ! intermediate variable to read iwrite_phys 77 78 real :: t_ops ! frequency of the IOIPSL operations (eg average over...) 78 79 real :: t_wrt ! frequency of the IOIPSL outputs … … 86 87 ! Initialize outputs: 87 88 itau0=0 88 iwrite_phys=1 !default: output every physics timestep 89 call getin("iwrite_phys",iwrite_phys) 89 !$OMP MASTER 90 iwrite_phys_omp=1 !default: output every physics timestep 91 ! NB: getin() is not threadsafe; only one thread should call it. 92 call getin("iwrite_phys",iwrite_phys_omp) 93 !$OMP END MASTER 94 !$OMP BARRIER 95 iwrite_phys=iwrite_phys_omp 90 96 t_ops=pdtphys*iwrite_phys ! frequency of the IOIPSL operation 91 97 t_wrt=pdtphys*iwrite_phys ! frequency of the outputs in the file
Note: See TracChangeset
for help on using the changeset viewer.