Reading data in parallel using MPI I/O

In the previous post “First steps in parallel file access using MPI I/O“, we discussed how to write some simple data in parallel using MPI I/O. Here we shall read back that data in parallel. The entire code is given in my GitHub repo MPI_Notes. Essentially, we have the following text data in a file: … Read more Reading data in parallel using MPI I/O

First steps in parallel file access using MPI I/O

If your code uses MPI for parallelization, then you may want to use MPI I/O for writing and reading data from files in parallel. It is common to see the use of POSIX parallel approach where each MPI process reads/writes a separate file. This approach has the following drawbacks: Not efficiently scalable for very high … Read more First steps in parallel file access using MPI I/O