Subject: [Boost-build] building boost.mpi with openmpi: mpi.jam
From: MM (finjulhich_at_[hidden])
Date: 2011-06-11 13:36:15
winxp : 64bit
For openmpi mailing list users, boost comes with a boost.MPI library which
is a C++-nativized library that wraps around any MPI-1 implementation
Boost libraries can be built with bjam, a tool that is part of a build
system. It comes with a number of .jam files that describe how to build some
items. One file is mpi.jam that is used to help build boost.mpi and that
detects the installed MPI implementation.
8 months ago roughly, I've removed a large chunk of if tests from mpi.jam
that allowed me to build boost.mpi successfully against openmpi.
I'm trying now to do the same thing w 1.46.1 (but I'm not 100% certain that
I am trying exactly the same thing) and this time MPI autodetection fails.
I've created a boost trac ticket
https://svn.boost.org/trac/boost/ticket/5602 for this issue and would
appreciate if someone helped me tweak the .jam file to recognize the openmpi
It would be pretty cool if mpi.jam could pick up openmpi by default where
the openmpi installer 32bit version and 64bit version installed it, on
either win32 or win64 systems.
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