diff options
author | Mario Melara <maamelara@gmail.com> | 2015-11-23 14:02:59 -0800 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2015-11-23 14:02:59 -0800 |
commit | 8f56f5cfccb681286ab5d31dbdbed29cdf49a930 (patch) | |
tree | 6a3fc873f94fbf2ba1c07b609998a1b6d2f2a350 /var | |
parent | fceb5a75b06b639a6f6d7edf33c3b727e71a491b (diff) | |
download | spack-8f56f5cfccb681286ab5d31dbdbed29cdf49a930.tar.gz spack-8f56f5cfccb681286ab5d31dbdbed29cdf49a930.tar.bz2 spack-8f56f5cfccb681286ab5d31dbdbed29cdf49a930.tar.xz spack-8f56f5cfccb681286ab5d31dbdbed29cdf49a930.zip |
Added path to netcdf and hdf5 using the env vars NETCDF_DIR and HDF5_DIR.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/adios/package.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/var/spack/packages/adios/package.py b/var/spack/packages/adios/package.py index 5f298fc6b5..05cbb5f963 100644 --- a/var/spack/packages/adios/package.py +++ b/var/spack/packages/adios/package.py @@ -1,8 +1,10 @@ -from spack import * +import os +from spack import * class Adios(Package): """The Adaptable IO System (ADIOS) provides a simple, - flexible way for scientists to describe the data in their code that may need to be written, + flexible way for scientists to describe the + data in their code that may need to be written, read, or processed outside of the running simulation """ @@ -19,10 +21,12 @@ class Adios(Package): depends_on('mxml') def install(self, spec, prefix): - configure_args = ["--prefix=%s" % prefix, "--with-mxml=%s" % spec['mxml'].prefix, - "--with-hdf5=%s" % spec['hdf5'].prefix, "--with-netcdf=%s" % os.environ['NETCDF_DIR'], + configure_args = ["--prefix=%s" % prefix, + "--with-mxml=%s" % spec['mxml'].prefix, + "--with-hdf5="+os.environ["HDF5_DIR"], + "--with-netcdf="+os.environ["NETCDF_DIR"], "--with-infiniband=no"] - + configure(*configure_args) make() make("install") |