Changeset 1149 for XIOS/dev/branch_yushan_merged/src/io/netCdfInterface.cpp
- Timestamp:
- 05/31/17 10:51:06 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/io/netCdfInterface.cpp
r1146 r1149 128 128 int CNetCdfInterface::close(int ncId) 129 129 { 130 int status = nc_close(ncId); 130 int status = NC_NOERR; 131 //#pragma omp critical (_netcdf) 132 #pragma omp master 133 { 134 status = nc_close(ncId); 131 135 if (NC_NOERR != status) 132 136 { … … 139 143 throw CNetCdfException(e); 140 144 } 141 145 } 142 146 return status; 143 147 }
Note: See TracChangeset
for help on using the changeset viewer.