Boost logo

Boost :

Subject: [boost] [config] Sandia-pgi-11.9 thread support
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-12-19 18:27:08


Hi,

on the regression test I see this error

Test output: Sandia-pgi-11.9 - thread - test_barrier / pgi-11.9
Rev 76060 / Mon, 19 Dec 2011 10:30:05 +0000
*Report Time: *Mon, 19 Dec 2011 21:30:12 +0000
Compile [2011-12-19 12:43:58 UTC]: fail

     "pgCC" -INLINE:none -Kieee -fpic -fPIC -gopt -Minform=warn -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -D__need_IOV_MAX -I".." -c -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_barrier.test/pgi-11.9/debug/threading-multi/test_barrier.o" "../libs/thread/test/test_barrier.cpp"

"../boost/config/requires_threads.hpp", line 86: catastrophic error: #error
           directive: "Compiler threading support is not turned on. Please
           consult your compiler's documentation for the appropriate options to
           use"
   # error "Compiler threading support is not turned on. Please consult your compiler's documentation for the appropriate options to use"
      ^

1 catastrophic error detected in the compilation of "../libs/thread/test/test_barrier.cpp".
Compilation terminated.

Is something missing in the boost/config/requires_threads.hpp file?

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk