Skip to content

Commit 0209235

Browse files
committed
btl/openib: allow the use of the openib btl in thread muliple
There were several issues preventing the openib btl from running in thread multiple mode: - Missing locks in UDCM when generating a loopback endpoint. Fixed in open-mpi/ompi@8205d79. - Incorrect sequence numbers generated in debug mode. This did not prevent the openib btl from running but instead produced incorrect error messages in debug builds. Fixed in open-mpi/ompi@c101385. - Recursive locking of the rcache lock caused by the malloc hooks. This is fixed by open-mpi#827 master commit open-mpi/ompi@64e4419 Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 436b3b0 commit 0209235

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

opal/mca/btl/openib/btl_openib_component.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,12 +2534,6 @@ btl_openib_component_init(int *num_btl_modules,
25342534
malloc_hook_set = true;
25352535
}
25362536
#endif
2537-
/* Currently refuse to run if MPI_THREAD_MULTIPLE is enabled */
2538-
if (enable_mpi_threads && !mca_btl_base_thread_multiple_override) {
2539-
opal_output_verbose(5, opal_btl_base_framework.framework_output,
2540-
"btl:openib: MPI_THREAD_MULTIPLE not suppported; skipping this component");
2541-
goto no_btls;
2542-
}
25432537

25442538
/* Per https://svn.open-mpi.org/trac/ompi/ticket/1305, check to
25452539
see if $sysfsdir/class/infiniband exists. If it does not,

0 commit comments

Comments
 (0)