Skip to content

MPI Parallel program in C for The Sieve of Eratosthenes - project for course Parallel and Concurrent Programming

License

Notifications You must be signed in to change notification settings

marius92mc/sieve-of-eratosthenes-with-MPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPI Sieve of Eratosthenes

Build Status

MPI Parallel program in C for The Sieve of Eratosthenes - project for Parallel and Concurrent Programming course

Based on the initial version of the problem presented in the book "Parallel programming in C with MPI and openMP", by Quinn.

Compile

$ cd src/  
$ mpicc -o eratosthenes_improved eratosthenes_improved.c

Run

$ cd src/ 
$ mpirun -np 5 eratosthenes_improved 152512534

Sample Output

8577481 primes are less than or equal to 152512534
Total elapsed time:   5.247906s

About

MPI Parallel program in C for The Sieve of Eratosthenes - project for course Parallel and Concurrent Programming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages