To run the file on Ubuntu, use the following commands
mpiCC -fopenmp main.cpp -o task
mpiexec -n 11 ./task where 11 is the number of processes
๐ฉ Feel Free to add comments ๐ง Incase of any queries contact me at [email protected]