Ignore:
Timestamp:
10/06/23 11:32:05 (8 months ago)
Author:
jderouillat
Message:

Specify the usage of the xios namespace to overload the MPI funtions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/file.cpp

    r2507 r2589  
    272272      { 
    273273        // NetCDF runs now write of null data 
    274         MPI_Comm_dup(context->intraComm_, &fileComm) ; 
     274        xios::MPI_Comm_dup(context->intraComm_, &fileComm) ; 
    275275      } 
    276276 
     
    287287      //createSubComFile(); 
    288288      allZoneEmpty = false;  
    289       MPI_Comm_dup(context->intraComm_, &fileComm) ; 
     289      xios::MPI_Comm_dup(context->intraComm_, &fileComm) ; 
    290290      checkRead = true; 
    291291    } 
     
    312312 
    313313      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); 
    316316    } 
    317317    CATCH_DUMP_ATTR 
     
    725725        isOpen = false; 
    726726       } 
    727       if (fileComm != MPI_COMM_NULL) MPI_Comm_free(&fileComm); 
     727      if (fileComm != MPI_COMM_NULL) xios::MPI_Comm_free(&fileComm); 
    728728   } 
    729729   CATCH_DUMP_ATTR 
Note: See TracChangeset for help on using the changeset viewer.