On Tue, Dec 31, 2019 at 1:24 PM Michael Hennebry < hennebry@xxxxxxxxxxxxxxxxxxxxx> 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@localhost test]$ nm -D /usr/lib64/libblas.so | grep dge > 0000000000018850 T dgemm_ > 0000000000011080 T dgemv_ > 00000000000170c0 T dger_ > [hennebry@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 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos