Re: undefined reference to LAPACKE_***
- Date: Mon, 20 Nov 2017 10:08:36 +0100
- From: Csaba Raduly <rcsaba@xxxxxxxxx>
- Subject: Re: undefined reference to LAPACKE_***
On Sat, Nov 18, 2017 at 7:20 PM, Constantinos Zekios wrote:
> Hi Csaba,
> so I am using a cmake and it is of the format:
> set(LAPACK_LIB "/usr/lib/liblapack.so")
> set(LAPACK_LIB "/usr/lib/liblapacke.so")
> set(BLAS_LIB "/usr/lib/libblas.so") for my ubuntu system,
> which I changed it to:
> set(LAPACK_LIB "/usr/lib/liblapack.a")
> set(BLAS_LIB "/usr/lib/libblas.a") for the cygwin.
> If I set the set(LAPACK_LIB "/usr/lib/liblapacke.a") it complains that it
> doesn't exist, since as you also said this package doesn't exist in Cygwin.
> So in my code I am calling at some point functions like the LAPACKE_zlange
> and there is the issue. I guess I cannot use them in Cygwin, and I will have
> to change it to FORTRAN calls
Please don't top-post on this mailing list. (
I was asking for the linker command line, not the content of the cmake files.
You can get this by running
depending on the generator you chose.
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple