Geek Culture
Published in

Geek Culture

Hello World in MPI — A Brief Explanation of the Implementation

In our previous article, we discussed setting up MPI in WIndows 10 machine and verified the MPI through the Hello World program in brief.

Photo by Gustas Brazaitis on Unsplash

Let’s dive right into the code from that lesson. The implemented code is given below.

#include "mpi.h"
#include <stdio.h>
int main(int argc, char* argv[])
{
// Initialize the MPI environment…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store