summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elemental/package.py28
-rw-r--r--var/spack/repos/builtin/packages/lammps/package.py4
-rw-r--r--var/spack/repos/builtin/packages/magma/package.py8
3 files changed, 20 insertions, 20 deletions
diff --git a/var/spack/repos/builtin/packages/elemental/package.py b/var/spack/repos/builtin/packages/elemental/package.py
index 4aae98e3e1..dd4ae291ec 100644
--- a/var/spack/repos/builtin/packages/elemental/package.py
+++ b/var/spack/repos/builtin/packages/elemental/package.py
@@ -27,7 +27,7 @@ from spack.spec import UnsupportedCompilerError
class Elemental(CMakePackage):
- """Elemental: Distributed-memory dense and sparse-direct linear algebra
+ """Elemental: Distributed-memory dense and sparse-direct linear algebra
and optimization library."""
homepage = "http://libelemental.org"
@@ -36,28 +36,28 @@ class Elemental(CMakePackage):
version('0.87.7', '6c1e7442021c59a36049e37ea69b8075')
version('0.87.6', '9fd29783d45b0a0e27c0df85f548abe9')
- variant('debug', default=False,
+ variant('debug', default=False,
description='Builds a debug version of the libraries')
- variant('shared', default=True,
+ variant('shared', default=True,
description='Enables the build of shared libraries')
- variant('hybrid', default=True,
+ variant('hybrid', default=True,
description='Make use of OpenMP within MPI packing/unpacking')
variant('openmp_blas', default=False,
description='Use OpenMP for threading in the BLAS library')
- variant('c', default=False,
+ variant('c', default=False,
description='Build C interface')
- variant('python', default=False,
+ variant('python', default=False,
description='Install Python interface')
- variant('parmetis', default=False,
+ variant('parmetis', default=False,
description='Enable ParMETIS')
- variant('quad', default=False,
+ variant('quad', default=False,
description='Enable quad precision')
- variant('int64', default=False,
+ variant('int64', default=False,
description='Use 64bit integers')
# When this variant is set remove the normal dependencies since
# Elemental has to build BLAS and ScaLAPACK internally
- variant('int64_blas', default=False,
- description='Use 64bit integers for BLAS.'
+ variant('int64_blas', default=False,
+ description='Use 64bit integers for BLAS.'
' Requires local build of BLAS library.')
variant('scalapack', default=False,
description='Build with ScaLAPACK library')
@@ -127,11 +127,11 @@ class Elemental(CMakePackage):
'_64_' if '+int64_blas' in spec else '_')),
'-DCUSTOM_LAPACK_SUFFIX:BOOL=TRUE']),
else:
- math_libs = (spec['lapack'].lapack_libs +
- spec['blas'].blas_libs)
+ math_libs = (spec['lapack'].libs +
+ spec['blas'].libs)
if '+scalapack' in spec:
- math_libs = spec['scalapack'].scalapack_libs + math_libs
+ math_libs = spec['scalapack'].libs + math_libs
args.extend([
'-DMATH_LIBS:STRING={0}'.format(math_libs.search_flags),
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py
index d7c41f2e2e..61c7b22980 100644
--- a/var/spack/repos/builtin/packages/lammps/package.py
+++ b/var/spack/repos/builtin/packages/lammps/package.py
@@ -160,8 +160,8 @@ class Lammps(MakefilePackage):
make('lib', '-f', 'Makefile.icc')
with open('Makefile.lammps', 'w') as fh:
- lapack_blas = (self.spec['lapack'].lapack_libs +
- self.spec['blas'].blas_libs)
+ lapack_blas = (self.spec['lapack'].libs +
+ self.spec['blas'].libs)
makefile = [
'user-atc_SYSINC =',
'user-atc_SYSLIB = {0}'.format(lapack_blas.ld_flags),
diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py
index 23a8075509..c45974c7c6 100644
--- a/var/spack/repos/builtin/packages/magma/package.py
+++ b/var/spack/repos/builtin/packages/magma/package.py
@@ -26,7 +26,7 @@ from spack import *
class Magma(CMakePackage):
- """The MAGMA project aims to develop a dense linear algebra library
+ """The MAGMA project aims to develop a dense linear algebra library
similar to LAPACK but for heterogeneous/hybrid architectures,
starting with current "Multicore+GPU" systems.
"""
@@ -51,9 +51,9 @@ class Magma(CMakePackage):
options.extend([
'-DCMAKE_INSTALL_PREFIX=%s' % prefix,
'-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % prefix,
- '-DLAPACK_LIBRARIES=%s;%s' % (spec['blas'].blas_libs,
- spec['lapack'].lapack_libs)
- ])
+ '-DLAPACK_LIBRARIES=%s;%s' % (spec['blas'].libs,
+ spec['lapack'].libs)
+ ])
if '+fortran' in spec:
options.extend([