Your message dated Sat, 19 Jul 2008 17:29:27 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: [Pkg-scicomp-devel] Bug#487969: Bug#487969: Can't
reproduce this
has caused the Debian Bug report #487969,
regarding libmesh0.6.2-dev: building the examples as described in README.Debian
fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
487969: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487969
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libmesh0.6.2-dev
Version: 0.6.2.dfsg-1
Severity: important
building the examples as described in README.Debian fails with
a linking error
> g++ -I/usr/include/libmesh -I/usr/include/mpi -I/usr/include/petsc -c -o
ex2.o ex2.C
produces the object file but
> g++ -o ex2 ex2.o -lmesh -lscotchmetis -lscotch -lscotcherr
returns:
ex2.o: In function `main':
ex2.C:(.text+0x97): undefined reference to `libMesh::init(int&, char**&,
int)'
collect2: ld returned 1 exit status
> g++ -v
gcc version 4.3.1 (Debian 4.3.1-2)
README.Debian of libmesh0.6.2-dev says "It should just work (if not,
please file a bug report using the reportbug)."
Well, here we go :-)
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libmesh0.6.2-dev depends on:
ii libmesh0.6.2 0.6.2.dfsg-1 libMesh - A C++ Finite Element Lib
ii libpetsc2.3.3-dev 2.3.3-12 Static libraries, shared links, he
ii libscotchmetis-dev 5.0.1.dfsg-1 programs and libraries for graph,
libmesh0.6.2-dev recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sat, Jul 19, 2008 at 5:26 PM, Ólafur Jens Sigurðsson
<[EMAIL PROTECTED]> wrote:
> On Sat, Jul 19, 2008 at 04:47:04PM +0200, Ondrej Certik wrote:
>> Yes, I hit this problem too, it's because of upgrading from lam to
>> openmpi. Purge lam, openmpi and all other mpi packages (mpich).
>> Then delete all links and alternatives, even by hand if necessary.
>> Install openmpi and make sure the links point to openmpi.
>>
>> Or change it by hand. Please report back if it works. See also this
>> bug for more background:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457088
>
> Ok, just by changing the symbolic link in /etc/alternatives/mpi to
> point to /usr/lib/openmpi/include fixed my problem and now it compiles
> fine.
Ok, I am closing the bug.
Ondrej
--- End Message ---