Skip to content

Commit

Permalink
Fix MKL Pardiso support on Linux. Code was trying to load libgomp twi…
Browse files Browse the repository at this point in the history
…ce, once in the way that works on 1.0 and once the old way. (#38)
  • Loading branch information
Pbellive authored and KristofferC committed Dec 11, 2018
1 parent 637dfc2 commit 39852fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Pardiso.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ function __init__()
get_nthreads[] = Libdl.dlsym(libmkl_core, "mkl_domain_get_max_threads")
else
load_lib_fortran("libgomp", [7, 8])
Libdl.dlopen("libgomp", Libdl.RTLD_GLOBAL)
Libdl.dlopen(string(MKLROOT, "/lib/intel64/libmkl_core"), Libdl.RTLD_GLOBAL)
Libdl.dlopen(string(MKLROOT, "/lib/intel64/libmkl_gnu_thread"), Libdl.RTLD_GLOBAL)
libmkl_gd = Libdl.dlopen(string(MKLROOT, "/lib/intel64/libmkl_gf_lp64"), Libdl.RTLD_GLOBAL)
Expand Down

0 comments on commit 39852fb

Please sign in to comment.