Skip to content

Commit

Permalink
Merge pull request #6249 from hjelmn/v4.0.x_fix_issue_6201_in_the_v4.…
Browse files Browse the repository at this point in the history
…0.x_branch

v4.0.x: btl/vader: don't try to set reachabilty in add_procs if not requested
  • Loading branch information
hppritcha authored Feb 11, 2019
2 parents 5dd6340 + b7fbdeb commit 6513b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opal/mca/btl/vader/btl_vader_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2018 Triad National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -276,7 +278,7 @@ static int vader_add_procs (struct mca_btl_base_module_t* btl,
continue;
}

if (my_proc != procs[proc]) {
if (my_proc != procs[proc] && NULL != reachability) {
/* add this proc to shared memory accessibility list */
rc = opal_bitmap_set_bit (reachability, proc);
if(OPAL_SUCCESS != rc) {
Expand Down

0 comments on commit 6513b85

Please sign in to comment.