From 17e41dd284c08c748d22c6e65403691d91f01e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Wed, 3 Jul 2024 14:07:30 +0200 Subject: [PATCH] Switch to JSON config for NVidia compiler's benefit --- examples/7_extended_write_serial.cpp | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/examples/7_extended_write_serial.cpp b/examples/7_extended_write_serial.cpp index a7478996aa..4014819419 100644 --- a/examples/7_extended_write_serial.cpp +++ b/examples/7_extended_write_serial.cpp @@ -162,13 +162,23 @@ int main() io::determineDatatype(), {2}, R"( - hdf5.dataset.chunks = "auto" - - hdf5.dataset.permanent_filters = [ - {type = "zlib", aggression = 5}, - {id = "shuffle", "flags" = "MANDATORY"} - ] - )"); + { + "hdf5": { + "dataset": { + "chunks": "auto", + "permanent_filters": [ + { + "aggression": 5, + "type": "zlib" + }, + { + "flags": "MANDATORY", + "id": "shuffle" + } + ] + } + } + })"); electrons.particlePatches["numParticles"].resetDataset(dset); electrons.particlePatches["numParticlesOffset"].resetDataset(dset);