- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using psxe2020u4 for benchmarking CP2K on intel platform which uses intel's mkl at one of the math library.
I have compiled 3 versions of cp2k - -xCORE-AVX512+ zmm high, -xCORE-AVX512 + zmm low,-xCORE-AVX2.
i want to ensure that while running application compiled with xCORE-AVX2, only AVX2 instruction set should be used. Here are my queries -
a) MKL_ENABLE_INSTRUCTIONS variable is available with psxe2020u4?
b) do i need to set -
MKL_ENABLE_INSTRUCTIONS=AVX2 explicitly or
the run time will ensure that AVX2 routines are used (as application was compiled with xCORE-AVX2).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
a) Yes, MKL_ENABLE_INSTRUCTIONS variable can be set in PSXE 2020 environment. To know more, please follow the below link:
b) For programs compiled with xCORE-AVX2, there is a possibility of falling back to other instruction sets (SSE): https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/code-generation-options/x-qx.html#x-qx
It would be better to set the environment variable for greater control over the underlying instruction set.
Thanks,
Rahul
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
a) Yes, MKL_ENABLE_INSTRUCTIONS variable can be set in PSXE 2020 environment. To know more, please follow the below link:
b) For programs compiled with xCORE-AVX2, there is a possibility of falling back to other instruction sets (SSE): https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/code-generation-options/x-qx.html#x-qx
It would be better to set the environment variable for greater control over the underlying instruction set.
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any updates? Let us know if you face any issues.
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are assuming that the solution provided helped and would no longer be monitoring this issue. Please raise a new thread if you have further issues.
Thanks,
Rahul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page