summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2019-04-10 19:18:05 -0400
committerPeter Scheibel <scheibel1@llnl.gov>2019-04-10 16:18:05 -0700
commitf1bdaa11d46b7d7c7014509143fd68d895cbfe37 (patch)
treea0485c23047c8b6f503d75db53a53c6178f54d36
parentea1de6b941c1eb9eec70f970cc363c6e35d08edf (diff)
downloadspack-f1bdaa11d46b7d7c7014509143fd68d895cbfe37.tar.gz
spack-f1bdaa11d46b7d7c7014509143fd68d895cbfe37.tar.bz2
spack-f1bdaa11d46b7d7c7014509143fd68d895cbfe37.tar.xz
spack-f1bdaa11d46b7d7c7014509143fd68d895cbfe37.zip
New Packages: ecp-io-sdk and ecp-viz-sdk (#11073)
-rw-r--r--var/spack/repos/builtin/packages/ecp-io-sdk/package.py45
-rw-r--r--var/spack/repos/builtin/packages/ecp-viz-sdk/package.py46
2 files changed, 91 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ecp-io-sdk/package.py b/var/spack/repos/builtin/packages/ecp-io-sdk/package.py
new file mode 100644
index 0000000000..bc10917305
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ecp-io-sdk/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class EcpIoSdk(CMakePackage):
+ """ECP I/O Services SDK"""
+
+ homepage = "https://github.com/chuckatkins/ecp-data-viz-sdk"
+ git = "https://github.com/chuckatkins/ecp-data-viz-sdk.git"
+
+ maintainers = ['chuckatkins']
+
+ version('1.0', branch='master')
+
+ variant('hdf5', default=True, description="Enable HDF5")
+ variant('adios2', default=True, description="Enable ADIOS2")
+ variant('pnetcdf', default=True, description="Enable PNetCDF")
+ variant('darshan', default=True, description="Enable Darshan")
+ variant('mercury', default=True, description="Enable Mercury")
+
+ # Broken dependency: boost
+ # variant('veloc', default=False, description="Enable VeloC")
+
+ # Missing dependency: margo
+ # variant('unifycr', default=False, description="Enable UnifyCR")
+
+ # Currently no spack packages
+ # variant('romio', default=False, description="Enable ROMIO")
+ # variant('faodel', default=False, description="Enable FAODEL")
+
+ depends_on('hdf5', when='+hdf5')
+ depends_on('adios2', when='+adios2')
+ depends_on('parallel-netcdf', when='+pnetcdf')
+ depends_on('veloc', when='+veloc')
+ depends_on('unifycr', when='+unifycr')
+ depends_on('darshan-runtime', when='+darshan')
+ depends_on('darshan-util', when='+darshan')
+ depends_on('mercury', when='+mercury')
+
+ def cmake_args(self):
+ return ['-DIO=ON']
diff --git a/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py b/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py
new file mode 100644
index 0000000000..734982799b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py
@@ -0,0 +1,46 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class EcpVizSdk(CMakePackage):
+ """ECP Viz & Analysis SDK"""
+
+ homepage = "https://github.com/chuckatkins/ecp-data-viz-sdk"
+ git = "https://github.com/chuckatkins/ecp-data-viz-sdk.git"
+
+ maintainers = ['chuckatkins']
+
+ version('1.0', branch='master')
+
+ variant('paraview', default=False, description="Enable ParaView")
+ variant('vtkm', default=False, description="Enable VTK-m")
+ variant('zfp', default=False, description="Enable ZFP")
+ variant('sz', default=False, description="Enable SZ")
+
+ # TODO: fix +osmesa~rendering conflict
+ variant('catalyst', default=False, description="Enable Catalyst")
+
+ # Unsatisfiable dependencies: hdf5 and netcdf
+ # variant('visit', default=False, description="Enable VisIt")
+
+ # Broken dependency: vtk-h
+ # variant('ascent', default=False, description="Enable Ascent")
+
+ # Missing spack package
+ # variant('cinema', default=False, description="Enable Cinema")
+ # variant('rover', default=False, description="Enable ROVER")
+
+ depends_on('paraview', when='+paraview')
+ depends_on('catalyst', when='+catalyst')
+ depends_on('vtkm', when='+vtkm')
+ depends_on('ascent', when='+ascent')
+ depends_on('visit', when='+visit')
+ depends_on('zfp', when='+zfp')
+ depends_on('sz', when='+sz')
+
+ def cmake_args(self):
+ return ['-DVIZ=ON']