Changeset 2589 for XIOS3/trunk/src/node/file.cpp
- Timestamp:
- 10/06/23 11:32:05 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/node/file.cpp
r2507 r2589 272 272 { 273 273 // NetCDF runs now write of null data 274 MPI_Comm_dup(context->intraComm_, &fileComm) ;274 xios::MPI_Comm_dup(context->intraComm_, &fileComm) ; 275 275 } 276 276 … … 287 287 //createSubComFile(); 288 288 allZoneEmpty = false; 289 MPI_Comm_dup(context->intraComm_, &fileComm) ;289 xios::MPI_Comm_dup(context->intraComm_, &fileComm) ; 290 290 checkRead = true; 291 291 } … … 312 312 313 313 int color = allZoneEmpty ? 0 : 1; 314 MPI_Comm_split(context->intraComm_, color, context->intraCommRank_, &fileComm);315 if (allZoneEmpty) MPI_Comm_free(&fileComm);314 xios::MPI_Comm_split(context->intraComm_, color, context->intraCommRank_, &fileComm); 315 if (allZoneEmpty) xios::MPI_Comm_free(&fileComm); 316 316 } 317 317 CATCH_DUMP_ATTR … … 725 725 isOpen = false; 726 726 } 727 if (fileComm != MPI_COMM_NULL) MPI_Comm_free(&fileComm);727 if (fileComm != MPI_COMM_NULL) xios::MPI_Comm_free(&fileComm); 728 728 } 729 729 CATCH_DUMP_ATTR
Note: See TracChangeset
for help on using the changeset viewer.