Skip to content

Commit e00800c

Browse files
committed
Merge pull request open-mpi#990 from ggouaillardet/topic/v2.x/openib_hetero
btl/openib: fix heterogeneous support
2 parents 7f1300d + 2980400 commit e00800c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/mca/btl/openib/btl_openib_proc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* Copyright (c) 2014 Intel, Inc. All rights reserved.
1515
* Copyright (c) 2015 Mellanox Technologies. All rights reserved.
1616
*
17+
* Copyright (c) 2016 Research Organization for Information Science
18+
* and Technology (RIST). All rights reserved.
1719
* $COPYRIGHT$
1820
*
1921
* Additional copyrights may follow
@@ -223,7 +225,7 @@ mca_btl_openib_proc_t* mca_btl_openib_proc_get_locked(opal_proc_t* proc)
223225
size = modex_message_size;
224226
memcpy(&(ib_proc->proc_ports[i].pm_port_info), offset, size);
225227
#if !defined(WORDS_BIGENDIAN) && OPAL_ENABLE_HETEROGENEOUS_SUPPORT
226-
MCA_BTL_OPENIB_MODEX_MSG_NTOH(module_proc->proc_ports[i].pm_port_info);
228+
MCA_BTL_OPENIB_MODEX_MSG_NTOH(ib_proc->proc_ports[i].pm_port_info);
227229
#endif
228230
offset += size;
229231
BTL_VERBOSE(("unpacked btl %d: modex message, offset now %d",

0 commit comments

Comments
 (0)