Skip to content

Comments

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

Open
markcmiller86 wants to merge 3 commits into4.12RCfrom
bug-mcm86-10feb26-unkdrvr-mpio
Open

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

Conversation

@markcmiller86
Copy link
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

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