From b64a286820c66b0eb90818e4049deb87bc994cdf Mon Sep 17 00:00:00 2001 From: G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> Date: Mon, 6 May 2019 13:52:40 -0400 Subject: SLATE package: fix variant/header errors (#11353) * The 'mkl' variant implementation was not complete and was preventing the package from building, so remove it. * The slate.hh file has moved in the 'develop' version (which is currently the only version of SLATE listed) --- var/spack/repos/builtin/packages/slate/package.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/slate/package.py b/var/spack/repos/builtin/packages/slate/package.py index c684e4af25..85f31667c5 100644 --- a/var/spack/repos/builtin/packages/slate/package.py +++ b/var/spack/repos/builtin/packages/slate/package.py @@ -22,17 +22,11 @@ class Slate(Package): version('develop', hg=hg) variant('cuda', default=True, description='Build with CUDA support.') - # SLATE will eventually be buildable without intel-mkl by using other - # providers of cblas and scalapack. - # variant('mkl', default=True, description='Build using Intel MKL.') variant('mpi', default=True, description='Build with MPI support.') variant('openmp', default=True, description='Build with OpenMP support.') depends_on('cuda@9:', when='+cuda') depends_on('intel-mkl') - # The cblas and scalapack dependencies are provided by MKL only for now. - # depends_on('cblas') - # depends_on('scalapack') depends_on('mpi', when='+mpi') conflicts('%gcc@:5') @@ -47,16 +41,15 @@ class Slate(Package): f_cuda = "1" if spec.variants['cuda'].value else "0" f_mpi = "1" if spec.variants['mpi'].value else "0" f_openmp = "1" if spec.variants['openmp'].value else "0" - f_mkl = "1" if spec.variants['mkl'].value else "0" compiler = 'mpicxx' if spec.variants['mpi'].value else '' make('mpi=' + f_mpi, 'mkl=1', 'cuda=' + f_cuda, 'openmp=' + f_openmp, - 'mkl=' + f_mkl, 'CXX=' + compiler) + 'CXX=' + compiler) install_tree('lib', prefix.lib) install_tree('test', prefix.test) mkdirp(prefix.include) - install('slate.hh', prefix.include) + install('include/slate/slate.hh', prefix.include) install('lapack_api/lapack_slate.hh', prefix.include + "/slate_lapack_api.hh") install('scalapack_api/scalapack_slate.hh', -- cgit v1.2.3-70-g09d2