[Trilinos-Users] Problem building trilinos-9.0.2 on bassi.nersc.gov

Doug Reeder dlr at rain.org
Sun Apr 5 11:43:13 MDT 2009


John,

is the routine that calls dbecon a c/c++ routine. If so it is going to  
add the trailing _. If you are building LAPACK w/ xlf add the - 
qextname argument to xlf and it will add the trailing underscores.

Doug Reeder
On Apr 5, 2009, at 9:31 AM, John R. Cary wrote:

> It seems that the build system knows that there should
> be no underscore, but then it looks for dgecon_, which
> has the underscore.
>
> nm shows that the symbol without the underscore is in the
> file.
>
> Any way to fix?  (I have v7.X.X installed, so not a hurry.)
>
> Thanks....John Cary
>
> checking whether to use teuchos-demangle... yes
> checking how to get verbose linking output from xlf_r... -v
> checking for Fortran 77 libraries of xlf_r...
> -L/usr/common/compilers/xlf_11103/usr/lib -lxlf90
> -L/usr/common/compilers/xlf_11103/usr/lpp/xlf/lib -lxlopt -lxlf
> -lxlomp_ser -lpthreads -lm
> checking for dummy main to link with Fortran 77 libraries... none
> checking for Fortran 77 name-mangling scheme... lower case, no
> underscore, no extra underscore
> checking for library containing pow... none required
> checking for pow... yes
> checking for sqrt... yes
> checking for dgemm_ in -lessl... yes
> checking for dgecon_ in /usr/common/usg/LAPACK/3.1.1/ 
> lapack_RS6K.a... no
> configure: error: Cannot find lapack library, specify a path using
> --with-lapack=DIR/LIB (ex. --with-lapack=/usr/path/lib/libcxml.a)
> configure: error: ../../../packages/teuchos/configure failed for
> packages/teuchos
> b0201.bassi$ b0201.bassi$ b0201.bassi$ b0201.bassi$ ls
> /usr/common/usg/LAPACK3.0/  3.1.1/b0201.bassi$ ls
> /usr/common/usg/LAPACK/3.1.1/
> lapack_RS6K.a  liblapack.a@  tmglib_RS6K.a
> b0201.bassi$ nm /usr/common/usg/LAPACK/3.1.1/lapack_RS6K.a | grep  
> dgecon*
> dgecon.o:
> 0000000000000000 T .dgecon
> 00000000000006a0 d dgecon
> 00000000000006b8 D dgecon
>                 U .dgecon
>                 U .dgecon
>
> _______________________________________________
> 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/pipermail/trilinos-users/attachments/20090405/42196a90/attachment.html 


More information about the Trilinos-Users mailing list