Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with bjam trying build Boost MPI
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-24 15:07:28


AMDG

iono sphere wrote:
> Hello, I am trying to build MPI on WinXP, Visual C++ 2008 Express edition,
> trying to follow instructions at
> http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config,
> but the problem is shown below:
> <snip>
> ===============MPI Auto-configuration===============
> Did not find Microsoft Compute Cluster Pack in C:\Program Files\Microsoft
> Comput
> e Cluster Pack.
> warning: toolset mpi initialization: can not find tool mpic++
> warning: initialized from
> C:/boost_1_43_0/tools/build/v2/build\project.jam:881
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> MPI auto-detection failed: unknown wrapper compiler mpic++
> Please report this error to the Boost mailing list: http://www.boost.org
> You will need to manually configure MPI support.
> warning: toolset mpi initialization: can not find tool mpirun
> warning: initialized from
> C:/boost_1_43_0/tools/build/v2/build\project.jam:881
> MPI launcher: mpirun -np
>
> ...
>
> (1) I can see that bjam cannot find mpic++ and also, bjam displayed "The
> system cannot find the path specified.", do you know what paths are bjam
> referring to? Also, if I have mpic++, where should I put this so that bjam
> can detect it?
>
> (2) I already got myself a Windows IA32 (binary) of MPICH2 and installed.
> Because it's binary, there is no need to build. In the bin folder, I can see
> mpiexec.exe, but no mpic++. I am quite lost. I think I am on the wrong
> track. Normally, where can we acquire mpic++? Shouldn't it be distributed
> along with this MPI implementation as well?
>

MPICH2 doesn't have a wrapper compiler.

Try:

using mpi : :
    <find-static-library>mpi
    <library-path>"C:/Program Files/MPICH2/lib"
    <include>"C:/Program Files/MPICH2/include"
  :
    "\"C:\\Program Files\\MPICH2\\bin\\mpiexec\""
;

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net