message: added HDF5Reader flag for engine
diff: @@ -194,7 +194,16 @@ std::shared_ptr<Engine> ADIOS::Open(const std::string &name,
  "HDF5 library, can't use HDF5\n");
  #endif
  }
  -
  + else if (type == "HDF5Reader") // -Junmin
  + {
  +#if defined(ADIOS_HAVE_PHDF5) && defined(ADIOS_HAVE_MPI)
  + return std::make_shared<HDF5Reader>(*this, name, accessMode, mpiComm,
  + method);
  +#else
  + throw std::invalid_argument("ERROR: this version didn't compile with "
  + "HDF5 library, can't use HDF5\n");
  +#endif
  + }
  else
  {
  if (m_DebugMode == true)
  