Page 1 of 1

multiple definition in the lapack lib

PostPosted: Sat Dec 18, 2010 6:38 am
by Bruno
Hello,

when compiling lapack-3.3.0 I found that :

spotrf_ , cpotrf_, cgetrf_, cpotrf_, cgetrs_

are defined twice in the lib (in fact it is atlas which
detects this issue when I try to build a lapack lib
including the lapack routines from atlas).

Looking at the lapack-3.3.0/SRC/Makefile this seems normal
due to the fact that :

spotrf.o is both in the SLASRC and DSLASRC lists
cpotrf.o, cgetrf.o, cpotrf and cgetrs.o are both in the
CLASRC and ZCLASRC lists

I understand that DSLASRC and ZCLASRC are useful
when compiling only the double real and double complex
routines, but the makefile should be changed a little to
avoid this redondancy when compiling for the 4
precisions ?

hth
Bruno

Re: multiple definition in the lapack lib

PostPosted: Mon Jan 24, 2011 4:06 pm
by admin
Thank you Bruno for reporting this problem.
This has been corrected in our SVN repository.
Julie