Skip to content

bova-ev/ParProg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Parallel Programming

This repo contains my homework programs for "Parallel Programming" seminars in MIPT.

Programs

Obligatory programs

  • MPI
    • Ranks of processes (train.c, guide.c);
    • Work time of collective functions (time.c).

Bonus programs

  • MPI
    • Realization of collective functions;

Ranks of processes

The objective is to make N processes print their ranks in respective order (from 0 to N). There are two realizations.

"Train":

Each process prints its rank only after recieving message from previous process (process with rank 0 invokes first);

"Guide":

0 process sends message to process m (m < N) that has to print its rank at this moment. After printing its rank, process m sends message to 0 process. When 0 recieves message from m, 0 sends message to m + 1 and waits for response.

About

Homeworks for parallel programming seminars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published