-
Notifications
You must be signed in to change notification settings - Fork 6
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
Building LBFGSB using julia compiled with MKL fails #4
Comments
yep. the reason is that the version of libgfortran linked by BB2 is libgfortran.so.3. if I remembered correctly, this has been fixed in the upstream. I'm trying to rebuild LBFGSB binaries using newer BB2. |
OK thanks, I tried with v1.1.0 but I still have the same issue. But when editing LD_LIBRARY_PATH, compilation does work. So I guess there is nothing more to do, just wait for the update? |
It seems that simply extending gcc versions is not enough for some platforms: https://travis-ci.org/Gnimuc/L-BFGS-B-Builder/builds/483380231 For debugging locally, I'm updating and downloading BB2 now, so you might need to wait a couple of more hours. :) |
hi @Djoop, I've rebuilt LBFGSB binaries for many gcc versions except for powerpc and macOS. you could download and replace the content of your LBFGSB's currently, I don't have a Linux machine that has a Julia built from source, so this method is still not tested, please add more comments if things still go bad. for macOS, it looks like I hit this issue: JuliaPackaging/BinaryBuilder.jl#381. BTW, could you elaborate more about how did you fix the compilation with |
Thank you for the quick fix, I works for me on linux by editing /deps/build.jl. |
@Djoop I've tagged a new release, you could use it as soon as JuliaLang/METADATA.jl#20831 is merged. Thanks for the feedback. |
I've been successfully using LBFGSB on julia 1.0.2, but recently I tried to compile julia with MKL to compare performances (still julia 1.0.2). When I try to build LBFGSB, I get the following error (I just changed the username):
I'm not sure to understand what is happening and if the compilation with MKL is really the issue or not, but the library is present and can be opened:
Any hint?
[EDIT] Sorry, posted too quickly, I used
open
and notdlopen
So I guess this is a more general problem, probably not related directly to LBFGSB or MKL but just to the fact that julia was compiled from source…
The text was updated successfully, but these errors were encountered: