Hi

I got the same error, even though
I  used  mpic++ -o testp2p test_p2p.cpp -I/home/myname/boost_2010_6_8/boost_1_43_0

Any help is appreciated.

Jack


From: kbelco@sandia.gov
To: boost-users@lists.boost.org
Date: Sat, 12 Jun 2010 14:45:39 -0600
Subject: Re: [Boost-users] boost lib error


On Jun 12, 2010, at 2:42 PM, Jack Bryan wrote:

After installingit, I compile some c++ program with calling for boost.MPI  class, the compiler cannot find the header files in the program even though I have included the boost path in the compile command. 

[ snip ]

mpic++ -o testp2p test_p2p.cpp I/home/myname/boost_2010_6_8/boost_1_43_0

Your dash I path is missing the dash.  Try it like this.

mpic++ -o testp2p test_p2p.cpp -I/home/myname/boost_2010_6_8/boost_1_43_0

-- Noel



The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get started.