[Trilinos-Users] Trilinos on bassi.nersc.gov?

Doug Reeder dlr at rain.org
Fri Nov 30 17:20:58 MST 2007


John,

It looks like the loader is trying to find some 64-bit memory  
routines from the xlc libraries. Do you need to add them to the -L -l  
arguments, or is the xlc_r usage inhibiting those libraries from  
getting linked.

Doug Reeder
On Nov 30, 2007, at 3:53 PM, John R. Cary wrote:

> I am trying to use trilinos on bassi.nersc.gov.  I can build
> trilinos using
>
> b0201.cary$ head config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by Trilinos configure 7.0.9, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>
>   $ ../configure --prefix=/usr/common/homes/c/cary/aix5.3/ 
> trilinos-7.0.9-xlc8 --with-blas=essl --with-libs=/usr/common/usg/ 
> LAPACK/3.0/liblapack.a --disable-default-packages --enable-ml -- 
> enable-amesos --enable-aztecoo --enable-epetraext --enable-epetra -- 
> enable-triutils --enable-teuchos CFLAGS=-O2 FFLAGS=-O2 CXXFLAGS=-O2  
> -qrtti=all CXX=xlC_r F77=xlf_r CC=xlc_r --with-trilinos --no-create  
> --no-recursion
>
> but when I trying to link it into my code, I get
>
> b0201.cary$ xlC_r  -O2 -qarch=auto -qtune=auto -qrtti -q64     -q64  
> -bbigtoc -L/usr/common/usg/zlib64/1.2.1/lib  -o vorpalser   
> vorpal.o  -L../vptrol -lvptrol -L../vpmsg -lvpmsg -L../vpio -lvpio - 
> L../vphist -lvphist -L../vpionize -lvpionize -L../vpcollide - 
> lvpcollide -L../vpptcl -lvpptcl -L../vprhoj -lvprhoj -L../vpfluid - 
> lvpfluid -L../vpem -lvpem -L../vpbndry -lvpbndry -L../vpmultif - 
> lvpmultif -L../vpbase -lvpbase -L../vpstd -lvpstd -L/usr/common/ 
> homes/c/cary/aix5.3/txphysics/lib -L/usr/common/homes/c/cary/aix5.3/ 
> txphysics/lib -ltxradiation -ltxsputter -ltxstopping -ltxionpack - 
> ltxegenelec -ltxigenelec -ltxrand -L/usr/common/homes/c/cary/aix5.3/ 
> txbase/lib/xlC_r -L/usr/common/homes/c/cary/aix5.3/txbase/lib/xlC_r  
> -ltxbase -L/usr/common/usg/hdf5/64/default/serial/lib -L/usr/common/ 
> usg/hdf5/64/default/serial/lib -lhdf5  -L/usr/common/usg/szip/ 
> default/lib -L/usr/common/usg/szip/default/lib -lsz -L/usr/common/ 
> usg/python/2.4.2/lib/python2.4/config  -L/usr/common/usg/python/ 
> 2.4.2/li!
> b/python2.4/config -lpython2.4                 -ldl  -lpthread  - 
> lld -L/usr/common/homes/c/cary/aix5.3/trilinos/lib -L/usr/common/ 
> homes/c/cary/aix5.3/trilinos/lib -laztecoo -lml -lamesos - 
> lepetraext -lepetra -ltriutils -lteuchos   -lessl  /usr/common/usg/ 
> LAPACK/3.0/liblapack.a -lxlf90 -L/usr/lpp/xlf/lib -lxlopt -lxlf - 
> lxlomp_ser -lpthreads -lz  -lm -ldl
> ld: 0711-317 ERROR: Undefined symbol: .__xl_memset_p5_64
> ld: 0711-317 ERROR: Undefined symbol: .__xl_fill_p5_64
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more  
> information.
>
> If I disable trilinos, my code works fine.
>
> John Cary
>
> -- 
> Physics, UCB390, U. Colorado, Boulder, CO 80309
> cary at colorado.edu, p 303-492-1489, f 303-492-0642, NEW CELL  
> 303-881-8572_______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users




More information about the Trilinos-Users mailing list