Adding adios package to spack's package list
This commit is contained in:
parent
08729315c6
commit
0fcb368f47
1 changed files with 28 additions and 0 deletions
28
var/spack/packages/adios/package.py
Normal file
28
var/spack/packages/adios/package.py
Normal file
|
@ -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")
|
Loading…
Reference in a new issue