[Pkg-scicomp-devel] Bug#487969: Bug#487969: Bug#487969: Can't reproduce this
Ondrej Certik
ondrej at certik.cz
Sat Jul 19 13:21:17 UTC 2008
On Sat, Jul 19, 2008 at 3:19 PM, Ondrej Certik <ondrej at certik.cz> wrote:
> 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?
Please post the output of:
ondra at fuji:~$ ll -d /usr/include/mpi
lrwxrwxrwx 1 root root 21 2008-03-09 14:58 /usr/include/mpi ->
/etc/alternatives/mpi
ondra at fuji:~$ ll -d /etc/alternatives/mpi
lrwxrwxrwx 1 root root 24 2008-07-03 12:41 /etc/alternatives/mpi ->
/usr/lib/openmpi/include
On your system. Does it point to openmpi?
Ondrej
More information about the Pkg-scicomp-devel
mailing list