BPLS.MPI(1)
π NAME π
okay bestie, so bpls.mpi is literally the ADIOS2 utility and she's here to spill the entire contents of your file. no cap. π
β¨ DESCRIPTION β¨
The vibe check first, because the usage line is sacred and we do not touch it:
usage: bpls [OPTIONS] file [mask1 mask2 ...]
So what does she do? She lists and/or dumps the content of a BP or HDF5 file. π«Ά
A mask can be a shell pattern, exactly like what you'd hand to ls β think something like "*/x?". iykyk. And here's the iconic part: variables with multiple timesteps get reported with an extra dimension, and that time dimension is the first dimension. she's organized like that. π
π OPTIONS π
--long,-lβ print the values of all scalars and attributes, plus the min/max values of arrays. and the bestie said "no overhead to get them!" like she's not even stressed about it. queen behavior. π--attrs,-aβ list/match attributes too, not just the variables--attrsonly,-Aβ attributes ONLY. nothing else. she's laser focused. π―--meshes,-mβ list meshes--timestep,-tβ read content step by step (stream reading, so you're literally watching it happen) π--ignore_flattenβ display steps as they were actually written; don't flatten, even if the writer said to. respect the original vision fr fr. β¨--dump,-dβ dump the matched variables/attributes. and heads up: to match attributes too, you gotta add option-aπ--regexp,-eβ treat masks as extended regular expressions--output,-o <path>β print to a file instead of stdout--start,-s "spec"β offset indices in each dimension (default is0for all dimensions). and<0is handled like python does it, so-1is the last one π--count,-c "spec"β number of elements in each dimension.-1means "until end" of that dimension (default is-1for all dimensions)--noindex,-yβ print data without array indices--string,-Sβ print 8bit integer arrays as strings--columns,-n "cols"β number of data elements per row to print--format,-f "str"β format string to use for one data item in print instead of the default. e.g."%6.3f"--hidden_attrsβ show the hidden ADIOS attributes in the file π secrets!--decomp,-Dβ show the decomposition of variables as layed out in file--error,-X stringβ specify read accuracy as (error,norm,rel|abs), e.g.error="0.0,0.0,abs"L2 norm = 0.0, Linf = inf--transport-parameters,-Tβ specify File transport parameters, e.g."Library=stdio"--engine,-E <name>β specify ADIOS Engine--engine-params,-P stringβ specify ADIOS Engine Parameters, e.g."SelectSteps=0:n:2"
πΈ Examples for slicing πΈ
not me giving you the exact receipts for slicing, because this is the part everyone asks about:
-s "0,0,0"-c "1,99,1"β print 100 elements (of the 2nd dimension)-s "0,0"-c "1,-1"β print the whole 2nd dimension however large it is-s "-1,-1"-c "1,1"β print the very last element (of a 2D array)
π¦ Help options π¦
--help,-hβ print this help--verbose,-vβ print log about what this program is doing. use multiple-vto increase the logging level π (yes, stacking them is the move)--version,-Vβ print version information; compatible with--verbosefor additional information, i.e.-v --version
Typical use: bpls -lav <file>
like. that's the whole thing. -lav. memorize it. put it on a sticky note. π
and that's the page, bestie β this one came from the ADIOS manual, dated September 2024. go forth and list your files, you absolute main character. π§π
π¦ where this page comes from
- debian trixie: adios2-mpi-bin 2.10.2+dfsg1-2 Β· Apache2
- ubuntu questing: adios2-mpi-bin 2.10.2+dfsg1-5
- ubuntu resolute: adios2-mpi-bin 2.11.0+dfsg1-6build1 Β· Apache2
- ubuntu stonking: adios2-mpi-bin 2.12.1+dfsg1-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms