Skip to content

Instantly share code, notes, and snippets.

@steindev
Last active July 12, 2022 13:45
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steindev/0ea04341c96ef068a1e78a353763c521 to your computer and use it in GitHub Desktop.
Save steindev/0ea04341c96ef068a1e78a353763c521 to your computer and use it in GitHub Desktop.
ADIOS2 configuration for PIConGPU *.cfg files
# See https://github.com/ComputationalRadiationPhysics/picongpu/issues/3530
# and https://github.com/ComputationalRadiationPhysics/picongpu/issues/3506
TBG_ADIOS2_configuration="'{ \
\"adios2\": { \
\"dataset\": { \
\"operators\": [ { \
\"type\": \"blosc\" \
, \"parameters\": { \
\"clevel\": \"1\" \
, \"compressor\": \"zstd\" \
, \"doshuffle\": \"BLOSC_BITSHUFFLE\" \
} \
} ] \
} \
, \"engine\": { \
\"type\": \"file\" \
, \"parameters\": { \
\"BufferGrowthFactor\": \"1.1\" \
, \"InitialBufferSize\": \"32GB\" \
, \"AggregatorRatio\" : \"1\" \
} \
} \
} \
}'"
TBG_openPMD="--openPMD.period 1000 \
--openPMD.file simData \
--openPMD.ext bp \
--openPMD.infix '_%T' \
--openPMD.dataPreparationStrategy mappedMemory \
--openPMD.json !TBG_ADIOS2_configuration"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment