$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-12-07 17:06:03
On Dec 7, 2006, at 3:03 PM, Matthias Schabel wrote:
> 1) In order to get LAM-MPI 7.1.2 to compile and run correctly, I need
> to configure it with --with-memory-manager=none.
Right. This is a known (and very annoying) issue with LAM-MPI and
recent versions of Mac OS X.
I recall using "--without-memory-manager", but I believe they are the
same.
> However, if I then try to compile the Boost.MPI example program
>
> mpic++ hello_world.cpp -I/usr/local/include -L/usr/local/lib -
> lboost_mpi-1_35 -lmpi -lboost_serialization-1_35
>
> I get a bunch of linker warnings:
>
> /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding
> may result in errors or different symbols being used
> symbol _create_scalable_zone used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _malloc_freezedry used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _malloc_jumpstart used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _scalable_zone_info used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _scalable_zone_statistics used from dynamic library /usr/lib/
> gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib
> (scalable_malloc.So) not from earlier dynamic library /usr/local/lib/
> libmpi.0.dylib(scalable_malloc.o)
> symbol _szone_check_counter used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _szone_check_modulo used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
> symbol _szone_check_start used from dynamic library /usr/lib/gcc/
> powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(scalable_malloc.So)
> not from earlier dynamic library /usr/local/lib/libmpi.0.dylib
> (scalable_malloc.o)
That looks exactly like what I would expect to have happen if there
was still a memory manager... hmmm. Could you send me (privately) the
output of "laminfo"? Also, are you linking against static or shared
versions of the Boost.MPI libraries?
> Also, Open-MPI appears to compile without shenanigans on OSX - has
> anyone tried to use Boost.MPI with Open-MPI?
Boost.MPI was developed almost entirely with Open MPI, on Linux and
(I think) Mac OS X.
I will be working on this a bit more Very Soon, because most of the
BBv2 port for Boost.MPI's build system needs to get finished very,
very soon.
Cheers,
Doug