
Hi All I have installed openmpi in C:\Program Files\OpenMPI_v1.5.4-win32\ in an XP box and want to compile boost to produce graph-parallel library. But got the following error: The system cannot find the path specified. 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 C:/Program Files/OpenMPI_v1. 5.4-win32/bin/mpic++.exe Please report this error to the Boost mailing list: http://www.boost.org You will need to manually configure MPI support. MPI launcher: mpirun -np when I ran in a Visual Studio 2010 command prompt: b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=32 stage --debug-configuration I added the MPI config in boost_1_48_0\tools\build\v2\user-config.jam as below: using mpi : "C:/Program Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe" ; Could anyone help on this? Gary

From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of k m Hi All I have installed openmpi in C:\Program Files\OpenMPI_v1.5.4-win32\ in an XP box and want to compile boost to produce graph-parallel library. But got the following error: The system cannot find the path specified. Gary --------------------- Try the solution that worked for me here: https://svn.boost.org/trac/boost/ticket/5602 MM

Hi MM
Thank you very much for your reply. I made the change to the c:\program
files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned
(See attached, I also attached the user-config.jam for your reference). But
still have exactly the same error.
C:\Program Files\boost_1_48_0>b2 --toolset=msvc-10.0 --build-type=complete
architecture=x86 address-model=32 stage
The system cannot find the path specified.****
MPI auto-detection failed: unknown wrapper compiler C:/Program
Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe
Please report this error to the Boost mailing list: http://www.boost.org****
You will need to manually configure MPI support.****
Performing configuration checks****
** **
- has_icu builds : no****
warning: Graph library does not contain MPI-based parallel components.****
note: to enable them, add "using mpi ;" to your user-config.jam****
- iconv (libc) : no****
- iconv (separate) : no
I am very stuck! Could you or anyone please help?
Gary
On Sat, Feb 25, 2012 at 8:10 PM, MM
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of k m Hi All I have installed openmpi in C:\Program Files\OpenMPI_v1.5.4-win32\ in an XP box and want to compile boost to produce graph-parallel library. But got the following error:
The system cannot find the path specified. Gary
---------------------
Try the solution that worked for me here:
https://svn.boost.org/trac/boost/ticket/5602
MM
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Hello,
On Mon, Feb 27, 2012 at 22:58, k m
Thank you very much for your reply. I made the change to the c:\program files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned (See attached, I also attached the user-config.jam for your reference). But still have exactly the same error.
C:\Program Files\boost_1_48_0>b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=32 stage
The system cannot find the path specified.
MPI auto-detection failed: unknown wrapper compiler C:/Program Files/OpenMPI_v1.5.4-win32/bin/mpic++.exe
I have no clue about Windows, but when Boost cannot find my MPI compiler wrapper under Linux, I just append this line to the "project-config.jam" file in the root directory of Boost: using mpi : /path/to/mpicxx ; Of course, you need to replace /path/to/mpicxx above with the path to your "mpic++.exe" executable (or whatever the MPI compiler wrapper is called in Windows). Best regards, Riccardo

From: k m [mailto:k.m54544@gmail.com] Sent: 27 February 2012 21:58 To: finjulhich@gmail.com Cc: boost-users@lists.boost.org Subject: Re: [Boost-users] Problem building boost MPI with Visual Studio 2010 Hi MM Thank you very much for your reply. I made the change to the c:\program files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned (See attached, I also attached the user-config.jam for your reference). But still have exactly the same error. ----------------- Try to add ECHO statements in that function you've changed as well, that gives hints. It may be an issue with the / and \ in the windows paths. I'll take a look this weekend, MM

Hi MM
Thank you. Please do have a look this weekend. I want to debug it myself as
well, but I am very new to bjam stuff. Please note that I was trying this
on 1.48.0 instead of the 1.46.1 in the svn log that you mentioned earlier
on.
On Tue, Feb 28, 2012 at 4:36 PM, MM
From: k m [mailto:k.m54544@gmail.com] Sent: 27 February 2012 21:58 To: finjulhich@gmail.com Cc: boost-users@lists.boost.org Subject: Re: [Boost-users] Problem building boost MPI with Visual Studio 2010
Hi MM
Thank you very much for your reply. I made the change to the c:\program files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned (See attached, I also attached the user-config.jam for your reference). But still have exactly the same error.
-----------------
Try to add ECHO statements in that function you've changed as well, that gives hints.
It may be an issue with the / and \ in the windows paths.
I'll take a look this weekend,
MM

HI MM
Did you try it?
On Thu, Mar 1, 2012 at 7:50 PM, k m
Hi MM
Thank you. Please do have a look this weekend. I want to debug it myself as well, but I am very new to bjam stuff. Please note that I was trying this on 1.48.0 instead of the 1.46.1 in the svn log that you mentioned earlier on.
On Tue, Feb 28, 2012 at 4:36 PM, MM
wrote: From: k m [mailto:k.m54544@gmail.com] Sent: 27 February 2012 21:58 To: finjulhich@gmail.com Cc: boost-users@lists.boost.org Subject: Re: [Boost-users] Problem building boost MPI with Visual Studio 2010
Hi MM
Thank you very much for your reply. I made the change to the c:\program files\boost_1_48_0\tools\build\v2\tools\mpi.jam file, like you mentioned (See attached, I also attached the user-config.jam for your reference). But still have exactly the same error.
-----------------
Try to add ECHO statements in that function you've changed as well, that gives hints.
It may be an issue with the / and \ in the windows paths.
I'll take a look this weekend,
MM

See if there are more differences with my mpi.jam than what I put in the svn
ticket
It just worked for me now.
MM
From: k m [mailto:k.m54544@gmail.com]
Sent: 05 March 2012 21:29
To: MM
Cc: boost-users@lists.boost.org
Subject: Re: [Boost-users] Problem building boost MPI with Visual Studio
2010
HI MM
Did you try it?
On Thu, Mar 1, 2012 at 7:50 PM, k m
participants (3)
-
k m
-
MM
-
Riccardo Murri