mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-14 01:53:55 +01:00
31 lines
444 B
Makefile
31 lines
444 B
Makefile
OPENMP =1
|
|
PROFILE =0
|
|
DEBUG = 0
|
|
|
|
IRPF90_FLAGS+= --align=32
|
|
FC = ifort -g
|
|
FCFLAGS=
|
|
FCFLAGS+= -axAVX,SSE4.2
|
|
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
|
|
endif
|
|
|
|
ifeq ($(DEBUG),1)
|
|
FC += -C -traceback -fpe0
|
|
IRPF90_FLAGS += -a
|
|
#FCFLAGS =-O0
|
|
endif
|