Category: MPI

  • Message Passing Interface (MPI) : MPI_Recv example

    by

    in

    This post talks about a simple MPI sending and receiving operation. To compile this code, use following command – To execute this code, run following command – Output of this code will be something similar to the following –

  • Message Passing Interface (MPI) : MPI_Send example

    by

    in

    This post talks about a simple MPI sending and receiving operation. To compile this code, use following command – To execute this code, run following command – Output of this code will be something similar to the following –

  • Message Passing Interface (MPI) : Hello World!

    by

    in

    In this post, we are going to look at the hello world code for Message Passing Interface (MPI). To compile this code, use following command – To execute this code, run following command – This command creates 4 processes. Each of this process, executes the same “a.out” file. For 4 processes, one will get output…