Boost C++ Libraries: Ticket #5602: MPI-autodetection on Windows does not work with openmpi https://svn.boost.org/trac10/ticket/5602 <p> The mpi.jam file has no if test for the openmpi implementation. </p> <p> openmpi supports the mpic++ wrapper compiler and all the options to print the flags and library paths where the libraries to link against are. </p> <p> I have tried but failed to change the mpi.jam script to recognize the openmpi installation. </p> <p> A proper fix is welcome but indications on how to tweak the .jam file are appreciated, </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5602 Trac 1.4.3 anonymous Sat, 11 Jun 2011 18:45:22 GMT <link>https://svn.boost.org/trac10/ticket/5602#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5602#comment:1</guid> <description> <p> I think I've managed to get it working again. </p> <p> Here's an addition to the 'safe-shell-command' rule. </p> <p> local rule safe-shell-command ( cmdline ) { </p> <blockquote> <p> if [ os.on-windows ] { </p> <blockquote> <p> local result = [ SHELL "$(cmdline) &gt;nul 2&gt;nul &amp;&amp; if %errorlevel% equ 0 echo SSCOK" ] ; return [ MATCH ".*(SSCOK).*" : $(result) ] ; </p> </blockquote> <p> } else # unix { </p> <blockquote> <p> local result = [ SHELL "$(cmdline) &gt; /dev/null 2&gt;/dev/null; if [ "$?" -eq "0" ]; then echo SSCOK; fi" ] ; return [ MATCH ".*(SSCOK).*" : $(result) ] ; </p> </blockquote> <p> } </p> </blockquote> <p> } </p> <p> this seems to do it, </p> <p> It'd be nice to get this reviewed by a a windows cmd.exe/bjam more serious user, </p> <p> rds, </p> </description> <category>Ticket</category> </item> </channel> </rss>