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

Add support for OFI conduit in GASNet #1538

Merged
merged 1 commit into from
Nov 8, 2024
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
1 change: 1 addition & 0 deletions cmake/legion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ else()
set(Legion_EMBED_GASNet_VERSION "GASNet-2022.3.0" CACHE STRING "GASNet version")
set(Legion_NETWORKS "gasnetex" CACHE STRING "GASNet conduit")
set(GASNet_CONDUIT ${FF_GASNET_CONDUIT})
set(GASNet_SYSTEM ${FF_GASNET_SYSTEM})
elseif("${FF_LEGION_NETWORKS}" STREQUAL "ucx")
set(ucx_ROOT ${UCX_PATH}/lib/cmake)
message(STATUS "Find ucx: ${UCX_PATH}")
Expand Down
7 changes: 7 additions & 0 deletions config/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ if [ "$FF_LEGION_NETWORKS" = "gasnet" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=mpi"
elif [ "$FF_GASNET_CONDUIT" = "udp" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=udp"
elif [ "$FF_GASNET_CONDUIT" = "ofi" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=ofi"
if [ "$FF_GASNET_SYSTEM" = "slingshot11" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_SYSTEM=slingshot11"
elif [ "$FF_GASNET_SYSTEM" = "slingshot10" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_SYSTEM=slingshot10"
fi
fi
elif [ "$FF_LEGION_NETWORKS" = "ucx" ]; then
SET_LEGION_NETWORKS+=" -DFF_LEGION_NETWORKS=ucx"
Expand Down
3 changes: 3 additions & 0 deletions config/config.linux
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ FF_LEGION_NETWORKS=${FF_LEGION_NETWORKS:-}
# select GASNET conduit
FF_GASNET_CONDUIT=${FF_GASNET_CONDUIT:-ibv}

# select GASNET system (usually with OFI conduit)
FF_GASNET_SYSTEM=${FF_GASNET_SYSTEM:-slingshot11}

# set UCX dir if Legion networks is set to ucx
UCX_DIR=${UCX_DIR:-""}

Expand Down
Loading