21 lines
631 B
Makefile
21 lines
631 B
Makefile
CC = icc
|
|
CXX = icpc
|
|
LINKER = $(CC)
|
|
|
|
OPENMP = #-qopenmp
|
|
PROFILE = #-profile-functions -g -pg
|
|
# OPTS = -fast -xCORE-AVX512 -qopt-zmm-usage=high $(PROFILE)
|
|
#OPTS = -fast -xCORE-AVX2 $(PROFILE)
|
|
#OPTS = -fast -xAVX $(PROFILE)
|
|
#OPTS = -fast -xSSE4.2 $(PROFILE)
|
|
#OPTS = -fast -no-vec $(PROFILE)
|
|
OPTS = -fast -xHost $(PROFILE)
|
|
CFLAGS = $(PROFILE) -restrict $(OPENMP) $(OPTS)
|
|
CXXFLAGS = $(CFLAGS)
|
|
ASFLAGS = -masm=intel
|
|
FCFLAGS =
|
|
LFLAGS = $(PROFILE) $(OPTS) $(OPENMP)
|
|
DEFINES = -D_GNU_SOURCE -DALIGNMENT=64 # -DLIKWID_PERFMON -DPRECISION=1
|
|
INCLUDES = #$(LIKWID_INC)
|
|
LIBS = #$(LIKWID_LIB) -llikwid
|