Commit 78fbf4e
authored
Add HDF5 option to configure script and add environment variables for configuring HDF5 (#5392)
## Summary
- Resolves #5391
- Adds an `--hdf5` flag to the `configure` script to allow configuring
AMReX with HDF5 support
- Adds two new environment variables:
- `HDF5_ALIGNMENT_SIZE` which is passed to `H5Pset_alignment()`
- `HDF5_BLOCK_SIZE` which is passed to `H5Pset_meta_block_size()`
## Additional background
- The two new environment variables mirror how the [other HDF5
configuration
option](https://github.com/AMReX-Codes/amrex/blob/development/Src/Extern/HDF5/AMReX_PlotFileUtilHDF5.cpp#L460-L467)
is currently set.
- ~If we want to move forward with these changes, I will add appropriate
documentation before taking the PR out of draft.~
## Checklist
The proposed changes:
- [ ] ~fix a bug or incorrect behavior in AMReX~
- [x] add new capabilities to AMReX
- [ ] ~changes answers in the test suite to more than roundoff level~
- [ ] ~are likely to significantly affect the results of downstream
AMReX users~
- [x] include documentation in the code and/or rst files, if appropriate1 parent d49c43f commit 78fbf4e
4 files changed
Lines changed: 33 additions & 3 deletions
File tree
- Docs/sphinx_documentation/source
- Src/Extern/HDF5
- Tools/libamrex
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
237 | 246 | | |
238 | 247 | | |
239 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
122 | 135 | | |
123 | | - | |
| 136 | + | |
124 | 137 | | |
125 | 138 | | |
126 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
| 181 | + | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
| |||
0 commit comments