Welcome!
-
This post talks about MPI_Finalize function in MPI. MPI_Finalize is the function used in the Message Passing Interface (MPI) to terminate the MPI environment. It must be called at the end of an MPI program once all communication and computation…
-
Message Passing Interface (MPI) : MPI_Comm_rank example
This post talks about MPI_Comm_rank function in MPI. MPI_Comm_rank function in the Message Passing Interface (MPI) is used to determine the rank (or unique ID) of a process within a communicator. Each process in an MPI program has a unique…
-
Message Passing Interface (MPI) : MPI_Comm_size example
This post talks about MPI_Comm_size function in MPI. MPI_Comm_size is a function in the Message Passing Interface (MPI) used to determine the total number of processes in a communicator. Syntax for MPI_Comm_size int MPI_Comm_size( MPI_Comm comm, int *size ) Input…
-
Message Passing Interface (MPI) : MPI_Init example
This post talks about MPI_Init function in MPI. MPI_Init function is called at the beginning of an MPI program to set up the communication environment for all processes in the specified communicator. Without this function, none of the MPI operations…
-
Message Passing Interface (MPI) : MPI_Allreduce example
This post talks about Reduction operation in MPI using MPI_Allreduce. MPI_Allreduce is a collective communication operation in the Message Passing Interface (MPI) that combines values from all processes in a communicator and distributes the result back to all processes. Syntax…