diff options
author | Denis Davydov <davydden@gmail.com> | 2016-08-24 13:40:02 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-08-24 13:40:02 +0200 |
commit | 6d2d5806b5ebfbbf75490ead40f6041026ea95e7 (patch) | |
tree | 16feda5095ffe60a10d2b0fb761f04905f737109 /var | |
parent | dae219d5c3b08e50f04c14508638a3ba30f3b615 (diff) | |
download | spack-6d2d5806b5ebfbbf75490ead40f6041026ea95e7.tar.gz spack-6d2d5806b5ebfbbf75490ead40f6041026ea95e7.tar.bz2 spack-6d2d5806b5ebfbbf75490ead40f6041026ea95e7.tar.xz spack-6d2d5806b5ebfbbf75490ead40f6041026ea95e7.zip |
nwchem: add python module
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/nwchem/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py index 43619c143a..0dcd249f74 100644 --- a/var/spack/repos/builtin/packages/nwchem/package.py +++ b/var/spack/repos/builtin/packages/nwchem/package.py @@ -40,7 +40,7 @@ class Nwchem(Package): depends_on('mpi') depends_on('scalapack') - depends_on('python@2.7:2.8', type='build') + depends_on('python@2.7:2.8', type=nolink) # patches for 6.6-27746: # TODO: add support for achived patches, i.e. @@ -73,6 +73,7 @@ class Nwchem(Package): 'MPI_LOC=%s' % spec['mpi'].prefix, 'USE_PYTHONCONFIG=y', 'PYTHONVERSION=%s' % spec['python'].version.up_to(2), + 'PYTHONHOME=%s' % spec['python'].prefix, 'BLASOPT=%s %s' % ( to_link_flags(spec['lapack'].lapack_shared_lib), to_link_flags(spec['blas'].blas_shared_lib)), @@ -80,7 +81,7 @@ class Nwchem(Package): 'LAPACK_LIB=%s' % to_link_flags(spec['lapack'].lapack_shared_lib), 'USE_SCALAPACK=y', 'SCALAPACK=%s' % spec['scalapack'].fc_link, - 'NWCHEM_MODULES=all', + 'NWCHEM_MODULES=all python', 'NWCHEM_LONG_PATHS=Y' # by default NWCHEM_TOP is 64 char max ]) |