Commit 42cb7106 authored by Chuck Atkins's avatar Chuck Atkins

libfabric: Enable for use within adios2

parent ad2ce7f2
......@@ -116,6 +116,7 @@ function (superbuild_find_projects var)
fontconfig
glproto
gperf
libfabric
llvm
mesa
osmesa
......
cmake_dependent_option(adios2_USE_FABRIC
"Enable the use of RDMA fabrics for the SST engine" OFF
"CMAKE_SYSTEM_NAME MATCHES Linux" OFF)
mark_as_advanced(adios2_USE_FABRIC)
set(adios2_extra_deps)
if(adios2_USE_FABRIC)
list(APPEND adios2_extra_deps libfabric)
else()
list(APPEND adios2_extra_args -DPC_LIBFABRIC_FOUND:STRING=IGNORE)
endif()
superbuild_add_project(adios2
CAN_USE_SYSTEM
DEPENDS
cxx11 zfp
cxx11 zfp ${adios2_extra_deps}
DEPENDS_OPTIONAL
mpi
CMAKE_ARGS
......@@ -20,10 +32,12 @@ superbuild_add_project(adios2
-DADIOS2_USE_Profiling:STRING=OFF
-DADIOS2_USE_Python:STRING=OFF
-DADIOS2_USE_SSC:STRING=ON
-DADIOS2_USE_SST:STRING=OFF
-DADIOS2_USE_SST:STRING=ON
-DADIOS2_USE_SZ:STRING=OFF
-DADIOS2_USE_ZFP:STRING=${zfp_enabled}
-DADIOS2_USE_ZeroMQ:STRING=OFF)
-DADIOS2_USE_ZeroMQ:STRING=OFF
-DEVPATH_TRANSPORT_MODULES:BOOL=OFF
${adios2_extra_args})
superbuild_apply_patch(adios2 cmake-update-findmpi
"Fix issues with FindMPI in downstream dependees")
if(BUILD_SHARED_LIBS)
set(libfabric_args_shared --enable-shared --disable-static)
else()
set(libfabric_args_shared --disable-shared --enable-static)
endif()
superbuild_add_project(libfabric
CONFIGURE_COMMAND
<SOURCE_DIR>/configure
--prefix=<INSTALL_DIR>
${libfabric_args_shared}
BUILD_COMMAND
$(MAKE)
INSTALL_COMMAND
make install
BUILD_IN_SOURCE 1)
......@@ -194,3 +194,7 @@ superbuild_set_revision(zfp
superbuild_set_revision(adios2
URL "https://www.paraview.org/files/dependencies/adios2-v2.4.0.tar.gz"
URL_MD5 "4b0e66392b5c91cc4822be9ce800a2e8")
superbuild_set_revision(libfabric
URL "http://www.paraview.org/files/dependencies/libfabric-1.8.0.tar.bz2"
URL_MD5 "c19c257856cb6e5094e73bf727e2d76c")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment