Skip to content

natarovvar/mpi-looped-vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Looped vector

The task implements parallel calculations on different processors

Problem statement

Pass a vector of 100 elements along the ring, let each process iterate through the elements in the array with a number multiple of its number and calculate the number of even ones. The resulting result is pressed on the process with the number 0, the process with the number 0 forms an array from the received values (the element number corresponds to the process number)

Scheme

Technology Stack

  • C++20
  • MPI 4.0

Releases

No releases published

Packages

No packages published

Languages