-
Notifications
You must be signed in to change notification settings - Fork 1.6k
ld: library not found for -lgfortran MacOS, clang + ifort compilers #2311
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
Comments
How do you compile the library?
|
This may be related to #1956 (and changes I made in response to that issue.). But yes more details of how you are building OpenBLAS (cmake or make ?) would be helpful. |
BTW that strange-looking conditional was added by xianyi some eight years ago, possibly to accomodate builds that included a prebuilt netlib LAPACK. I do not think it can hurt as long as the Intel libraries take precedence. Possibly there is a |
|
Any reason why you specifiy only select subtargets to make ? Not sure if that could circumvent or counteract parts of the normal build process (which is not particularly pretty). BTW you can set BUILD_RELAPACK=1 (or change the defaults in Makefile.rule) if you want ReLAPACK included, but beware it may not yet pass all the stock LAPACK tests. |
Could you confirm compilation with ifort and clang (or icl) and then add parts one by one until they fail? |
Here some barf over google lines: |
f_check has
I don't even have GNU compilers on my machine.
If I remove these lines then I get
The problem is that you are not stripping out the libifcoremt.a library so the resulting list cannot be used to make a dynamic library
Mac OS 10.14.6
ifort version 19.0.4.233
Apple clang version 11.0.0 (clang-1100.0.33.12)
The text was updated successfully, but these errors were encountered: