From 686eb07aeefe955d6a09080b9ba610429013c24f Mon Sep 17 00:00:00 2001 From: martinp16cs Date: Thu, 31 Oct 2019 10:44:51 +0100 Subject: [PATCH] update readme.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ce27af3..bc2b010 100644 --- a/README.md +++ b/README.md @@ -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 -- GitLab