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

Parallel computing approaches for CFD

When it comes to parallel computing, there are many ways to solve any complex scientific computing problem. Some are more suitable than others. The method and approach should be determined on a case by case basis with an understanding of the computational algorithm and data structures involved. In this series of articles, I will describe … Read more Parallel computing approaches for CFD

Installing HDF5 and CGNS in Ubuntu 18.04 LTS

If you are a computational fluid dynamics (CFD) practitioner, at some point, you would have to use Hierarchical Data Format 5 (HDF5) and CFD General Notation System (CGNS) libraries in your programs. HDF5 format provides an advanced way of organizing any data and allows efficient access to the data. CGNS prescribes specific methods and practices … Read more Installing HDF5 and CGNS in Ubuntu 18.04 LTS

First steps in Parallel Computing : Using OpenMP in Fortran

For a long time, I had this idea that parallel computing is a difficult task and kept away from it. Also my computations were not that demanding in those days. Recently when I had to solve a large system of ordinary differential equations numerically, I was forced to learn how to do this in parallel. … Read more First steps in Parallel Computing : Using OpenMP in Fortran