2020-08-11 16:34:22 +02:00
|
|
|
CC = icc
|
2020-08-19 13:53:44 +02:00
|
|
|
LINKER = $(CC)
|
2020-08-11 16:34:22 +02:00
|
|
|
|
2020-11-05 12:41:44 +01:00
|
|
|
OPENMP = #-qopenmp
|
|
|
|
PROFILE = #-profile-functions -g -pg
|
2021-04-15 14:55:02 +02:00
|
|
|
OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
2020-11-05 12:41:44 +01:00
|
|
|
#OPTS = -fast -xCORE-AVX2 $(PROFILE)
|
|
|
|
#OPTS = -fast -xAVX $(PROFILE)
|
|
|
|
#OPTS = -fast -xSSE4.2 $(PROFILE)
|
|
|
|
#OPTS = -fast -no-vec $(PROFILE)
|
2021-04-15 14:55:02 +02:00
|
|
|
#OPTS = -fast -xHost $(PROFILE)
|
2020-11-05 12:41:44 +01:00
|
|
|
CFLAGS = $(PROFILE) -restrict $(OPENMP) $(OPTS)
|
2021-04-15 14:55:02 +02:00
|
|
|
ASFLAGS = #-masm=intel
|
2020-11-05 12:41:44 +01:00
|
|
|
LFLAGS = $(PROFILE) $(OPTS) $(OPENMP)
|
2021-04-15 14:55:02 +02:00
|
|
|
DEFINES = -D_GNU_SOURCE #-DLIKWID_PERFMON
|
2020-11-05 12:41:44 +01:00
|
|
|
INCLUDES = #$(LIKWID_INC)
|
2021-03-24 08:43:44 +01:00
|
|
|
LIBS = -lm #$(LIKWID_LIB) -llikwid
|