The code works for me under MinGW console with the pre-compiled
installer. Could you try "which mpicc" to ensure that the correct
Open MPI commands are in path?
For building Open MPI by your self with CMake, you have to configure
it in the GUI and then generate the sln files by pressing the
generate button. I don't recommend to use the other two means, they
haven't been tested for some while.
I've never tried this Boost.MPI with Open MPI on
Windows. Does it work without the Boost.MPI library? Did
you run your test under MinGW?
On 2011-08-08 5:31 PM, renyong.yang wrote:
Run time environment of mine
is Windows 7, with the unstable OpenMPI_v1.5.3-2_win32.exe release
for Windows, together with Microsoft Compute
Cluster Pack. Additionally I'm using
Boost.MPI library v1.47 compiled by mingw, I
write those following codes:
argc, char **argv)
env(argc, argv); // Boost.MPI class
worldCom; // Boost.MPI class