[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile MPITB, octave 2.1.69
From: |
Thomas Weber |
Subject: |
Re: compile MPITB, octave 2.1.69 |
Date: |
Fri, 1 Apr 2005 12:44:49 -0600 |
Hi,
> that accounts for the last 3 lines of the error.
> Then, Octave finds MPI_Initialized.oct in the DLD subdir,
> but apparently your re-compiled version (oddly) requires some _ZN4... symbol
That symbol can be found in liblam++ (at least under Debian):
$ strings /usr/lib/liblam++.so | grep mpi_comm
_ZN4PMPI4Comm12mpi_comm_mapE
lam_mpi_comm_self
lam_mpi_comm_world
I remember it because it was the one bringing me to the '-lmpi++' part
of the makefile.
> ldd MPI_Initialized.oct
> linux-gate.so.1 => (0xffffe000)
> libmpi.so.0 => /home/javier/lam-7.1.1/lib/libmpi.so.0 (0xb7fa5000)
> liblam.so.0 => /home/javier/lam-7.1.1/lib/liblam.so.0 (0xb7f5f000)
> libutil.so.1 => /lib/libutil.so.1 (0xb7f49000)
> libc.so.6 => /lib/tls/i686/libc.so.6 (0xb7e39000)
> libpthread.so.0 => /lib/tls/i686/libpthread.so.0 (0xb7e28000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7e24000)
> /lib/ld-linux.so.2 (0x80000000)
Are you linking statically against Octave? My list is much larger:
$ ldd MPI_Initialized.oct
liboctinterp.so => not found
liboctave.so => not found
libcruft.so => not found
liblapack.so.3 => /usr/lib/atlas/sse2/liblapack.so.3
(0xb798e000)
libblas.so.3 => /usr/lib/atlas/sse2/libblas.so.3 (0xb7422000)
libreadline.so.5 => /lib/libreadline.so.5 (0xb73f5000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb73b6000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x41173000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0xb7397000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41312000)
liblam.so.4 => /usr/lib/liblam.so.4 (0xb72a9000)
liblam++.so.4 => /usr/lib/liblam++.so.4 (0xb7285000)
libutil.so.1 => /lib/tls/libutil.so.1 (0xb7282000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x41253000)
libm.so.6 => /lib/tls/libm.so.6 (0x4114f000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x41178000)
libc.so.6 => /lib/tls/libc.so.6 (0x41019000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> MPI_Comm::mpi_comm_map.
It's mentioned in the 'comm.h' header file of Debian's lam4-dev, for
example (which translates to LAM 7.1.1)
> Make me know if the symbol came from libmpi++ and if
> you manage to recompile against LAM libraries (removing
> both -lmpi and -lmpi++ from the library list in MPICLIBS)
I just did a recompile with Michael's Makefile - I had no problem
(besides changing -llapack to -llapack-3).
Michael, are you sure the rest of your system is up to date? There is a
bug mentioned in the Debian changelog for lam4 regarding mpi++.
Regards
Thomas
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------