Ignore:
Timestamp:
03/09/17 12:19:33 (7 years ago)
Author:
yushan
Message:

minor modification for using intelmpi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/io/onetcdf4.cpp

    r1063 r1068  
    4747         wmpi = comm && !multifile; 
    4848          
    49          ep_lib::MPI_Info info_null; 
     49         //ep_lib::MPI_Info info_null; 
    5050 
    5151         if (wmpi) 
     
    5757            if (wmpi) 
    5858            { 
    59                CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 
    60                printf("creating file with createPar\n"); 
     59               // printf("start creating file with createPar\n"); 
     60               //CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 
     61               CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp); 
     62               // printf("creating file with createPar\n"); 
    6163            } 
    6264            else 
     
    7476            if (wmpi) 
    7577            { 
    76                CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 
    77                printf("opening file with openPar\n"); 
     78//               printf("start opening file with openPar\n"); 
     79               // CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), static_cast<MPI_Info>(info_null.mpi_info), this->ncidp); 
     80               CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp); 
     81//               printf("opening file with openPar\n"); 
    7882            } 
    7983            else 
Note: See TracChangeset for help on using the changeset viewer.