- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
Compiler(Hawk): Difference between revisions
No edit summary |
(→Intel) |
||
Line 20: | Line 20: | ||
<compiler> -march=core-avx2 | <compiler> -march=core-avx2 | ||
</pre> | </pre> | ||
and do not use | and do <font color="red">'''not'''</font> use | ||
<pre> | <pre> | ||
<compiler> -xCORE-AVX2 | <compiler> -xCORE-AVX2 |
Revision as of 21:37, 24 October 2019
We highly recommend to try as much different compilers as possible and compare the performance of the generated code! If you code according to language standards, this is almost for free but can give you a significant speedup! There is no such thing as an "ideal" compiler! One suites better to application A, one suites better to application B (cf. Best Practice Guide AMD EPYC (Naples)).
Please note that compilers do not use optimization flags by default at the moment. Hence, please refer to Compiler Options Quick Reference Guide and set the respective flags on your own (with znver1 for Naples and znver2 for Rome nodes).
GNU
AOCC
Intel
Please use
<compiler> -march=core-avx2
and do not use
<compiler> -xCORE-AVX2
since the latter might give very bad performance!
PGI
With respect to PGI, we recommend to use
<compiler> -tp=zen -O3