Following are the commands for Installation, compiling and running
Installation:
1.apt-get install libopenmpi-dev
2.apt-get install openmpi-bin
Compilation:
mpicc filename.c -o filename
Running:
mpirun -np 1 ./filename
C Code link: https://drive.google.com/drive/folder...