Home:ALL Converter>How to build boost mpi for MS-MPI with Visual Studio 2012

How to build boost mpi for MS-MPI with Visual Studio 2012

Ask Time:2014-10-02T01:56:16         Author:ifschleife

Json Formatter

I'm trying to build the boost mpi library for MS-MPI. I followed the official Getting Started document of boost mpi but got stuck. When calling bjam.exe --with-mpi it told me that it would skip mpi.

So I added the path of the MS-MPI launcher to my user-config.jam:

using mpi : "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" ;

As the boost manual indicated.

This however will lead to an argument error when trying to build.

bjam is obviously able to find the mpiexec executable but does not know the correct arguments. It's not clear to me from the boost documentation what to do about that.

Author:ifschleife,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/26147564/how-to-build-boost-mpi-for-ms-mpi-with-visual-studio-2012
yy