mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-28 23:32:01 +02:00
24 lines
373 B
Makefile
24 lines
373 B
Makefile
|
OPENMP =1
|
||
|
PROFILE =0
|
||
|
DEBUG = 0
|
||
|
|
||
|
IRPF90_FLAGS=
|
||
|
FC = gfortran -ffree-line-length-none
|
||
|
FCFLAGS=
|
||
|
FCFLAGS+= -O2
|
||
|
MKL=-L /opt/intel/composerxe/mkl/lib/intel64/ -lmkl_gf_lp64 -lmkl_core -lmkl_gnu_thread -fopenmp
|
||
|
|
||
|
ifeq ($(PROFILE),1)
|
||
|
FC += -p -g
|
||
|
CXX += -pg
|
||
|
endif
|
||
|
|
||
|
ifeq ($(OPENMP),1)
|
||
|
FC += -fopenmp
|
||
|
endif
|
||
|
|
||
|
ifeq ($(DEBUG),1)
|
||
|
FCFLAGS = -fcheck=all
|
||
|
#FCFLAGS =-O0
|
||
|
endif
|