MPI and OPENMP programs shared here !
sudo apt-get install lam4-dev
- lamboot
- mpicc program.c -o program
- mpirun -np <no. of processors> ./program
- gcc -fopenmp program.c -o program
- ./program
- To change the number of processors : export OMP_NUM_THREADS=