Comments (5)
As a side note, there are non-blocking MPI-I/O ops now coming to MPI (cutesy of Quincy Koziol's work on the standard).
HDF5 is planning to use it to introduce async APIs as well.
In the future, that would allow a workflow similar as we have in ADIOS1/2: independent storage calls for chunks and maybe even attributes, with a collective call needed to kick off the writes/reads.
from openpmd-api.
Refs.:
- Quincy Koziol's ATPESC23 or HUG23 slides (to be linked)
- @jeanbez's HUG23 slides https://docs.google.com/presentation/d/1AdQNynZ7Qe40fdwNQ_MvZFBPVWZd4x6GuCUx6IkfWxU/edit#slide=id.g23ba479a05a_0_7
from openpmd-api.
Other details:
- check
H5Pget_mpio_actual_io_mode
and of not as expected,H5Pget_mpio_no_collective_cause
Things like accidental datatype conversions, dataspace conversion (both between declaration and write) and too small I/O requests (<FS block size) might break collectives into independent I/O.
from openpmd-api.
As a side note, there are non-blocking MPI-I/O ops now coming to MPI (cutesy of Quincy Koziol's work on the standard). HDF5 is planning to use it to introduce async APIs as well.
In the future, that would allow a workflow similar as we have in ADIOS1/2: independent storage calls for chunks and maybe even attributes, with a collective call needed to kick off the writes/reads.
Side note, we are now testing OpenPMD with CACHE+ASYNC VOL connectors. Using the ASYNC VOL directly had some issues related to attributes that prevented the operations from being fully asynchronous and benefiting from it, but stacking it with the CACHE VOl seems to do the trick.
from openpmd-api.
Note the API of Series::flush()
:
/** Execute all required remaining IO operations to write or read data.
*
* @param backendConfig Further backend-specific instructions on how to
* implement this flush call.
* Must be provided in-line, configuration is not read
* from files.
*/
void flush(std::string backendConfig = "{}");
I imagine that series.flush("hdf5.independent_stores = false")
would be a relatively straightforward API to expose this feature.
from openpmd-api.
Related Issues (20)
- HDF5 files are confusing HOT 2
- Unclear error message for unsupported file format HOT 1
- Support JSON for parallel I/O HOT 6
- Passing ADIOS hint HOT 1
- DataFrame to ASCII: Header of First Column in CSV HOT 1
- variableBased Encoding should be limited to ADIOS HOT 4
- reloading mesh data in jupyter produces wrong data HOT 15
- Possible extra `/` in data path HOT 6
- Add new checks to clang-tidy test
- Back-Transformed Diagnostics like Tests
- ADIOS2: Non-MPI Parallel Reads (DASK)
- HDF5: Remove Support for Old Versions HOT 1
- Debugging a New File HOT 5
- Improper use of `set_const` HOT 4
- HDF5 Exception Message on Broken Mesh Attribute HOT 2
- C API HOT 2
- Use file based encoding to store BTD files with BP5
- CI is very slow HOT 2
- CMake 3.27.1 generates warning when using FetchContent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openpmd-api.