DepSpawn 1.2
 
Loading...
Searching...
No Matches
TBB configuration

Please notice that this version of DepSpawn can rely on the well-known Intel (R) Threading Building Blocks (TBB), but not on the new oneTBB library.

TBBs require to set up some environment variables both to be compiled and to be used by an application during its execution. This usually requires executing the script

  • ${TBBROOT}/bin/tbbvars.sh if your shell is bash/ksh, or
  • ${TBBROOT}/bin/tbbvars.csh if your shell is csh

where ${TBBROOT} is the directory where TBB has been installed. The file includes the definition of the variable TBBROOT, which must point to the directory where TBB has been installed, but it is usually left empty during the installation. For this reason right after intalling TBB you must edit this file to define this variable. In order to do this, open the file and look for a line like

 export TBBROOT="SUBSTITUTE_INSTALL_DIR_HERE"

in the case of tbbvars.sh or

 setenv TBBROOT "SUBSTITUTE_INSTALL_DIR_HERE"

in the case of tbbvars.csh and put the root directory for your TBB installation between the double quotes.