Skip to content

Commit f62935f

Browse files
committed
Merge pull request #109 from JuliaParallel/eschnett/deepbind
Don't use RTLD_DEEPBIND
2 parents b3ef5a5 + d16b00e commit f62935f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/MPI.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ include("cman.jl")
1212

1313
function __init__()
1414
# need to open libmpi with RTLD_GLOBAL flag for Linux, before any ccall
15-
Libdl.dlopen(libmpi, Libdl.RTLD_LAZY|Libdl.RTLD_DEEPBIND|Libdl.RTLD_GLOBAL)
15+
# cannot use RTLD_DEEPBIND; this leads to segfaults at least on Ubuntu 15.10
16+
Libdl.dlopen(libmpi, Libdl.RTLD_LAZY|Libdl.RTLD_GLOBAL)
1617
end
1718

1819
end

0 commit comments

Comments
 (0)