Skip to content

Build the MGARD 1.6.0 data-compatibility decoder by default - #264

Merged
JieyangChen7 merged 2 commits into
CODARcode:masterfrom
gqian-coder:data-compatibility-default-on
Oct 27, 2026
Merged

JieyangChen7 merged 2 commits into
CODARcode:masterfrom
gqian-coder:data-compatibility-default-on

Conversation

@gqian-coder

Copy link
Copy Markdown
Contributor

MGARD_ENABLE_DATA_COMPATIBILITY now defaults to ON. With it OFF, a 1.7 build cannot decompress anything written by MGARD 1.6.x, the previous release: decompress returns DataCompatibilityNotEnabledFailure. Callers that do not check the status cannot tell. ADIOS2's mgard operator, for one, ignores it, so reading 1.6.x data through an OFF build returns zeros with no error. Builds that never read 1.6.x data can still turn the option off.

Compressed output is the same with the option ON or OFF.

Update the option text, the MGARD-X guide and the 1.7.0 release notes. The "roughly doubles the build time" note is replaced by a neutral one: on one Frontier node (HIP gfx90a + SERIAL + MDR, tests on, -j32) the full build took 7m24s with the decoder instead of 6m42s, and libmgard.so grew from 258 MB to 344 MB.

gqian-coder and others added 2 commits October 23, 2026 10:59
MGARD_ENABLE_DATA_COMPATIBILITY now defaults to ON. With it OFF, a 1.7 build
cannot decompress anything written by MGARD 1.6.x, the previous release:
decompress returns DataCompatibilityNotEnabledFailure. Callers that do not
check the status cannot tell. ADIOS2's mgard operator, for one, ignores it,
so reading 1.6.x data through an OFF build returns zeros with no error.
Builds that never read 1.6.x data can still turn the option off.

Compressed output is the same with the option ON or OFF.

Update the option text, the MGARD-X guide and the 1.7.0 release notes. The
"roughly doubles the build time" note is replaced by a neutral one: on one
Frontier node (HIP gfx90a + SERIAL + MDR, tests on, -j32) the full build took
7m24s with the decoder instead of 6m42s, and libmgard.so grew from 258 MB to
344 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The build workflow failed in build-MGARD's first step, `sudo apt-get install
...`, with exit code 100, before the code was checked out; the same step
passed on master on 2026-10-14. The usual cause is stale package lists:
hosted runners ship with the lists from when the image was built, and the
mirror drops package versions that have since been superseded. Run
`apt-get update` first in every job that installs packages, as GitHub
recommends for its hosted runners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JieyangChen7
JieyangChen7 merged commit febe451 into CODARcode:master Oct 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants