Opened 10 years ago

Last modified 7 years ago

#2013 new Feature Requests

Support for homogeneous MPI builds in BBv2

Reported by: Douglas Gregor Owned by: Douglas Gregor
Milestone: Boost 1.36.0 Component: mpi
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:


We need a BBv2 feature to determine whether to build the MPI library for homogeneous clusters or heterogeneous clusters. The default will be heterogeneous clusters, but we can provide some additional optimizations for homogeneous clusters.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Matthias Troyer

Owner: changed from Douglas Gregor to Matthias Troyer

comment:2 Changed 7 years ago by Matthias Troyer

Owner: changed from Matthias Troyer to Douglas Gregor

Doug, you will have to look into adding this to mpi.jam

comment:3 Changed 7 years ago by hicham@…

I have attempted to build boost.mpi against openmpi 1.4.3 on win32/64

the mpi.jam contains the following unix shell-specific code bit:

# Determine if it is safe to execute the given shell command by trying # to execute it and determining whether the exit code is zero or # not. Returns true for an exit code of zero, false otherwise. local rule safe-shell-command ( cmdline ) {

local result = [ SHELL "$(cmdline) > /dev/null 2>/dev/null; if [ "$?" -eq "0" ]; then echo SSCOK; fi" ] ; return [ MATCH ".*(SSCOK).*" : $(result) ] ;


this doesn't work on windows and is the reason of bjam failing. I don't have a patch as I'm not conversant in windows cmd.exe either.

a fix would be appreciated, rds,

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Douglas Gregor.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.