Dear Jeremiah,

   But I get the same errors after I tried to use the command as following:

using mpi : "C:/Program Files/OpenMPI_v1.6-win32/bin/mpic++.exe" ;

OR

using mpi : "C:/Program Files/OpenMPI_v1.6-win32/bin/mpicxx.exe" ;


2012/6/16 Jeremiah Willcock <jewillco@osl.iu.edu>
On Sat, 16 Jun 2012, Tunes Land wrote:

Hello Jeremiah,

      Thank you for your reply¡£
      Yes,as you said, I compiled boost with mpicc.exe .I modified the  user-config.jam file as following:

using mpi : "C:/Program Files/OpenMPI_v1.6-win32/bin/mpicc.exe"
          : <find-shared-library>lammpio <find-shared-library>lammpi++
            <find-shared-library>mpi <find-shared-library>lam
            <find-shared-library>dl ;

But£¬how do I do to get the correct results?

Those look like the libraries for LAM/MPI, not Open MPI.  You might want to look for the correct list of libraries for Open MPI and put those in instead, or just set your C++ compiler and linker to mpic++ (not mpicc). Also, try removing the list of libraries, and just leave it as just "using mpi : .../mpic++.exe ;"

-- Jeremiah Willcock

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users