Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2465 Discussions

TBB example code projects need to be updated

jimdempseyatthecove
Honored Contributor III
244 Views

This may or may not be an Intel problem.

In the newest version of the Intel Compiler Suite Professional Edition for Windows

TBB 2.0 is shipped. However the macros inside of the project file TBB examples are all referencing TBB11_INSTALL_DIR not TBB20_INSTALL_DIR . This probably should be changed to TBB_INSTALL_DIR and in the environment variables set

TBB_INSTALL_DIR = TBB20_INSTALL_DIR

Or whatever the most recent installed copy is. The user can reset this to retrograde the version.

Jim Dempsey

0 Kudos
2 Replies
Alexey-Kukanov
Employee
244 Views
Thank youfor reporting the issue, Jim. We will check it and ensure thatthe problem, if exists in the compiler packages, is addressed in future. Could you please also tell the exact package number you use?
0 Kudos
jimdempseyatthecove
Honored Contributor III
244 Views

tbb20_019_win.exe

I would like to stress that the project files for the example programs be made such that they are portable across TBB versions. Use of macros (environment variables)such as TBB_SRC, TBB_LIB, TBB_INCLUDE, etc... and whereby the user can use a SETENV.BAT (or other means) to set these to the version numbers of interest.

TBB10_INSTALL_DIR=C:Program Files (x86)IntelTBB1.0
TBB20_INSTALL_DIR=C:Program Files (x86)IntelTBB2.0
TBB_INCLUDE=$(TBB20_INSTALL_DIR)include
...

The above for default to most recent version. and the user can run a SETENV.BAT thing to retrograde the TBB version number.

Jim Dempsey

0 Kudos
Reply