Ignore:
Timestamp:
05/18/17 17:40:03 (7 years ago)
Author:
yushan
Message:

test_remap back to work. No thread for now

File:
1 edited

Legend:

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

    r1134 r1138  
    66#include "netCdfInterface.hpp" 
    77#include "netCdfException.hpp" 
     8// mpi_std.hpp 
    89 
    910namespace xios 
     
    1213 
    1314      CONetCDF4::CONetCDF4(const StdString& filename, bool append, bool useClassicFormat, bool useCFConvention,  
    14                            const ep_lib::MPI_Comm* comm, bool multifile, const StdString& timeCounterName) 
     15                           const MPI_Comm* comm, bool multifile, const StdString& timeCounterName) 
    1516        : path() 
    1617        , wmpi(false) 
     
    3031 
    3132      void CONetCDF4::initialize(const StdString& filename, bool append, bool useClassicFormat, bool useCFConvention,  
    32                                  const ep_lib::MPI_Comm* comm, bool multifile, const StdString& timeCounterName) 
     33                                 const MPI_Comm* comm, bool multifile, const StdString& timeCounterName) 
    3334      { 
    3435         this->useClassicFormat = useClassicFormat; 
     
    5455         { 
    5556            if (wmpi) 
    56                CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp);            
     57               //CNetCdfInterface::createPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp);            
     58               CNetCdfInterface::createPar(filename, mode, *comm, MPI_INFO_NULL_STD, this->ncidp);            
    5759            else 
    5860               CNetCdfInterface::create(filename, mode, this->ncidp); 
     
    6466            mode |= NC_WRITE; 
    6567            if (wmpi) 
    66                CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp); 
     68               //CNetCdfInterface::openPar(filename, mode, static_cast<MPI_Comm>(comm->mpi_comm), MPI_INFO_NULL_STD, this->ncidp); 
     69               CNetCdfInterface::openPar(filename, mode, *comm, MPI_INFO_NULL_STD, this->ncidp); 
    6770            else 
    6871               CNetCdfInterface::open(filename, mode, this->ncidp); 
Note: See TracChangeset for help on using the changeset viewer.