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
|
2022-01-17 11:40:44 +01:00
|
|
|
OPTS = -Ofast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
2022-03-03 20:03:33 +01:00
|
|
|
#OPTS = -Ofast -xCORE-AVX2 $(PROFILE)
|
2020-11-05 12:41:44 +01:00
|
|
|
#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)
|
2022-03-03 20:03:33 +01:00
|
|
|
DEFINES = -std=c11 -pedantic-errors -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
|