[Pkg-scicomp-devel] Bug#487969: Bug#487969: Bug#487969: Can't reproduce this

Ondrej Certik ondrej at certik.cz
Sat Jul 19 13:19:30 UTC 2008


On Sat, Jul 19, 2008 at 2:56 PM, Ólafur Jens Sigurðsson
<ojsbug at gmail.com> wrote:
> On Fri, Jul 18, 2008 at 11:16:20AM -0400, Adam C Powell IV wrote:
>
>> I don't have this problem with ex2, or any other example.  Unfortunately
>> the shlib is stripped so there are no symbols to check. :-(
>>
>> What's your architecture?  It's fine on amd64.
>
> When I follow the example I get the following:
>
> g++ -I/usr/include/libmesh -I/usr/include/mpi -I/usr/include/petsc -c -o ex2.o ex2.C
>
> so the first compile works fine
>
> g++ -o ex2 ex2.o -lmesh -lscotchmetis -lscotch -lscotcherr
> ex2.o: In function main':
> ex2.C:(.text+0x7c): undefined reference to lam_mpi_comm_world'

^^^^ This is weird. petsc is compiled against openmpi and libmesh
should be too.

I just tried on i386 and it works fine for me. Which architecture are
you on? Do you have latest openmpi, petsc and libmesh and all
depending packages from unstable installed?

Ondrej


More information about the Pkg-scicomp-devel mailing list