Skip to content
Snippets Groups Projects
Commit 6a1095aa authored by guj's avatar guj Committed by Atkins, Charles Vernon
Browse files

added HDF5Reader flag for engine

parent ec2b621a
No related branches found
No related tags found
1 merge request!101Hdf5
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment