Hi All:
I have installed boost lib also including mpi.
I am trying to run some simple mpi program to test it.
my program: (test_p2p.cpp)
-------------------------------------------------------
#include <boost/mpi/environment.hpp>
#include <boost/mpi/communicator.hpp>
#include <iostream>
namespace mpi = boost::mpi;
int main(int argc, char* argv[])
{
mpi::environment env(argc, argv);
mpi::communicator world;
std::cout << "I am process " << world.rank() << " of " << world.size()
<< "." << std::endl;
return 0;
}
--------------------------------------------------------
my compile command:
g++ -o testp2p test_p2p.cpp
I got error :
/boost/mpi/environment.hpp:16:32: error: boost/mpi/config.hpp: No such file or directory
But , I have checked the directory: boost/mpi/, it actually have config.hpp.
I have added the path for these files into my PATH
PATH=/home/myfolder/boost_2010_6_8/boost_1_43_0
also LD_LIBRARY_PATH=/home/myfolder/boost_2010_6_8/boost_1_43_0
why I still have this error.
Any help is really appreciated.
thanks
Jack
June 9 2010
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy.