Joanna
Looks like you are missing the linking to the library that has csrot_ .
In your linking chain after lapack_LINUX.a, there needs to be a blas
library, either in libcblaswr.a (which I assume is a c wrapper), or cblas.a
(by -lcblas), or atlas.a that has csrot_ in it.
You could do 'grep csrot_ clbas.a atlas.a' and see if you do have csrot_ in
any of them. I compiled clapack3.1.1 libraries and here is what I get:
[du at brutus CLAPACK-3.1.1.1]$ nm -A *.a|grep csrot
264:blas_LINUX.a:csrot.o:0000000000000000 T csrot_
7071:lapack_LINUX.a:cbdsqr.o: U csrot_
8775:lapack_LINUX.a:claed8.o: U csrot_
8914:lapack_LINUX.a:clals0.o: U csrot_
8947:lapack_LINUX.a:clalsd.o: U csrot_
'T csrot_' means I have csrot_ in blas_LINUX.a. You should see something
similar so that your link would work.
Thanks,
Peng
Peng,
could you help this user please.
Thanks
Julie
Begin forwarded message:
From: Joanna Sasin-Kurowska <asia.sasin@Domain.Removed>
Date: January 28, 2009 5:19:25 AM MST
To: lapack@Domain.Removed
Subject: [Lapack] problems with clapack compilation
Hello,
I want to install CLAPACK on my computer. I downloaded version 3.1.1.1 and
have followed all the steps included in the README file. While executing
make at the ./CLAPACK/TESTING directory I got the error messages:
../../tmglib_LINUX.a ../../lapack_LINUX.a ../../libcblaswr.a -lcblas
-latlas ../../F2CLIBS/libf2c.a -lm -o ../xlintstc
../../lapack_LINUX.a(clalsd.o)(.text+0xd08): In function `clalsd_':
: undefined reference to `csrot_'
../../lapack_LINUX.a(clalsd.o)(.text+0x13b5): In function `clalsd_':
: undefined reference to `csrot_'
../../lapack_LINUX.a(cbdsqr.o)(.text+0x2852): In function `cbdsqr_':
: undefined reference to `csrot_'
../../lapack_LINUX.a(cbdsqr.o)(.text+0x28af): In function `cbdsqr_':
: undefined reference to `csrot_'
../../lapack_LINUX.a(cbdsqr.o)(.text+0x28f3): In function `cbdsqr_':
: undefined reference to `csrot_'
../../lapack_LINUX.a(clals0.o)(.text+0x2ab): more undefined references to
`csrot_' follow
collect2: ld returned 1 exit status
make[1]: *** [../xlintstc] Error 1
make[1]: Leaving directory `/home/jsasin/CLAPACK-3.1.1.1/TESTING/LIN'
make: *** [xlintstc] Error 2
Could anyone explain me what is the problem? Function `csrot_' is included
in a blaswrap.h file- does it mean that I haven't linked something?
Thanks a lot,
Joanna
_______________________________________________
Lapack mailing list
Lapack@Domain.Removed
http://lists.cs.utk.edu/listinfo/lapack
**********************************************
Julie Langou; Research Associate in Computer Science
Innovative Computing Laboratory;
University of Tennessee from Denver, Colorado ;-)
julie@Domain.Removed; http://www.cs.utk.edu/~julie/
**********************************************
Julie Langou; Research Associate in Computer Science
Innovative Computing Laboratory;
University of Tennessee from Denver, Colorado ;-)
julie@Domain.Removed; http://www.cs.utk.edu/~julie/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.cs.utk.edu/private/lapack/attachments/20090128/800b85fc/attachment.html
|