Skip to content

Commit 6513b85

Browse files
authored
Merge pull request #6249 from hjelmn/v4.0.x_fix_issue_6201_in_the_v4.0.x_branch
v4.0.x: btl/vader: don't try to set reachabilty in add_procs if not requested
2 parents 5dd6340 + b7fbdeb commit 6513b85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/btl/vader/btl_vader_module.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
1818
* Copyright (c) 2014-2015 Research Organization for Information Science
1919
* and Technology (RIST). All rights reserved.
20+
* Copyright (c) 2018 Triad National Security, LLC. All rights
21+
* reserved.
2022
* $COPYRIGHT$
2123
*
2224
* Additional copyrights may follow
@@ -276,7 +278,7 @@ static int vader_add_procs (struct mca_btl_base_module_t* btl,
276278
continue;
277279
}
278280

279-
if (my_proc != procs[proc]) {
281+
if (my_proc != procs[proc] && NULL != reachability) {
280282
/* add this proc to shared memory accessibility list */
281283
rc = opal_bitmap_set_bit (reachability, proc);
282284
if(OPAL_SUCCESS != rc) {

0 commit comments

Comments
 (0)