Commit 686eb07a authored by Martin Perdacher's avatar Martin Perdacher

update readme.md

parent 0eb4ec7a
Pipeline #583 failed with stage
in 2 minutes and 44 seconds
......@@ -19,18 +19,18 @@ The individual blocksize needs to be experimental evaluated for each individual
# Before compilation
To explicitly ensure, that CMake will use the GNU compiler use:
To explicitly ensure, that CMake will use the Intel compiler use:
```{bash, engine='sh'}
export CXX=g++
export CC=gcc
export CXX=icpc
export CC=icc
```
Lookup the [compiler-flag](https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html) for your hardware. Change the `-march` flag in your `CMakeLists.txt` depending on the hardware.
Lookup the [compiler-flag](https://software.intel.com/en-us/articles/performance-tools-for-software-developers-intel-compiler-options-for-sse-generation-and-processor-specific-optimizations) for your hardware.
Example configuration for Skylake processors:
```{bash, engine='sh'}
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -march=skylake -ffast-math -fassociative-math -O3 -fopenmp -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -liomp5")
-xmic-avx512 -fpic -qopenmp -axCOMMON-AVX512 -lmemkind -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -liomp5 -lpthread -g -debug all -save-temps -Wl, -O0 -fstack-security-check -lboost_system
```
# Build with CMake
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment