Skip to content
Snippets Groups Projects
Commit c0ce8c7d authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

ADIOS1: Enable compatibility with 1.10.0 adios_declare_group signature

parent 1173bd19
No related branches found
No related tags found
1 merge request!116ADIOS1: Enable compatibility with 1.10.0 adios_declare_group signature
......@@ -16,6 +16,11 @@
#include <adios.h>
// Enable compatibility with ADIOS 1.10 adios_declare_group signature
#if !ADIOS_VERSION_GE(1, 11, 0)
#define adios_stat_default adios_flag_yes
#endif
static int64_t group;
static int rank_saved;
......
......@@ -102,6 +102,9 @@ if(ADIOS_USE_HDF5)
"of ADIOS is being built, which requires a sequential HDF5."
)
endif()
message("DEBUG: HDF5_INCLUDE_DIRS: ${HDF5_INCLUDE_DIRS}")
message("DEBUG: HDF5_C_INCLUDE_DIRS: ${HDF5_C_INCLUDE_DIRS}")
message("DEBUG: HDF5_C_LIBRARIES: ${HDF5_C_LIBRARIES}")
target_include_directories(adios2 PRIVATE ${HDF5_C_INCLUDE_DIRS})
target_sources(adios2 PRIVATE
engine/hdf5/HDF5ReaderP.cpp
......
......@@ -17,6 +17,11 @@
extern int adios_verbose_level;
extern int adios_errno;
// Enable compatibility with ADIOS 1.10 adios_declare_group signature
#if !ADIOS_VERSION_GE(1, 11, 0)
#define adios_stat_default adios_flag_yes
#endif
namespace adios
{
......
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