Skip to content

Commit

Permalink
ch4/ofi: Add psm3 to subconfigure
Browse files Browse the repository at this point in the history
  • Loading branch information
nitbhat committed Apr 27, 2022
1 parent 265cf4e commit 4b6f1ef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/mpid/ch4/netmod/ofi/subconfigure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ AM_COND_IF([BUILD_CH4_NETMOD_OFI],[
if test "$no_providers" = "no" ; then
enable_psm="no"
enable_psm2="no"
enable_psm3="no"
enable_sockets="no"
enable_verbs="no"
enable_usnic="no"
Expand All @@ -71,6 +72,7 @@ AM_COND_IF([BUILD_CH4_NETMOD_OFI],[
else
enable_psm="yes"
enable_psm2="yes"
enable_psm3="yes"
enable_sockets="yes"
enable_verbs="yes"
enable_usnic="yes"
Expand Down Expand Up @@ -100,6 +102,9 @@ AM_COND_IF([BUILD_CH4_NETMOD_OFI],[
"psm2" | "opa")
enable_psm2="yes"
;;
"psm3")
enable_psm3="yes"
;;
"sockets")
enable_sockets="yes"
;;
Expand Down Expand Up @@ -189,6 +194,10 @@ AM_COND_IF([BUILD_CH4_NETMOD_OFI],[
AC_DEFINE([MPIDI_CH4_OFI_USE_SET_PSM2], [1], [Define to use PSM2 capability set])
enable_psm2="yes"
;;
"psm3")
AC_DEFINE([MPIDI_CH4_OFI_USE_SET_PSM3], [1], [Define to use PSM3 capability set])
enable_psm3="yes"
;;
"sockets")
AC_DEFINE([MPIDI_CH4_OFI_USE_SET_SOCKETS], [1], [Define to use sockets capability set])
enable_sockets="yes"
Expand Down Expand Up @@ -273,12 +282,13 @@ AM_COND_IF([BUILD_CH4_NETMOD_OFI],[
if test "$with_libfabric" = "embedded" ; then
ofi_embedded="yes"
AC_MSG_NOTICE([CH4 OFI Netmod: Using an embedded libfabric])
ofi_subdir_args="--enable-embedded --disable-psm3"
ofi_subdir_args="--enable-embedded"
prov_config=""
if test "x${netmod_args}" != "x" ; then
prov_config="$prov_config --enable-psm=${enable_psm}"
prov_config="$prov_config --enable-psm2=${enable_psm2}"
prov_config="$prov_config --enable-psm3=${enable_psm3}"
prov_config="$prov_config --enable-sockets=${enable_sockets}"
prov_config="$prov_config --enable-verbs=${enable_verbs}"
prov_config="$prov_config --enable-usnic=${enable_usnic}"
Expand Down

0 comments on commit 4b6f1ef

Please sign in to comment.