Skip to content

Skip some parallel example tests for small MPIEXEC_MAX_NUMPROCS values#6224

Merged
lrknox merged 1 commit intoHDFGroup:developfrom
jhendersonHDF:skip_par_examples
Feb 23, 2026
Merged

Skip some parallel example tests for small MPIEXEC_MAX_NUMPROCS values#6224
lrknox merged 1 commit intoHDFGroup:developfrom
jhendersonHDF:skip_par_examples

Conversation

@jhendersonHDF
Copy link
Copy Markdown
Collaborator

@jhendersonHDF jhendersonHDF commented Feb 17, 2026

Important

Modify ADD_GREP_TEST macro to skip tests if MPIEXEC_MAX_NUMPROCS is insufficient in H5PAR/CMakeLists.txt and H5PAR/FORTRAN/CMakeLists.txt.

  • Behavior:
    • Modify ADD_GREP_TEST macro in H5PAR/CMakeLists.txt and H5PAR/FORTRAN/CMakeLists.txt to skip tests if MPIEXEC_MAX_NUMPROCS is less than required numprocs.
    • Ensures tests are only run when sufficient processes are available.
  • Misc:
    • Fix typo in macro parameter from mumprocs to numprocs in both files.

This description was created by Ellipsis for a32950f. You can customize this summary. It will automatically update as commits are pushed.

Comment thread HDF5Examples/FORTRAN/H5PAR/CMakeLists.txt
@vchoi-hdfgroup vchoi-hdfgroup moved this from To be triaged to In progress in HDF5 - TRIAGE & TRACK Feb 19, 2026
@lrknox lrknox merged commit 3f4d26f into HDFGroup:develop Feb 23, 2026
131 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in HDF5 - TRIAGE & TRACK Feb 23, 2026
lrknox added a commit that referenced this pull request Feb 25, 2026
* Skip some parallel example tests for small MPIEXEC_MAX_NUMPROCS values (#6224)

* chore: fix grammar (#6227)

* Split static targets into separate optional target [UPDATED] (#6216)

Build-tree exports can't diverge from install-tree exports — the export(EXPORT ...) reads directly from the install export sets. No manual list to keep in sync.

Removed 3 global variables (HDF5_STATIC_LIBRARIES_TO_EXPORT, HDF5_JAVA_LIBRARIES_TO_EXPORT, HDF5_UTILS_TO_EXPORT) and their ~21 set_global_variable calls across tool/utility files.

Fixed the static-only build bug in the PR where the base export set was guarded by BUILD_SHARED_LIBS, breaking tools export.

Removed redundant utils in export files — the PR was dumping tools into all three build-tree export files (java, static, shared). Now they correctly appear only in the base export.

* Apply filters to variable-length data (#6178)

Closes can_apply and set_local filter callbacks skipped for H5T_VARIABLE dtypes #5942. A more detailed explanation of the rationale for this PR is in the linked issue.

Mandatory filters can be now applied to variable-length data. This notably includes h5py object strings and NpyStrings.

Optional filters applied to variable-length data no longer skip can_apply and set_local, only to jump directly to filter. This fixes hdf5_blosc and HDF5_Blosc2, which rely on set_local. Note that all filters which have neither can_apply nor set_local have always worked fine with vlen data, as long as they were tagged as optional. Notable examples are deflate, lzf, bzip2 (from hdf5plugin), and lz4 (also from hdf5plugin).

Lossy filters, such as scale-offset, are and remain untested and most likely broken, as I expect them to treat the vlen metadata as numbers and corrupt it. The right place to ensure proper behaviour is their can_apply function, which however is broken (filters: can_apply does nothing for optional filters #6161).
@jhendersonHDF jhendersonHDF deleted the skip_par_examples branch March 18, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants