Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USE_MKL=1 build failure #3606

Closed
blakejohnson opened this issue Jul 2, 2013 · 8 comments
Closed

USE_MKL=1 build failure #3606

blakejohnson opened this issue Jul 2, 2013 · 8 comments

Comments

@blakejohnson
Copy link
Contributor

On 32-bit Ubuntu 12.10. My Make.user file reads:

USE_MKL = 1
MKLLIB = /home/bjohnson/intel/mkl/lib/ia32

But, starting with a completely fresh clone of julia, make seems to bail out at the arpack tests. Here's the bottom of the build output:

Making check in UTIL
Making check in SRC
Making check in .
Making check in TESTS
/home/bjohnson/julia-mkl/deps/arpack-ng-3.1.3/TESTS/.libs/lt-dnsimp: error while loading shared libraries: libmkl_rt.so: cannot open shared object file: No such file or directory
make[2]: *** [arpack-ng-3.1.3/checked] Error 127
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

Looks like we are missing an appropriate rpath somewhere...

@nolta nolta closed this as completed in e8a94c0 Jul 3, 2013
@ViralBShah
Copy link
Member

Sorry about this. I think MKL usage is common enough that it would be nice to add it to our test suites - but the license is perhaps not permissive enough.

@StefanKarpinski
Copy link
Sponsor Member

I think the MKL can be used for free for non-commercial applications on Linux. I also think that we could afford to buy a developer license and ship MKL with Julia.

@ViralBShah
Copy link
Member

Shipping with julia will need a little more work - since OpenBLAS handles AMD architectures too. I have always wondered whether we can distribute - since this effectively makes MKL freely available then to anybody. I am sure there is a catch.

In any case, the license is permissive enough for us to use it for testing.

Cc: @staticfloat

@blakejohnson
Copy link
Contributor Author

e8a94c0 fixed the build. I now get a slew of library warnings when I actually use a BLAS method.

@ViralBShah You can distribute the MKL libraries if you have a commercial license.

@ViralBShah
Copy link
Member

It would be good to get BLAS performance tests going, before we decide to put effort into distributing MKL.

@blakejohnson
Copy link
Contributor Author

@ViralBShah A follow-up on the distribution question: it is answered in Intel's MKL FAQ: http://software.intel.com/en-us/articles/intel-math-kernel-library-licensing-faq

@ViralBShah
Copy link
Member

Thanks.

@ViralBShah
Copy link
Member

We should certainly work on including MKL in the Mac and Windows distributions, along with OpenBLAS.

KristofferC pushed a commit that referenced this issue Sep 5, 2023
Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 047734e4c
New commit: f570abd39
Julia version: 1.11.0-DEV
Pkg version: 1.11.0
Bump invoked by: @KristofferC
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@047734e...f570abd

```
$ git log --oneline 047734e4c..f570abd39
f570abd39 tweak how Pkg is loaded for precompiling when testing (#3606)
d3bd38b90 sort compat entries in `pkg> compat` (#3605)
5e07cfed0 Ensure that `string(::VersionSpec)` is compatible with `semver_spec()` (#3580)
6bed7c41a Clarify handling of LOAD_PATH in docstring and REPL help (#3589)
5261b3be7 tweak test dep docs (#3574)
72b430d50 status: expand 2 symbol upgrade note to highlight *may* be upgradable (#3576)
b32db473d precompile: show ext parent in output report (#3603)
```

Co-authored-by: Dilum Aluthge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants