Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate FileDriver(s) #622

Merged
merged 10 commits into from
Oct 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/examples/parallel_hdf5_write_dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ int main(int argc, char** argv) {
using namespace HighFive;
try {
// open a new file with the MPI IO driver for parallel Read/Write
FileAccessProps faprops;
faprops.add(MPIOFileACCess{MPI_COMM_WORLD, MPI_INFO_NULL});
File file(FILE_NAME,
File::ReadWrite | File::Create | File::Truncate,
MPIOFileDriver(MPI_COMM_WORLD, MPI_INFO_NULL));
faprops);
alkino marked this conversation as resolved.
Show resolved Hide resolved

// we define the size of our dataset to
// lines : total number of mpi_rank
Expand Down