Changeset 4186 for palm/trunk/SOURCE/netcdf_data_input_mod.f90
- Timestamp:
- Aug 23, 2019 4:06:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf_data_input_mod.f90
r4182 r4186 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Minor formatting adjustments 28 ! 29 ! 4182 2019-08-22 15:20:23Z scharf 27 30 ! Corrected "Former revisions" section 28 31 ! … … 5057 5060 5058 5061 #if defined( __netcdf4_parallel ) 5059 ! if __netcdf4_parallel is defined, parrallel NetCDF will be used unconditionally 5062 ! 5063 !-- If __netcdf4_parallel is defined, parrallel NetCDF will be used 5064 !-- unconditionally 5060 5065 nc_stat = NF90_OPEN( filename, IOR( NF90_WRITE, NF90_MPIIO ), id, & 5061 5066 COMM = comm2d, INFO = MPI_INFO_NULL ) 5062 IF(nc_stat /= NF90_NOERR ) THEN !possible NetCDF 3 file 5063 nc_stat = NF90_OPEN( filename, NF90_NOWRITE, id ) 5064 collective_read = .FALSE. 5067 ! 5068 !-- Check for possible Netcdf 3 file. 5069 IF( nc_stat /= NF90_NOERR ) THEN 5070 nc_stat = NF90_OPEN( filename, NF90_NOWRITE, id ) 5071 collective_read = .FALSE. 5065 5072 ELSE 5066 5067 END 5073 collective_read = .TRUE. 5074 ENDIF 5068 5075 #else 5069 5076 ! All MPI processes open und read
Note: See TracChangeset
for help on using the changeset viewer.