From 2b6106524adaef29917edb033b0734411d8e0d40 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 28 Jan 2020 13:01:15 -0800 Subject: openPMD-api: With ADIOS2 by Default (#14643) Replace the deprecated ADIOS1 backend default with ADIOS2 default. Disable sz since we do not need it and it conflicts with supported version ranges between ADIOS2 and ADIOS1 if someone enables both. --- var/spack/repos/builtin/packages/openpmd-api/package.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py index 31dfe541c1..f05caa68f5 100644 --- a/var/spack/repos/builtin/packages/openpmd-api/package.py +++ b/var/spack/repos/builtin/packages/openpmd-api/package.py @@ -26,9 +26,9 @@ class OpenpmdApi(CMakePackage): description='Enable parallel I/O') variant('hdf5', default=True, description='Enable HDF5 support') - variant('adios1', default=True, + variant('adios1', default=False, description='Enable ADIOS1 support') - variant('adios2', default=False, + variant('adios2', default=True, description='Enable ADIOS2 support') variant('python', default=False, description='Enable Python bindings') @@ -40,9 +40,9 @@ class OpenpmdApi(CMakePackage): depends_on('hdf5@1.8.13:', when='+hdf5') depends_on('hdf5@1.8.13: ~mpi', when='~mpi +hdf5') depends_on('hdf5@1.8.13: +mpi', when='+mpi +hdf5') - depends_on('adios@1.13.1:', when='+adios1') - depends_on('adios@1.13.1: ~mpi', when='~mpi +adios1') - depends_on('adios@1.13.1: +mpi', when='+mpi +adios1') + depends_on('adios@1.13.1: ~sz', when='+adios1') + depends_on('adios@1.13.1: ~mpi ~sz', when='~mpi +adios1') + depends_on('adios@1.13.1: +mpi ~sz', when='+mpi +adios1') depends_on('adios2@2.5.0:', when='+adios2') depends_on('adios2@2.5.0: ~mpi', when='~mpi +adios2') depends_on('adios2@2.5.0: +mpi', when='+mpi +adios2') -- cgit v1.2.3-70-g09d2