Skip to content
Snippets Groups Projects
Commit 03780ea1 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Remove autosave files from saravan's PR

parent 422a75e4
Branches
Tags
No related merge requests found
from spack import *
class Arpack(Package):
"""ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems."""
homepage = "http://www.caam.rice.edu/software/ARPACK/"
url = "http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz"
version('96', 'fffaa970198b285676f4156cebc8626e')
depends_on("blas")
depends_on("lapack")
def install(self, spec, prefix):
from spack import *
class Hypre(Package):
"""Hypre is a library of high performance preconditioners that features parallel multigrid
methods for both structured and unstructured grid problems."""
homepage = "https://computation.llnl.gov/project/linear_solvers/software.php"
url = "https://computation.llnl.gov/project/linear_solvers/download/hypre-2.10.0b.tar.gz"
version('2.10.0b', '768be38793a35bb5d055905b271f5b8e')
depends_on("openmpi")
depends_on("blas")
depends_on("lapack")
def install(self, spec, prefix):
lapack_dir = spec['lapack'].prefix
configure(
"--prefix=%s" % prefix,
"--with-blas-libs=blas",
"--with-blas-lib-dirs=%s/lib" % spec['blas'].prefix,
"--with-lapack-libs=lapack blas",
"--with-lapack-lib-dirs=%s/lib" % lapack_dir)
make()
make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment