diff options
Diffstat (limited to 'basic.psmp')
-rw-r--r-- | basic.psmp | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/basic.psmp b/basic.psmp index ab6315e1d6f2..84fe96a38002 100644 --- a/basic.psmp +++ b/basic.psmp @@ -6,29 +6,32 @@ LD = mpifort # AR = ar -r # -DFLAGS = -D__FFTW3 \ - -D__LIBINT -D__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__MAX_CONTR=4 \ - -D__parallel -D__SCALAPACK \ - -D__LIBXSMM \ - -D__LIBXC \ +DFLAGS = -D__FFTW3 \ + -D__LIBINT \ + -D__parallel -D__SCALAPACK \ + -D__ELPA \ + -D__LIBXSMM \ + -D__LIBXC \ -D__SPGLIB # -INCS = -I/usr/include +INCS = -I/usr/include \ + -I/usr/include/elpa_openmp-$(_elpaver)/elpa \ + -I/usr/include/elpa_openmp-$(_elpaver)/modules # -OPTFLAGS = -O3 -march=native -fopenmp +OPTFLAGS = -O3 -march=native -fopenmp -ftree-vectorize # CFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) CXXFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -std=c++11 CPPFLAGS = -FCFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -ffree-form -ffree-line-length-none +FCFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) \ + -ffree-form -ffree-line-length-none # LDFLAGS = $(FCFLAGS) # -LIBS = -lxsmmf -lxsmm \ - -lscalapack -lblas -llapack \ - -lfftw3 -lfftw3_threads \ - /usr/lib/libderiv.a \ - /usr/lib/libint.a \ - -lxcf03 -lxc \ - -lsymspg \ +LIBS = -lxsmmf -lxsmm \ + -lelpa_openmp -lscalapack -lblas -llapack \ + -lfftw3 -lfftw3_threads \ + /usr/lib/libint2.a \ + -lxcf03 -lxc \ + -lsymspg \ -lstdc++ -lpthread -lm -ldl -lz |