Changeset 965 for trunk/LMDZ.GENERIC/libf/phystd/inistats.F
- Timestamp:
- May 22, 2013, 9:10:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/inistats.F
r135 r965 1 1 subroutine inistats(ierr) 2 2 3 #ifdef CPP_PARA 4 use mod_phys_lmdz_para, only : is_master 5 #endif 3 6 implicit none 4 7 … … 11 14 #include "netcdf.inc" 12 15 16 #ifndef CPP_PARA 17 logical,parameter :: is_master=.true. 18 #endif 13 19 integer,intent(out) :: ierr 14 20 integer :: nid … … 47 53 pseudoalt(l)=-10.*log(presnivs(l)/preff) 48 54 enddo 55 56 if (is_master) then 57 ! only the master needs do this 49 58 50 59 ierr = NF_CREATE("stats.nc",NF_CLOBBER,nid) … … 115 124 ierr=NF_CLOSE(nid) 116 125 126 endif ! of if (is_master) 117 127 end
Note: See TracChangeset
for help on using the changeset viewer.