summarylogtreecommitdiffstats
path: root/plumed.psmp
diff options
context:
space:
mode:
Diffstat (limited to 'plumed.psmp')
-rw-r--r--plumed.psmp34
1 files changed, 34 insertions, 0 deletions
diff --git a/plumed.psmp b/plumed.psmp
new file mode 100644
index 000000000000..5ddc6300a79d
--- /dev/null
+++ b/plumed.psmp
@@ -0,0 +1,34 @@
+CC = gcc
+CXX = g++
+CPP =
+FC = mpifort
+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__LIBXC \
+ -D__PLUMED2
+#
+INCS = -I/usr/include
+#
+OPTFLAGS = -O3 -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
+#
+LDFLAGS = $(FCFLAGS)
+#
+LIBS = -lscalapack -lblas -llapack \
+ -lfftw3 -lfftw3_threads \
+ /usr/lib/libderiv.a \
+ /usr/lib/libint.a \
+ -lxcf03 -lxc \
+ -lplumed \
+ -lstdc++ -lpthread -lm -ldl -lz
+#
+include /usr/lib/plumed/src/lib/Plumed.inc