diff options
author | Denis Davydov <davydden@gmail.com> | 2016-08-23 16:46:40 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-08-23 16:46:40 +0200 |
commit | 6500ac80e4016d540414e131a634e96ac66977e7 (patch) | |
tree | 6ace57c7a2ace44e296770fe68f3cf1602f29718 /var | |
parent | 7eb386e55e2e69c968369505ab51b073fb23bdec (diff) | |
download | spack-6500ac80e4016d540414e131a634e96ac66977e7.tar.gz spack-6500ac80e4016d540414e131a634e96ac66977e7.tar.bz2 spack-6500ac80e4016d540414e131a634e96ac66977e7.tar.xz spack-6500ac80e4016d540414e131a634e96ac66977e7.zip |
nwchem: fix lapack detection
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/nwchem/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index 16e575d576..3e5d37145d 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -75,6 +75,8 @@ class Nwchem(Package): 'BLASOPT=%s %s' % ( to_link_flags(spec['lapack'].lapack_shared_lib), to_link_flags(spec['blas'].blas_shared_lib)), + 'BLAS_LIB=%s' % to_link_flags(spec['blas'].blas_shared_lib), + 'LAPACK_LIB=%s' % to_link_flags(spec['lapack'].lapack_shared_lib), 'USE_SCALAPACK=y', 'SCALAPACK=%s' % spec['scalapack'].fc_link, 'NWCHEM_MODULES=all', @@ -90,11 +92,13 @@ class Nwchem(Package): args.extend([ 'USE_64TO32=y', 'BLAS_SIZE=4', + 'LAPACK_SIZE=4', 'SCALAPACK_SIZE=4' ]) else: args.extend([ 'BLAS_SIZE=8', + 'LAPACK_SIZE=8' 'SCALAPACK_SIZE=8' ]) |