Skip to content

Remove mpio vfd from default list processed by unknown driver#517

Merged
markcmiller86 merged 3 commits into4.12RCfrom
bug-mcm86-10feb26-unkdrvr-mpio
Mar 24, 2026
Merged

Remove mpio vfd from default list processed by unknown driver#517
markcmiller86 merged 3 commits into4.12RCfrom
bug-mcm86-10feb26-unkdrvr-mpio

Conversation

@markcmiller86
Copy link
Copy Markdown
Member

This has never been seen before because most people link Silo against serial HDF5 and/or do not use Silo's DB_UNKNOWN driver when opening some file.

The combination of linking to a parallel-enabled HDF5 library and using Silo's DB_UNKNOWN to open a file could lead to a seg-fault in MPI.

Because Silo can be used with a variety of HDF5 virtual file drivers (vfd), when opening an "unknown" file, different vfds maybe to be tried (e.g. split, family, silo-block-based, etc.). This list also included HDF5's built-in MPIO vfd if the HDF5 Silo was linked to was enabled with parallel. This would eventually trigger MPI_xxx() calls in the HDF5 library when MPI_Init() had not been called.

This PR fixes this problem. It also fixes some problems running tests on macOS. The key patch commit for the funky MPI behavior is 7cb7983

@markcmiller86 markcmiller86 merged commit 5f73dd3 into 4.12RC Mar 24, 2026
4 checks passed
@markcmiller86 markcmiller86 deleted the bug-mcm86-10feb26-unkdrvr-mpio branch March 24, 2026 01:11
markcmiller86 added a commit that referenced this pull request Mar 24, 2026
Remove mpio vfd from default list processed by unknown driver
markcmiller86 added a commit that referenced this pull request Mar 24, 2026
Merge pull request #517 from llnl/bug-mcm86-10feb26-unkdrvr-mpio
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.

1 participant