multiple definition in the lapack lib

Post here if you want to report a bug to the LAPACK team

multiple definition in the lapack lib

Postby Bruno » Sat Dec 18, 2010 6:38 am


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

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 ?

Posts: 9
Joined: Fri Mar 07, 2008 3:41 am

Re: multiple definition in the lapack lib

Postby admin » Mon Jan 24, 2011 4:06 pm

Thank you Bruno for reporting this problem.
This has been corrected in our SVN repository.
Site Admin
Posts: 612
Joined: Wed Dec 08, 2004 7:07 pm

Return to Bug report

Who is online

Users browsing this forum: No registered users and 2 guests