aboutsummaryrefslogtreecommitdiffstats
path: root/science/mpqc-mpich/Makefile
blob: 22f2385a7bb3c01f89295de40046e2ea369c5cce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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