[CentOS] lapack

Tue Dec 31 18:48:49 UTC 2019
Tony Schreiner <anthony.schreiner at bc.edu>

On Tue, Dec 31, 2019 at 1:24 PM Michael Hennebry <
hennebry at web.cs.ndsu.nodak.edu> wrote:

> Has anyone gotten lapack to work on centos 7?
> If so, how?
>
> Most recently, I installed lapace-devel and let yum bring in what it
> wanted.
> Whenever I try to link, I get a long list of undefined references ending
> with
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapacke.so:
> undefined reference to `dgeevx_'
>
> [hennebry at localhost test]$ nm -D /usr/lib64/libblas.so | grep dge
> 0000000000018850 T dgemm_
> 0000000000011080 T dgemv_
> 00000000000170c0 T dger_
> [hennebry at localhost test]$
> confirmes that the reference is not there.
>
> Installing blas or atlas first does not help.
> When installing lapack-devel, yum always wants to install blas-devel.
>
> What do I need?
>
>
> Are you also include -llapack ?

cc -I /usr/include/lapacke  source.c -llapacke -llapack