Skip to content
Snippets Groups Projects
Commit 66e913f1 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update intel-compilers.md

parent 6769fe52
No related branches found
No related tags found
No related merge requests found
Pipeline #33673 passed with warnings
...@@ -48,7 +48,7 @@ For maximum performance on the Barbora GPU nodes or Karolina cluster compute nod ...@@ -48,7 +48,7 @@ For maximum performance on the Barbora GPU nodes or Karolina cluster compute nod
$ icc -ipo -O3 -xCORE-AVX2 -qopt-report1 -qopt-report-phase=vec myprog.c mysubroutines.c -o myprog.x $ icc -ipo -O3 -xCORE-AVX2 -qopt-report1 -qopt-report-phase=vec myprog.c mysubroutines.c -o myprog.x
``` ```
!!! warn !!! warning
Karolina cluster has AMD cpu, use compiler options `-march=core-avx2`. Karolina cluster has AMD cpu, use compiler options `-march=core-avx2`.
In this example, we compile the program enabling interprocedural optimizations between source files (`-ipo`), aggressive loop optimizations (`-O3`), and vectorization (`-xCORE-AVX2`). In this example, we compile the program enabling interprocedural optimizations between source files (`-ipo`), aggressive loop optimizations (`-O3`), and vectorization (`-xCORE-AVX2`).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment