[Boost-bugs] [Boost C++ Libraries] #5864: unable to compile boost::mpi under Windows using msvc-2008-compiller

Subject: [Boost-bugs] [Boost C++ Libraries] #5864: unable to compile boost::mpi under Windows using msvc-2008-compiller
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-05 06:27:08


#5864: unable to compile boost::mpi under Windows using msvc-2008-compiller
--------------------------------------------+-------------------------------
 Reporter: Slav Grig <armagvvg@…> | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------
 My steps to reproduce:

 1. Setup environment for msvc-2008 compiler using bat-file for Visual
 Studio 2008 command line environment.
 2. Compile library openmpi-1.4.3 using cmake (as specified in its
 documentation) and install it to "d:\Libs\mpi-1.4.3\Release".
 3. Add path to "d:\Libs\mpi-1.4.3\Release\bin" to my PATH environment.
 4. Check, that mpic++ works good:
 {{{
> mpic++ --showme
 cl.exe /I"d:/Libs/mpi-1.4.3/Release/include" /TP /EHsc /D "OMPI_IMPORTS"
 /D "OPAL_IMPORTS" /D "ORTE_IMPORTS" /link
 /LIBPATH:"d:/Libs/mpi-1.4.3/Release/lib" libmpi.lib libopen-pal.lib
 libopenrte.lib libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib
 advapi32.lib Ws2_32.lib shlwapi.lib
 }}}
 5. Add string 'using mpi ;' to my <boost_dir>\tools\build\v2\user-
 config.jam file.
 6. Try to compile boost::mpi:
 {{{
> bjam.exe --prefix=d:\Programming\mpi-work\boost-mpi\installed --build-
 dir=d:\Programming\mpi-work\boost-mpi\bld --with-mpi install
 }}}
 As a result I got the error:
 {{{
 Ð¡Ð¸ÑÑ‚еме не удается найти указанный путь.
 Ð¡Ð¸ÑÑ‚еме не удается найти указанный путь.
 Ð¡Ð¸ÑÑ‚еме не удается найти указанный путь.
 Ð¡Ð¸ÑÑ‚еме не удается найти указанный путь.
 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.
 }}}
 ('Системе не удается найти указанный путь.' - means 'System can't find
 specified path')

 The same result I got using b2.exe instead of bjam.exe.

 I tried to read the documentation to setup exact paths to openmpi for mpi
 module in the user-config.jam. But I couldn't understand, where should I
 put include- and library-paths in it.

 My environment - Windows XP SP2 x32, Visual Studio 2008 with compiler
 version 15.00.21022.08. I have attached partial command line environment
 as file to the bug report.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5864>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC