-
Notifications
You must be signed in to change notification settings - Fork 10
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
cmake / LAPACK problems 0.9.1 release #5
Comments
Thanks for reporting this issue! Just for clarification: This problem only occurs when LAPACKE is installed in a non-standard location or also if it's in the default system location? What specific error message do you get with regard to Could you share your patch for the linker errors? I am happy to add them to the repository if I can get them to work on my end. |
Hi @Inniag - that's correct, I'm seeing this with a LAPACKE 3.7.1 source installation in a non-system location. I'd be happy to share a patch - I'd been thinking it would make more sense to have it in a more functional state though. I don't (yet) have a configuration that results in a working binary - it runs, but the examples fail with a |
Unfortunately, I went with a non-mergable approach of editing the cmake generated files in order to end up with a working binary. But I can provide a little more info on symptoms of the problem.
Added
and creation of a 0 size The link problems with libgfortran turned out to be a problem on my end, when I was (incorrectly) using static lapacke libraries and passing the full path the the shared library to chap's cmake. |
Thanks, this is really helpful! Adding The runtime issue you are seeing is not something I have seen before. The file When you do the patched install, do all tests work out OK (i.e. |
When building 0.9.1 with LAPACK installed in a non-standard location, the link flags for LAPACKE_LIBRARIES don't get correctly propagated to linking the
chap
binary, resulting in link errors.Patching this results in additional link errors for
libgfortran
(at least with gcc 4.9.3 on CentOS 6), suggesting that there may be glitches in theFORTRANSUPPORTLIB
section ofcmake/Modules/FindLAPACKE/FindLAPACKE.cmake
The text was updated successfully, but these errors were encountered: