I have libs/graph/example's working fine under RH in boost_1_48_0. But cannot get MPI working with BGL, e.g. libs/mpi/example/hello_world.cpp :-( When I translate using $g++ -I .../boost_1_48_0 -I .../boost_1_48_0/boost/mpi hello_world.cpp I get a bunch of errors, the first of which boost/mpi/config.hpp cannot find mpi.h. Not even sure where mpi.h is located and how it differs from mpi.hpp? Maybe if I solve this problem then all the other error messages, or most, will also go away. If there is a simple/obvious fix please let me know. Thank you. Andrew M. Neiderer US Army Research Laboratory
On Tue, 29 Nov 2011, Neiderer, Andrew M USA CIV (US) wrote:
I have libs/graph/example's working fine under RH in boost_1_48_0. But cannot get
MPI working with BGL, e.g. libs/mpi/example/hello_world.cpp :-(
When I translate using
$g++ -I .../boost_1_48_0 -I .../boost_1_48_0/boost/mpi hello_world.cpp
I get a bunch of errors, the first of which boost/mpi/config.hpp cannot find mpi.h.
Not even sure where mpi.h is located and how it differs from mpi.hpp?
You need to use your MPI implementation's C++ wrapper compiler (usually mpic++, mpicxx, or mpiCC) to compile programs that use MPI. Try that instead of g++ and mpi.h will most likely be found. -- Jeremiah Willcock
participants (2)
-
Jeremiah Willcock
-
Neiderer, Andrew M USA CIV (US)