EDIT: solved, incorrect boost setup /facepalm
I have been trying to install boost-mpi on an old system/cluster.
After installing boost and using bjam --with-mpi, i tried to compile a hello_world example that came with the boost-mpi setup tutorial. I supplied the mpi-autoconfig for bjam with mpic++ and when I compile using the following:
/../gnu/bin/mpic++ -I/home/user/boost_1_51_0 communicator.cpp -lstdc++ -L/home/user/boost_1_51_0/stage/lib -lboost_mpi -lboost_serialization
I receive the following errors:
libboost_serialization.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<unsigned short>(unsigned short&)@GLIBCXX_3.4.9'
So I guessed that GLIBCXX3.4.9 must have been found when building with bjam, but after
locate libstdc++.so
I used
"strings /path/to/libstdc++.so | grep LIBCXX"
and each one only had 3.4.8 as the latest version of GLIBCXX.
I am rather confused about this problem. Any help is appreciated!