First download intel TBB:
Http://threadingbuildingblocks.org/ver.php? FID = 1, 174
Download
Tbb40_233oss_src.tgz
Put it on the desktop, and select the specific path
Decompress the package and enable the command line:
CD/root/desktop/tbb40_233oss
Make
After compilation
Under the build path, the following appears:
Drwxr-XR-x 2 root Root 20480 01-24 12:42 linux_intel64_gcc_cc4.1.2_libc2.5_kernel2.6.18_debug
Drwxr-XR-x 2 root Root 20480 01-24 12:38 linux_intel64_gcc_cc4.1.2_libc2.5_kernel2.6.18_release
Run the following command in shell:
[Root @ localhost azuo] # Cd ~
[Root @ localhost ~] # Vim. bashrc
Add at last
Source/root/desktop/tbb40_233oss/build/linux_intel64_gcc_cc4.1.2_libc2.5_kernel2.6.18_debug/tbbvars. Sh
Use-ltbb_debug when using the Connection Library
Or
Source/root/desktop/tbb40_233oss/build/linux_intel64_gcc_cc4.1.2_libc2.5_kernel2.6.18_release/tbbvars. Sh
The corresponding link library is-ltbb.