- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to compile TBB for KNL from source. I have - TBB 4.4 - Intel compilers version 2016.3.210 What is the best way to do this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
you don't need any special tricks to build tbb for knl, just build it for intel64 architecture. but for modules or your app that use tbb headers you can use knl specific keys like -xHost if you build on knl system or -xMIC-AVX512 if you build on different system.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Vladimir!
By default the Makefile just uses the gcc I have on the system (4.9.3) in my case.
To clarify, I use the default gcc to make the tbb library, then use the KNL specific flags on my application?
Ben.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ben,
Above instructions are for current (2016) Intel compiler. For gcc 4.9.3 instructions are pretty the same, use default 'make tbb tbbmalloc arch=intel64' to build the tbb library and then -mavx512f gcc flag to build your application.
More info:
https://gcc.gnu.org/gcc-4.9/changes.html
--Vladimir
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page