diff options
author | a.kudelin | 2020-08-24 09:34:33 +0300 |
---|---|---|
committer | a.kudelin | 2020-08-24 09:34:33 +0300 |
commit | 686b060913877f06f0909dcd9d52cd7ee6cb04c3 (patch) | |
tree | bec0a1bc8633cef9eacf298beb0d9748ca43b839 /plumed.psmp | |
parent | fb5e7e5023399cc482df708a2006f453bb267bc5 (diff) | |
download | aur-686b060913877f06f0909dcd9d52cd7ee6cb04c3.tar.gz |
Update for GCC 10
Diffstat (limited to 'plumed.psmp')
-rw-r--r-- | plumed.psmp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/plumed.psmp b/plumed.psmp index 230f30f1bf32..9e8a1ea4bc96 100644 --- a/plumed.psmp +++ b/plumed.psmp @@ -3,9 +3,9 @@ CXX = g++ CPP = FC = mpifort LD = mpifort -# + AR = ar -r -# + DFLAGS = -D__FFTW3 \ -D__LIBINT \ -D__parallel -D__SCALAPACK \ @@ -14,21 +14,23 @@ DFLAGS = -D__FFTW3 \ -D__LIBXC \ -D__SPGLIB \ -D__PLUMED2 -# + 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 \ @@ -37,5 +39,5 @@ LIBS = -lxsmmf -lxsmm \ -lsymspg \ -l$(_plumed) \ -lstdc++ -lpthread -lm -ldl -lz -# + include /usr/lib/$(_plumed)/src/lib/Plumed.inc |