Skip to content

Commit 2b61065

Browse files
ax3ladamjstewart
authored andcommitted
openPMD-api: With ADIOS2 by Default (spack#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.
1 parent 635fc62 commit 2b61065

File tree

1 file changed

+5
-5
lines changed
  • var/spack/repos/builtin/packages/openpmd-api

1 file changed

+5
-5
lines changed

var/spack/repos/builtin/packages/openpmd-api/package.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class OpenpmdApi(CMakePackage):
2626
description='Enable parallel I/O')
2727
variant('hdf5', default=True,
2828
description='Enable HDF5 support')
29-
variant('adios1', default=True,
29+
variant('adios1', default=False,
3030
description='Enable ADIOS1 support')
31-
variant('adios2', default=False,
31+
variant('adios2', default=True,
3232
description='Enable ADIOS2 support')
3333
variant('python', default=False,
3434
description='Enable Python bindings')
@@ -40,9 +40,9 @@ class OpenpmdApi(CMakePackage):
4040
depends_on('hdf5@1.8.13:', when='+hdf5')
4141
depends_on('hdf5@1.8.13: ~mpi', when='~mpi +hdf5')
4242
depends_on('hdf5@1.8.13: +mpi', when='+mpi +hdf5')
43-
depends_on('adios@1.13.1:', when='+adios1')
44-
depends_on('adios@1.13.1: ~mpi', when='~mpi +adios1')
45-
depends_on('adios@1.13.1: +mpi', when='+mpi +adios1')
43+
depends_on('adios@1.13.1: ~sz', when='+adios1')
44+
depends_on('adios@1.13.1: ~mpi ~sz', when='~mpi +adios1')
45+
depends_on('adios@1.13.1: +mpi ~sz', when='+mpi +adios1')
4646
depends_on('adios2@2.5.0:', when='+adios2')
4747
depends_on('adios2@2.5.0: ~mpi', when='~mpi +adios2')
4848
depends_on('adios2@2.5.0: +mpi', when='+mpi +adios2')

0 commit comments

Comments
 (0)