From 5b297b29ab16a0ffca04e2c6ac34c1a8469be2d0 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis <vkarak@gmail.com> Date: Fri, 7 Apr 2017 14:35:10 +0200 Subject: [PATCH] Updated Readme (#226) * Update `README.md` to reflect the CMake options for vectorization. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 244b343f..e5c99123 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ cd build_knl # run cmake with all the magic flags export CC=`which icc` export CXX=`which icpc` -cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release -DNMC_THREADING_MODEL=tbb -DNMC_WITH_PROFILING=ON -DNMC_VECTORIZE_TARGET=KNL -DNMC_USE_OPTIMIZED_KERNELS=ON +cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release -DNMC_THREADING_MODEL=tbb -DNMC_WITH_PROFILING=ON -DNMC_VECTORIZE_TARGET=KNL make -j ``` @@ -154,8 +154,8 @@ The flags passed into cmake are described: - `-DNMC_VECTORIZE_TARGET=KNL` : generate AVX512 instructions, alternatively you can use: - `AVX2` for Haswell & Broadwell - `AVX` for Sandy Bridge and Ivy Bridge - - `-DNMC_USE_OPTIMIZED_KERNELS=ON` : tell the source to source compiler to generate optimized kernels that use Intel extensions - - without these vectorized code will not be generated. + +Currently, the Intel compiler is required when you specify a vectorize target. #### run tests -- GitLab