
12 Jun
2010
12 Jun
'10
8:45 p.m.
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