Skip to content

Commit

Permalink
Switch to JSON config for NVidia compiler's benefit
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Aug 5, 2024
1 parent 71a4456 commit 233f020
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions examples/7_extended_write_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,23 @@ int main()
io::determineDatatype<uint64_t>(),
{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);

Expand Down

0 comments on commit 233f020

Please sign in to comment.