MPI 3.0 Shared Memory Example

The Below content is put on with the assumption that the reader is very well accustomed to MPI Programming.

Shared Memory has always happened with the threads, but now, it seems MPI 3.0 has incorporated the feature along with it’s already existing one-sided communication (another feature, which allows communication among processes with very less overhead, google for more details). However, not all the address space is shared, just the single objects, using windows.

I wrote some simple programs which utilizes the shared-memory feature. Below is one of them.
Continue reading “MPI 3.0 Shared Memory Example”

Quick MPI Tutorial for Transforming Synchronous Send operation to Asynchronous Send operation

This is a quick tutorial to show you how to transform your synchronous send operation to asynchronous operation without affecting the communication. This tutorial assumes the reader knows what MPI is and so the explanation for the same is beyond its scope.

Synchronous Send

MPI_Send

Performs a blocking send, this routine may block until the message is received by the destination process.
Continue reading “Quick MPI Tutorial for Transforming Synchronous Send operation to Asynchronous Send operation”