|
Boost Users : |
Subject: Re: [Boost-users] BGL with MPI
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-11-29 11:51:04
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net