Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
563911a5
Commit
563911a5
authored
Jan 10, 2018
by
Philip Carns
Browse files
workaround for mr_mode flags
parent
2f43ab1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/perf-regression/bebop/mercury-psm2-mr-basic.patch
0 → 100644
View file @
563911a5
diff --git a/src/na/na_ofi.c b/src/na/na_ofi.c
index 152e034..f990fc0 100644
--- a/src/na/na_ofi.c
+++ b/src/na/na_ofi.c
@@ -866,7 +866,7 @@
na_ofi_getinfo(const char *prov_name, struct fi_info **providers)
hints->caps |= (FI_SOURCE | FI_SOURCE_ERR);
/* PSM2 provider requires FI_MR_BASIC bit to be set for now */
- hints->domain_attr->mr_mode |= FI_MR_BASIC;
+ hints->domain_attr->mr_mode = FI_MR_BASIC;
}
else if (!strcmp(prov_name, NA_OFI_PROV_VERBS_NAME)) {
hints->rx_attr->mode |= FI_CONTEXT;
tests/perf-regression/bebop/run-regression.sh
View file @
563911a5
...
...
@@ -25,6 +25,9 @@ mkdir $SANDBOX
mkdir
$JOBDIR
cp
margo-p2p-latency.sbatch
$JOBDIR
# TODO: this is temporary, the real fix is in topic_ofi branch and will
# be merged at some point
cp
mercury-psm2-mr-basic.patch
$SANDBOX
cd
$SANDBOX
git clone http://git.mpich.org/openpa.git/
...
...
@@ -96,6 +99,7 @@ make install
echo
"=== BUILDING MERCURY ==="
cd
$SANDBOX
/mercury
git submodule update
--init
patch
-p1
<
$SANDBOX
/mercury-psm2-mr-basic.patch
mkdir
build
cd
build
cmake
-DNA_USE_OFI
:BOOL
=
ON
-DMERCURY_USE_BOOST_PP
:BOOL
=
ON
-DCMAKE_INSTALL_PREFIX
=
/
$PREFIX
-DBUILD_SHARED_LIBS
:BOOL
=
ON
-DMERCURY_USE_SELF_FORWARD
:BOOL
=
ON
-DNA_USE_SM
:BOOL
=
ON ../
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment