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 Nov 15, 2024
1 parent 875beff commit 9f2b4a9
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 @@ -157,13 +157,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 9f2b4a9

Please sign in to comment.