Select Git revision
Makefile.comp.supermuc-ng-gcc
Makefile.comp.supermuc-ng-gcc 412 B
CC = mpicc -std=c11 # sets the C-compiler
CPP = mpicxx -std=c++11 # sets the C++-compiler
OPTIMIZE = -ggdb -O3 -march=native -Wall -Wno-format-security
ifeq (EXPLICIT_VECTORIZATION,$(findstring EXPLICIT_VECTORIZATION,$(CONFIGVARS)))
CFLAGS_VECTOR += -mavx2 # enables generation of AVX instructions (used through vectorclass)
CPV = $(CPP)
else
CFLAGS_VECTOR =
CPV = $(CPP)
endif