# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 119604 2014-05-02 09:12:57Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           mpi 1.0

mpi.setup

name                hypre
version             2.8.0b
categories          math
platforms           darwin
maintainers         sean openmaintainer
description         hypre is a linear solver
long_description    hypre is a library for solving large, sparse linear \
                    systems of equations on massively parallel computers.

homepage            http://acts.nersc.gov/hypre/
master_sites        http://ftp.mcs.anl.gov/pub/petsc/externalpackages/

checksums           rmd160  43ed30ec0c0e9579bc314103c22ba5619a5f5061 \
                    sha256  073048212ab487b9546a3d8dbd66b2ca3ee9211e55ce3c16cdc36b6def0568a7

universal_variant   no
worksrcdir          ${distname}/src

configure.args      --with-blas --with-lapack --without-superlu \
                    --without-fei --without-mli --without-babel

destroot.destdir    prefix=${destroot}${prefix}

variant longindex description {Build with 64 bit ints} {
  configure.args-append   --enable-bigint
}
