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

Added a stub entry in both ADIOS and DataMan for ZFP support

parent b77c9f76
No related branches found
No related tags found
1 merge request!81Add zmq and zfp depends
......@@ -71,6 +71,7 @@ if(ADIOS_USE_MPI)
add_definitions(-DOMPI_SKIP_MPICXX)
endif()
option(ADIOS_USE_BZip2 "Enable support for BZip2 transforms" OFF)
option(ADIOS_USE_ZFP "Enable support for ZFP transforms" OFF)
option(ADIOS_USE_ADIOS1 "Enable support for the ADIOS 1 engine" OFF)
option(ADIOS_USE_HDF5 "Enable support for the HDF5 engine" OFF)
......@@ -79,7 +80,7 @@ option(ADIOS_USE_HDF5 "Enable support for the HDF5 engine" OFF)
set(ADIOS_USE_DataMan ${SHARED_LIBS_SUPPORTED})
include(GenerateADIOSConfig)
GenerateADIOSConfig(MPI BZip2 ADIOS1 HDF5 DataMan)
GenerateADIOSConfig(MPI ZFP BZip2 ADIOS1 HDF5 DataMan)
install(
FILES ${ADIOS_BINARY_DIR}/adios2/ADIOSConfig.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/adios2
......@@ -123,7 +124,7 @@ message("")
message("ADIOS2 build configuration:")
message(" ADIOS Version: ${ADIOS_VERSION}")
message(" C++ Compiler : ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} ${CMAKE_CXX_COMPILER_WRAPPER}")
message(" ${CMAKE_CXX_COMPILER}")
message(" ${CMAKE_CXX_COMPILER}")
message("")
message(" Installation prefix: ${CMAKE_INSTALL_PREFIX}")
message(" Features:")
......@@ -136,6 +137,7 @@ message(" Build Type: ${CMAKE_BUILD_TYPE}")
message(" Testing: ${BUILD_TESTING}")
message(" MPI: ${ADIOS_USE_MPI}")
message(" BZip2: ${ADIOS_USE_BZip2}")
message(" ZFP: ${ADIOS_USE_ZFP}")
message(" ADIOS1: ${ADIOS_USE_ADIOS1}")
message(" DataMan: ${ADIOS_USE_DataMan}")
message(" HDF5: ${ADIOS_USE_HDF5}")
......
......@@ -57,6 +57,12 @@ if(ADIOS_USE_BZip2)
target_link_libraries(adios2 PRIVATE BZip2::BZip2)
endif()
#if(ADIOS_USE_ZFP)
# find_package(ZFP REQUIRED)
# target_sources(adios2 PRIVATE transform/ZFP.cpp)
# target_link_libraries(adios2 PRIVATE zfp::zfp)
#endif()
if(ADIOS_USE_MPI)
find_package(MPI COMPONENTS C REQUIRED)
target_include_directories(adios2 PUBLIC ${MPI_C_INCLUDE_PATH})
......
......@@ -31,6 +31,15 @@ list(APPEND dataman_targets cacheman)
# list(APPEND dataman_targets zmqman)
#endif()
#if(ADIOS_USE_ZFP)
# find_package(ZFP REQUIRED)
#
# add_library(zfpman MODULE ZfpMan.h ZfpMan.cpp)
# target_link_libraries(zfpman PRIVATE dataman zfp::zfp)
#
# list(APPEND dataman_targets zfpman)
#endif()
install(
TARGETS ${dataman_targets} EXPORT adios2
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
......
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