ScaLAPACK Archives

[Scalapack] [scalapack] problem compiling an example program

Dear Jorge

Am Wed, Jul 12, 2006 at 11:37:36AM -0400 hat Jorge Urdaneta getippert:
mpif77 -o example
example1.f /usr/lib/libscalapack.a /usr/lib/libblacsF77init.a 
/usr/lib/libblacs.a /usr/lib/libblacsF77init.a /usr/lib/libblas.a
/usr/lib/libblas.a

And get the following error:

(xerbla.o): In function `xerbla_': multiple definition of `xerbla_'
/usr/lib/libscalapack.a(xerbla.o): first defined here
/usr/bin/ld: Warning: size of symbol `xerbla_' changed from 86
in /usr/lib/libscalapack.a(xerbla.o) to 38
in /usr/lib/libblas.a(xerbla.o)
collect2: ld returned 1 exit status

I'm using debian packages (ubuntu-server 6.06 LTS) for both scalapack
libs set and mpi (lam-mpi) on an amd64 architecture.

I was able to reproduce your problem with the refblas package.
However, using atlas3-base-dev and /usr/lib/atlas/libblas.a, the
linking succeeded.

HTH
-- 
Philipp      | work: philipp.frauenfelder@Domain.Removed +41 1 802 20 00
Frauenfelder | home: philipp@Domain.Removed +41 1 862 73 14
[PGP]        | http://www.frauenfelder-kuerner.ch/
Proudly running Debian GNU/Linux. See http://www.debian.org/

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or