Skip to content

Add check for using parallel hdf5 in non-mpi build - #4420

Merged
ye-luo merged 2 commits into
QMCPACK:developfrom
PhilipFackler:disallow-phdf5-for-non-mpi
Jan 27, 2023
Merged

Add check for using parallel hdf5 in non-mpi build#4420
ye-luo merged 2 commits into
QMCPACK:developfrom
PhilipFackler:disallow-phdf5-for-non-mpi

Conversation

@PhilipFackler

Copy link
Copy Markdown
Contributor

Proposed changes

Added check for when MPI is disabled but the parallel HDF5 library was found. This results in an error due to incompatibility, since the parallel HDF5 library cannot be used without MPI.
Closes #4370

What type(s) of changes does this code introduce?

  • Build related changes

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

Ubuntu 22.04

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'
  • No. Code added or changed in the PR has been clang-formatted
  • No. This PR adds tests to cover any new code, or to catch a bug that is being fixed
  • No. Documentation has been added (if appropriate)

Added check for when MPI is disabled but the parallel hdf5 library was
found. This results in an error due to incompatibility.
@williamfgc

Copy link
Copy Markdown
Contributor

Test this please

ye-luo
ye-luo previously approved these changes Jan 27, 2023
@ye-luo
ye-luo enabled auto-merge January 27, 2023 18:09
@prckent

prckent commented Jan 27, 2023

Copy link
Copy Markdown
Contributor

Test this please

@ye-luo
ye-luo merged commit fa62bd0 into QMCPACK:develop Jan 27, 2023
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.

Build failure when MPI is off with parallel HDF

4 participants