Opened 14 years ago
Last modified 12 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: |
Description
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.
Change History (3)
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 12 years ago
Owner: | changed from | to
---|
comment:3 by , 12 years ago
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,
Doug, you will have to look into adding this to mpi.jam