[parsec-users] A Problem when compile blackscholes with tbb 2.1

Dionysus shinrairis at gmail.com
Thu Apr 23 13:53:33 EDT 2009


Hello~

I am trying to compile the blackscholes benchmark with the tbb 2.1
stable release (tbb21_20080605oss).
However, I got the following error message:

> g++ -O3 -funroll-loops -fpermissive -fno-exceptions -DPARSEC_VERSION=2.0 -DTBB_VERSION -DN=960 -DNCO=2 blackscholes.tbb.cpp -ltbb -ldl -lrt -lpthread -o blackscholes
In file included from
/home/shinra/default/tbb21_20080605oss/include/tbb/aligned_space.h:33,
                 from
/home/shinra/default/tbb21_20080605oss/include/tbb/parallel_reduce.h:33,
                 from blackscholes.tbb.cpp:15:
/home/shinra/default/tbb21_20080605oss/include/tbb/tbb_machine.h:270:
error: expected '>' before numeric constant
In file included from
/home/shinra/default/tbb21_20080605oss/include/tbb/parallel_reduce.h:33,
                 from blackscholes.tbb.cpp:15:
/home/shinra/default/tbb21_20080605oss/include/tbb/aligned_space.h:40:
error: expected '>' before numeric constant

I have checked the tbb_machine.h and aligned_space.h from the
tbb21_20080605oss package but found nothing wrong.
Could anyone give me some clue about this problem?

Thanks for reading
Any help would be grateful!

Dennis


More information about the parsec-users mailing list