Adapt ICC build config

This commit is contained in:
Jan Eitzinger 2020-08-19 13:53:44 +02:00
parent 0fd51e8a9c
commit fb0ef3fa12

View File

@ -1,20 +1,19 @@
CC = icc
CXX = mpiicpc
FC = ifort
LINKER = $(CXX)
CXX = icpc
LINKER = $(CC)
PROFILE = #-g -pg
# OPTS = -O3 -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
# OPTS = -O3 -xCORE-AVX2 $(PROFILE)
# OPTS = -O3 -xAVX $(PROFILE)
# OPTS = -O3 -xSSE4.2 $(PROFILE)
OPTS = -O3 -no-vec $(PROFILE)
# OPTS = -O3 -xHost $(PROFILE)
OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
#OPTS = -O3 -xCORE-AVX2 $(PROFILE)
#OPTS = -O3 -xAVX $(PROFILE)
#OPTS = -O3 -xSSE4.2 $(PROFILE)
#OPTS = -O3 -no-vec $(PROFILE)
#OPTS = -Ofast -xHost $(PROFILE)
CFLAGS = $(PROFILE) -restrict $(OPTS)
CXXFLAGS = $(CFLAGS)
ASFLAGS = -masm=intel
FCFLAGS =
LFLAGS = $(PROFILE) $(OPTS)
DEFINES = -D_GNU_SOURCE -DNOCHUNK -DUSE_SIMD# -DLIKWID_PERFMON -DPRECISION=1
INCLUDES = $(MPIINC) $(LIKWID_INC)
LIBS = $(LIKWID_LIB) -llikwid
DEFINES = -D_GNU_SOURCE -DALIGNMENT=64 # -DLIKWID_PERFMON -DPRECISION=1
INCLUDES =
LIBS =