Boost logo

Boost :

Subject: Re: [boost] [Parallel Graph] MPI installation procedure
From: Cosimo Calabrese (cosimo.calabrese_at_[hidden])
Date: 2011-03-16 11:45:21


Yes, I've tried the follow 2 config (separately):

1)
using mpi : : <find-shared-library>mpic++ ;

2)
using mpi : : <find-shared-library>lammpio <find-shared-library>lammpi++
               <find-shared-library>mpi <find-shared-library>lam
               <find-shared-library>dl ;

But they both fail, it seems not be able to find some Open MPI includes.
This is a part of logging:

compile-c-c++
bin.v2\libs\mpi\build\msvc-10.0\release\link-static\threading-multi\broadcast.obj
broadcast.cpp
.\boost/mpi/config.hpp(20) : fatal error C1083: Impossibile aprire il
file inclusione 'mpi.h': No such file or directory

     call "C:\Programmi\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\mpi\build\msvc-10.0\release\link-static\threading-multi\broadcast.obj.rsp"

...failed compile-c-c++
bin.v2\libs\mpi\build\msvc-10.0\release\link-static\threading-multi\broadcast.obj...
compile-c-c++
bin.v2\libs\mpi\build\msvc-10.0\release\link-static\threading-multi\communicator.obj
communicator.cpp
.\boost/mpi/config.hpp(20) : fatal error C1083: Impossibile aprire il
file inclusione 'mpi.h': No such file or directory

etc.....

Is there a place where I must specify the Open MPI include path?

Thanks,
Cosimo Calabrese.

>
> The Boost.MPI getting started page also metions these steps:
>
>> If your MPI implementation does not have a wrapper compiler, or the MPI
>> auto-detection code does not work with your MPI's wrapper compiler, you can
>> pass MPI-related options explicitly via the second parameter to the mpi
>> module:
>>
>>> using mpi : :<find-shared-library>lammpio<find-shared-library>lammpi++
>>> <find-shared-library>mpi<find-shared-library>lam
>>> <find-shared-library>dl ;
>>
>> To see the results of MPI auto-detection, pass --debug-configuration on the
>> bjam command line.
>
> Did you try those?
>
> -Julian
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk