Page 1 of 1

When lapack was linked to atlas the test/time failed, why?

PostPosted: Mon Jan 17, 2005 12:00 pm
by ww_wendy
I want to know how I solve the problem!
The problem is as follows during "make":
../../tmglib_SUN4SOL2.a ../../lapack_SUN4SOL2.a /magpar-0_3_1/libs/ATLAS/lib/SunOS_SunUS5/libf77blas.a -o ../xlintsts
未定义 文件中的

PostPosted: Wed Jan 19, 2005 12:13 am
by Julien Langou

I think in the file you have set:
Code: Select all
BLASLIB = /magpar-0_3_1/libs/ATLAS/lib/SunOS_SunUS5/libf77blas.a

and not
Code: Select all
BLASLIB = /magpar-0_3_1/libs/ATLAS/lib/SunOS_SunUS5/libf77blas.a /magpar-0_3_1/libs/ATLAS/lib/SunOS_SunUS5/libatlas.a

which may explain the error during the linkage.
You need both library: libf77blas.a and libatlas.a (and in this order), as explained in

However note that even though you manage to pass the linkage step then passing the tests of LAPACK with the ATLAS-BLAS is not trivial.

and you may also be interested in reading: ... completelp

Julien Langou