https://github.com/antidigest/parallel
MPI programs shared here !
https://github.com/antidigest/parallel
Last synced: 3 months ago
JSON representation
MPI programs shared here !
- Host: GitHub
- URL: https://github.com/antidigest/parallel
- Owner: antiDigest
- Created: 2015-05-01T15:36:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-05T00:15:57.000Z (about 10 years ago)
- Last Synced: 2025-03-27T08:45:16.983Z (4 months ago)
- Language: Cuda
- Size: 877 KB
- Stars: 15
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parallel
MPI and OPENMP programs shared here !## To install MPI :
sudo apt-get install lam4-dev
## To run MPI :
1. lamboot
2. mpicc program.c -o program
3. mpirun -np ./program## To run OpenMP :
1. gcc -fopenmp program.c -o program
2. ./program
3. To change the number of processors : export OMP_NUM_THREADS=