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