
I tried overriding the message and the compiler exists with more
errors from Boost, as well as my program. Things like std::isnan
haven't been ported to Sun's STL I guess... so I don't think I can use
Solaris Studio to profile my codes, because those are written for
Linux. I don't feel like re-writing the entire project for Solaris.
Max
On Mon, Sep 27, 2010 at 4:33 AM, John Maddock
I wrote a C++ project using OpenMP, GCC and Boost. When I enable nested parallelism (omp_set_nested(1)), repeated runs of the same piece of code produce different results, which suggests that there is a race condition somewhere, but I do not see anything wrong with the logic of my code, so I decided to use Sun Studio's Thread Analyzer to analyze my code. This requires me to build my project with Sun's CC 5.2, which fails with the following warning message from Boost:
"/h/96/g4max/local/boost64/include/boost/numeric/ublas/detail/config.hpp", line 170: Error: #error Your compiler and/or configuration is unsupported by this verions of uBLAS. Define BOOST_UBLAS_UNSUPPORTED_COMPILER=0 to override this message. Boost 1.32.0 includes uBLAS with support for many older compilers..
You need to build your code with -DBOOST_UBLAS_UNSUPPORTED_COMPILER=0 as suggested.
Quite a lot of boost will work with sun's compiler, but by no means all of it.
HTH, John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users