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

33 lines
472 B
Makefile
Raw Normal View History

2014-05-22 11:17:36 +02:00
OPENMP =1
PROFILE =0
2014-06-25 14:58:58 +02:00
DEBUG = 0
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
IRPF90_FLAGS += --openmp
CXX += -fopenmp
2014-05-22 11:17:36 +02:00
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