diff options
author | Veselin Dobrev <v-dobrev@users.noreply.github.com> | 2018-06-15 02:34:04 -0700 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-06-15 11:34:04 +0200 |
commit | a3c989ef3a146b771500254b2bf05e61f168f27a (patch) | |
tree | 8f1ef5d5bc900246accfc2787150013e36f51e9a | |
parent | 5f852634cdaa790bc01010c7a209f77c5f89f1f5 (diff) | |
download | spack-a3c989ef3a146b771500254b2bf05e61f168f27a.tar.gz spack-a3c989ef3a146b771500254b2bf05e61f168f27a.tar.bz2 spack-a3c989ef3a146b771500254b2bf05e61f168f27a.tar.xz spack-a3c989ef3a146b771500254b2bf05e61f168f27a.zip |
[mfem] Add BLAS+LAPACK to the required dependencies of SuperLU_DIST. (#8485)
-rw-r--r-- | var/spack/repos/builtin/packages/mfem/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py index c32e1f622a..f1979cdde1 100644 --- a/var/spack/repos/builtin/packages/mfem/package.py +++ b/var/spack/repos/builtin/packages/mfem/package.py @@ -313,13 +313,15 @@ class Mfem(Package): 'LAPACK_LIB=%s' % ld_flags_from_LibraryList(lapack_blas)] if '+superlu-dist' in spec: + lapack_blas = spec['lapack'].libs + spec['blas'].libs options += [ 'SUPERLU_OPT=-I%s -I%s' % (spec['superlu-dist'].prefix.include, spec['parmetis'].prefix.include), - 'SUPERLU_LIB=-L%s -L%s -lsuperlu_dist -lparmetis' % + 'SUPERLU_LIB=-L%s -L%s -lsuperlu_dist -lparmetis %s' % (spec['superlu-dist'].prefix.lib, - spec['parmetis'].prefix.lib)] + spec['parmetis'].prefix.lib, + ld_flags_from_LibraryList(lapack_blas))] if '+suite-sparse' in spec: ss_spec = 'suite-sparse:' + self.suitesparse_components |