Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
/ simple-mpi Public archive

lynkos/simple-mpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Details

Each process:

  1. Tests its share of the cases
  2. Keeps a running total

Before it finishes, the process prints out:

  1. Its ID number
  2. Count of primes that it found

Master process ends after printing:

  1. Total number of primes between 1 and MAX_CONST inclusive
  2. Total amount of time taken to find all the primes

About

This program counts the number of prime numbers between 1 to MAX_CONST inclusive using MPI (parallel programming).

Topics

Resources

Stars

Watchers

Forks

Contributors