Skip to content
Snippets Groups Projects
Commit efcc1729 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

Update docs.it4i/software/intel/intel-suite/intel-tbb.md

parent 46bd3bc0
No related branches found
No related tags found
1 merge request!338software
Pipeline #22295 failed
...@@ -21,8 +21,7 @@ Link the TBB library using `-ltbb`. ...@@ -21,8 +21,7 @@ Link the TBB library using `-ltbb`.
A number of examples demonstrating use of TBB and its built-in scheduler is available in the $TBB_EXAMPLES directory. A number of examples demonstrating use of TBB and its built-in scheduler is available in the $TBB_EXAMPLES directory.
```console ```console
$ ml intel $ ml intel/2020b tbb/2020.3-GCCcore-10.2.0
$ ml tbb
$ cp -a $TBB_EXAMPLES/common $TBB_EXAMPLES/parallel_reduce /tmp/ $ cp -a $TBB_EXAMPLES/common $TBB_EXAMPLES/parallel_reduce /tmp/
$ cd /tmp/parallel_reduce/primes $ cd /tmp/parallel_reduce/primes
$ icc -O2 -DNDEBUG -o primes.x main.cpp primes.cpp -ltbb $ icc -O2 -DNDEBUG -o primes.x main.cpp primes.cpp -ltbb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment