aboutsummaryrefslogtreecommitdiffstats
path: root/science/mpqc-mpich
diff options
context:
space:
mode:
Diffstat (limited to 'science/mpqc-mpich')
-rw-r--r--science/mpqc-mpich/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/science/mpqc-mpich/Makefile b/science/mpqc-mpich/Makefile
new file mode 100644
index 000000000000..22f2385a7bb3
--- /dev/null
+++ b/science/mpqc-mpich/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: mpqc-mpich
+# Date created: 27 April 2001
+# Whom: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
+#
+# $FreeBSD$
+#
+
+MASTERDIR= ${.CURDIR}/../mpqc/
+
+.include "${.CURDIR}/../mpqc/Makefile"
+
+LIB_DEPENDS= lapack:${PORTSDIR}/math/lapack \
+ atlas:${PORTSDIR}/math/atlas
+BUILD_DEPENDS= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich
+
+# MPICH implimentation is not thread safe
+CONFIGURE_ARGS= --with-libdirs="-L${PREFIX}/lib -L${PREFIX}/mpich/lib"
+ --with-blas="-lf77blas -latlas" \
+ --with-lapack="-lalapack -lcblas" \
+ --with-coptflags="${CFLAGS}" \
+ --with-cxxoptflags="${CFLAGS}" \
+ --with-f77optflags="${FFLAGS}" \
+ --with-include=-I${PREFIX}/mpich/include \
+ --enable-always-use-mpi \
+ --enable-threads=no