Intel® Threading Building Blocks - Setting up the environment

Submit New Article

September 19, 2008 1:00 AM PDT


Before using Intel® Threading Building Blocks for the first time, you must configure the environment variables that are used to locate necessary library and include files.


Registering Environment Variables for Windows* Systems

Locate the configuration scripts (tbbvars.bat) for your operating system. The scripts are located in the bin directory. The default location of the bin directory on Windows is the following:

C:\Program Files\Intel\TBB\2.1\[ia32|em64t]<vc-version>

where <vc-version> matches the Microsoft* Visual C/C++ version used.  In addition, the Intel TBB Extras download site provides a plug-in for several Microsoft Visual Studio* versions that configures VS to compile and link with Intel TBB.

Registering Environment Variables for MacOS* Systems

Registering Environment Variables for Linux* Systems

Locate the configuration scripts (tbbvars.csh or tbbvars.sh) in the appropriate installation bin directory.  The default location of the bin directory on Linux systems is:

/opt/intel/tbb/2.1/[ia32|em64t|itanium]/<architecture-specific>

 <architecture-specific> is a long name that encodes the gcc, libc and kernel versions used.



Do you need more help?


This article applies to: Intel® Threading Building Blocks Knowledge Base