From 8969d78506dbd62ef3890ab74123e7b8ca8bfa46 Mon Sep 17 00:00:00 2001 From: Chuck Atkins <chuck.atkins@kitware.com> Date: Tue, 6 Jun 2017 15:58:23 -0400 Subject: [PATCH] Fix no-mpi build issues (#9) --- source/adios2/core/IO.inl | 1 - source/adios2/engine/dataman/DataManReader.h | 12 ++++++------ source/adios2/toolkit/interop/adios1/ADIOS1Common.h | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/adios2/core/IO.inl b/source/adios2/core/IO.inl index 8f41ca837..d7a850544 100644 --- a/source/adios2/core/IO.inl +++ b/source/adios2/core/IO.inl @@ -14,7 +14,6 @@ #error "Inline file should only be included from it's header, never on it's own" #endif -#include "adios2/ADIOSMPI.h" #include "adios2/ADIOSMacros.h" #include "adios2/helper/adiosFunctions.h" //BuildParametersMap diff --git a/source/adios2/engine/dataman/DataManReader.h b/source/adios2/engine/dataman/DataManReader.h index a34b455be..8fba72a99 100644 --- a/source/adios2/engine/dataman/DataManReader.h +++ b/source/adios2/engine/dataman/DataManReader.h @@ -74,13 +74,13 @@ private: Variable<T> *InquireVariableCommon(const std::string name, const bool readIn) { - int rank = 0; - MPI_Comm_rank(m_MPIComm, &rank); + //int rank = 0; + //MPI_Comm_rank(m_MPIComm, &rank); - std::cout << "I am hooked to the DataMan library\n"; - std::cout << "Hello DatamanReader from rank " << rank << "\n"; - std::cout << "Trying to read variable " << name - << " from one of the variables coming from a WAN transport\n"; + //std::cout << "I am hooked to the DataMan library\n"; + //std::cout << "Hello DatamanReader from rank " << rank << "\n"; + //std::cout << "Trying to read variable " << name + // << " from one of the variables coming from a WAN transport\n"; // here read variable metadata (dimensions, type, etc.)...then create a // Variable like below: diff --git a/source/adios2/toolkit/interop/adios1/ADIOS1Common.h b/source/adios2/toolkit/interop/adios1/ADIOS1Common.h index 11a7e1b2e..d5917f2e8 100644 --- a/source/adios2/toolkit/interop/adios1/ADIOS1Common.h +++ b/source/adios2/toolkit/interop/adios1/ADIOS1Common.h @@ -25,6 +25,7 @@ #endif #include "adios2/ADIOSMacros.h" +#include "adios2/ADIOSMPICommOnly.h" #include "adios2/ADIOSTypes.h" namespace adios -- GitLab