
Hi, all:
I need to install boost library (/home/myname/boost_2010_6_8/boost_1_43_0).
http://www.boost.org/doc/libs/1_43_0/more/getting_started/index.html
It has MPI library :
http://www.boost.org/doc/libs/1_42_0/doc/html/mpi.html
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.
example:
------------------------------------------------------------------------
#include
#include

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

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. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
participants (3)
-
Belcourt, Kenneth
-
Jack Bryan
-
Ravi