From 7d6990568b5b76c8e693fa9e68af0f32d358f3e3 Mon Sep 17 00:00:00 2001 From: "Scherbakov, Denis" Date: Mon, 29 Aug 2022 04:22:36 -0500 Subject: [PATCH 1/2] Replace icc with icx compiler --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a7df980..15f44c0 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ SOURCES = fft_bench.c -CC = icc +CC = icx CFLAGS = -m64 -fPIC -fp-model strict -O3 -g -fomit-frame-pointer \ - -DNDEBUG -qopenmp -xSSE4.2 -axCORE-AVX2,COMMON-AVX512 \ + -DNDEBUG -qopenmp -xSSE4.2 -xCORE-AVX2,COMMON-AVX512 \ -lmkl_rt -Wall -pedantic ifneq ($(CONDA_PREFIX),) From 958b66b6bedfdd45b95fc4629899bb02271633b2 Mon Sep 17 00:00:00 2001 From: "Scherbakov, Denis" Date: Mon, 29 Aug 2022 04:32:57 -0500 Subject: [PATCH 2/2] Fix icx compiler options --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15f44c0..37af246 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SOURCES = fft_bench.c CC = icx CFLAGS = -m64 -fPIC -fp-model strict -O3 -g -fomit-frame-pointer \ - -DNDEBUG -qopenmp -xSSE4.2 -xCORE-AVX2,COMMON-AVX512 \ + -DNDEBUG -qopenmp -xSSE4.2 -xCORE-AVX2 -xCORE-AVX512 -xCOMMON-AVX512 \ -lmkl_rt -Wall -pedantic ifneq ($(CONDA_PREFIX),)