Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling a program using Boost.MPI (v.1.43) with Scali MPI 3.5.0
From: buclit (surfersparadise85-sonstiges_at_[hidden])
Date: 2011-04-13 07:15:00


I removed every reference to MPI_Finalized in the \boost\lib\mpi\*.cpp and
the include-*.hpp and set the return value to true. Then I built boost again
and the "hello world" is now compiling.
But I am wondering how this could be.
Since the Sources that were used to build the shared library contain a
reference to MPI_Finalized. And I always thought that shared libraries are
linked and so the Linker has to check every reference and so I assumed some
MPI_Finalized routine is available in libmpi.so
Although it is compiling I am a little bit afraid of how this changes might
affect the stability of the mpi-c++-wrapper of boost. Can I write anything
that could be a replacement for BOOST_MPI_CHECK_RESULT(MPI_Finalized,
(&flag)) instead of simple removing?

BTW I didn't try to start the program yet.

Willi

--
View this message in context: http://boost.2283326.n4.nabble.com/Compiling-a-program-using-Boost-MPI-v-1-43-with-Scali-MPI-3-5-0-tp3444686p3446863.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk