summarylogtreecommitdiffstats
path: root/basic.psmp
diff options
context:
space:
mode:
Diffstat (limited to 'basic.psmp')
-rw-r--r--basic.psmp20
1 files changed, 11 insertions, 9 deletions
diff --git a/basic.psmp b/basic.psmp
index 84fe96a38002..c9cf595bce4f 100644
--- a/basic.psmp
+++ b/basic.psmp
@@ -3,9 +3,9 @@ CXX = g++
CPP =
FC = mpifort
LD = mpifort
-#
+
AR = ar -r
-#
+
DFLAGS = -D__FFTW3 \
-D__LIBINT \
-D__parallel -D__SCALAPACK \
@@ -13,21 +13,23 @@ DFLAGS = -D__FFTW3 \
-D__LIBXSMM \
-D__LIBXC \
-D__SPGLIB
-#
+
INCS = -I/usr/include \
-I/usr/include/elpa_openmp-$(_elpaver)/elpa \
-I/usr/include/elpa_openmp-$(_elpaver)/modules
-#
-OPTFLAGS = -O3 -march=native -fopenmp -ftree-vectorize
-#
+
+OPTFLAGS = -O2 -march=native -fopenmp
+
CFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS)
CXXFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -std=c++11
CPPFLAGS =
FCFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) \
- -ffree-form -ffree-line-length-none
-#
+ -ffree-form -ffree-line-length-none \
+ -fallow-argument-mismatch \
+ -fno-tree-loop-vectorize
+
LDFLAGS = $(FCFLAGS)
-#
+
LIBS = -lxsmmf -lxsmm \
-lelpa_openmp -lscalapack -lblas -llapack \
-lfftw3 -lfftw3_threads \