[Trilinos-Users] Trilinos with ATLAS
James Willenbring
jmwille at sandia.gov
Tue Jun 5 09:58:59 MDT 2007
Virginia,
When I have built Trilinos using ATLAS I have needed to specify other
libraries along with the main atlas library. For example:
--with-blas=-L/atlas/build/dir/lib/ -lcblas lf77blas latlas
You will also need a separate LAPACK library because not all of the
necessary LAPACK routines are available in ATLAS. If between Russells
suggestion and my suggestion you dont get it working, you can send me
<build_tree>/packages/teuchos/config.log and I can take a look at that file
if you would like.
Jim
_____
From: trilinos-users-bounces at software.sandia.gov
[mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Russell
Hooper
Sent: Tuesday, June 05, 2007 10:30 AM
To: Virginia Costa; trilinos-users at software.sandia.gov
Subject: Re: [Trilinos-Users] Trilinos with ATLAS
Virginia,
It appears that the version of blas you are trying to link against was built
with a different fortran underscore specification (likely double) than what
is expected by Trilinos (single underscore suffix).
You should be able to tell your fortran compiler to not use double
underscores in the suffix of fortran routines, eg. with the gcc compilers,
you can specify this via,
--with-fflags=-fno-second-underscore
It may be that this flag or an equivalent for your compiler is set and
should not be, in which case you will need to allow double underscore
suffixes to link against your available blas/lapack libraries.
Hope this helps,
Russell
On 6/5/07 9:03 AM, "Virginia Costa" <virscosta at gmail.com> wrote:
Hi,
Have anybody already used Trilinos with ATLAS?
I´m trying, but, when I configure trilinos with the options
--with-blas=/atlas/build/dir/lib/libatlas.a, it returns
checking for dgemm_ in /usr/local/ATLAS/atlas-build/lib/libatlas.a... no
configure: error: Cannot find blas library, specify a path using
--with-blas=DIR/LIB (for example --with-blas=/usr/path/lib/libcxml.a)
configure: error: /bin/sh './configure' failed for packages/teuchos
Can somebody help me, please?
Thanks.
Virginia.
_____
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20070605/9dfce892/attachment.html
More information about the Trilinos-Users
mailing list