diff options
author | Mario Melara <maamelara@gmail.com> | 2015-11-05 13:42:50 -0800 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2015-11-05 13:42:50 -0800 |
commit | 0fcb368f478621b3eb8faf2b812018d43c46ffef (patch) | |
tree | 63f89bc5fc4cec8d1353edd41bef1aed1d06d0a5 /var | |
parent | 08729315c617b42e6fd1eaa1af4919aa52f96a0f (diff) | |
download | spack-0fcb368f478621b3eb8faf2b812018d43c46ffef.tar.gz spack-0fcb368f478621b3eb8faf2b812018d43c46ffef.tar.bz2 spack-0fcb368f478621b3eb8faf2b812018d43c46ffef.tar.xz spack-0fcb368f478621b3eb8faf2b812018d43c46ffef.zip |
Adding adios package to spack's package list
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/adios/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/packages/adios/package.py b/var/spack/packages/adios/package.py new file mode 100644 index 0000000000..5f298fc6b5 --- /dev/null +++ b/var/spack/packages/adios/package.py @@ -0,0 +1,28 @@ +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, + read, or processed outside of the running simulation + """ + + homepage = "http://www.olcf.ornl.gov/center-projects/adios/" + url = "http://users.nccs.gov/~pnorbert/adios-1.9.0.tar.gz" + + version('1.9.0', 'dbf5cb10e32add2f04c9b4052b7ffa76') + + # Lots of setting up here for this package + # module swap PrgEnv-intel PrgEnv-$COMP + # module load cray-netcdf/4.3.3.1 + # module load cray-hdf5/1.8.14 + # module load python/2.7.10 + 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'], + "--with-infiniband=no"] + + configure(*configure_args) + make() + make("install") |