10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-08 07:03:57 +01:00
quantum_package/src/Makefile.config.example

32 lines
433 B
Makefile
Raw Normal View History

2014-05-22 11:17:36 +02:00
OPENMP =1
PROFILE =0
2014-05-26 13:09:32 +02:00
DEBUG = 1
2014-05-22 11:17:36 +02:00
IRPF90_FLAGS+= --align=32
FC = ifort -g
FCFLAGS=
FCFLAGS+= -xHost
#FCFLAGS+= -xAVX
FCFLAGS+= -O2
FCFLAGS+= -ip
FCFLAGS+= -opt-prefetch
FCFLAGS+= -ftz
MKL=-mkl=parallel
ifeq ($(PROFILE),1)
FC += -p -g
CXX += -pg
endif
ifeq ($(OPENMP),1)
FC += -openmp
CXX += -fopenmp
endif
ifeq ($(DEBUG),1)
FC += -C -traceback -fpe0
2014-05-26 13:09:32 +02:00
FCFLAGS+= -axSSE2
IRPF90_FLAGS += -a
2014-05-22 11:17:36 +02:00
#FCFLAGS =-O0
endif