Changeset 765 for palm/trunk
- Timestamp:
- Oct 10, 2011 6:28:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_open.f90
r668 r765 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! Bugfix concerning opening of 3D files in restart runs in case of netCDF4 6 7 ! 7 8 ! Former revisions: … … 1117 1118 ! 1118 1119 !-- Open an existing NetCDF file for output 1120 IF ( netcdf_data_format < 3 ) THEN 1121 nc_stat = NF90_OPEN( filename, NF90_WRITE, id_set_3d(av) ) 1122 ELSE 1119 1123 #if defined( __netcdf4 ) 1120 nc_stat = NF90_OPEN( filename, NF90_WRITE, id_set_3d(av), & 1121 COMM = comm2d, INFO = MPI_INFO_NULL ) 1122 #else 1123 nc_stat = NF90_OPEN( filename, NF90_WRITE, id_set_3d(av) ) 1124 #endif 1124 nc_stat = NF90_OPEN( filename, NF90_WRITE, id_set_3d(av), & 1125 COMM = comm2d, INFO = MPI_INFO_NULL ) 1126 #endif 1127 ENDIF 1125 1128 CALL handle_netcdf_error( 'check_open', 35 ) 1126 1129 !
Note: See TracChangeset
for help on using the changeset viewer.