Hello Chris,
On Wed, Aug 29, 2012 at 10:44 AM, Chris
When it try to use boost using a proprietary MPIC++ compiler I have no control over, I get the following errors:
In file included from ../boost_1_43_0/boost/thread/detail/platform.hpp:17, from ../boost_1_43_0/boost/thread/thread.hpp:12, from ../boost_1_43_0/boost/thread.hpp:13, from test.cpp:37: ../boost_1_43_0/boost/config/requires_threads.hpp:47:5: error: #error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)"
This suggests that your compiler is not running with threads enabled, whereas you instructed `bjam` to compile the threaded version of Boost:
./bjam cxxflags="-O2" release threading=multi link=static
Try to compile with threading=single; if that works, you might want to check your compiler's docs on how to enable threading support. Cheers, Riccardo