Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt libfabric dataplane of SST to Cray CXI provider #3672

Merged
merged 7 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,14 @@ if(ADIOS2_USE_SST AND NOT WIN32)
if(CrayDRC_FOUND)
set(ADIOS2_SST_HAVE_CRAY_DRC TRUE)
endif()

try_compile(ADIOS2_SST_HAVE_CRAY_CXI
${ADIOS2_BINARY_DIR}/check_libfabric_cxi
${ADIOS2_SOURCE_DIR}/cmake/check_libfabric_cxi.c
CMAKE_FLAGS
"-DINCLUDE_DIRECTORIES=${LIBFABRIC_INCLUDE_DIRS}"
"-DLINK_DIRECTORIES=${LIBFABRIC_LIBRARIES}")
message(STATUS "Libfabric support for the HPE CXI provider: ${ADIOS2_SST_HAVE_CRAY_CXI}")
endif()
if(ADIOS2_HAVE_MPI)
set(CMAKE_REQUIRED_LIBRARIES "MPI::MPI_C;Threads::Threads")
Expand Down
5 changes: 5 additions & 0 deletions cmake/check_libfabric_cxi.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <stdbool.h>
#include <rdma/fabric.h>
#include <rdma/fi_cxi_ext.h>

int main() {}
1 change: 1 addition & 0 deletions source/adios2/toolkit/sst/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ set(SST_CONFIG_OPTS
UCX
FI_GNI
CRAY_DRC
CRAY_CXI
NVStream
MPI
)
Expand Down
Loading
Loading