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? -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
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
On Tue, 31 Dec 2019, Tony Schreiner wrote:> 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_'>> Are you also include -llapack ? > > cc -I /usr/include/lapacke source.c -llapacke -llapackThank you. I just knew it would be a duh momemt. -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards