summarylogtreecommitdiffstats
path: root/basic.psmp
diff options
context:
space:
mode:
authora.kudelin2019-04-29 21:07:27 +0300
committera.kudelin2019-04-29 21:12:05 +0300
commitb90b1ed4314605a10cbf19be73a652d20e9d569c (patch)
tree5bc3b43f44f55d211acbf18840a355e883f6359e /basic.psmp
parent1e7710db90153c60362461c1baa39826da8c0fad (diff)
downloadaur-b90b1ed4314605a10cbf19be73a652d20e9d569c.tar.gz
Added MPI support and regtesting
Diffstat (limited to 'basic.psmp')
-rw-r--r--basic.psmp30
1 files changed, 30 insertions, 0 deletions
diff --git a/basic.psmp b/basic.psmp
new file mode 100644
index 000000000000..ccca95a4b4f6
--- /dev/null
+++ b/basic.psmp
@@ -0,0 +1,30 @@
+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
+#
+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 \
+ -lstdc++ -lpthread -lm -ldl -lz