Experiment No. 4
Aim : To Add 100 numbers on computer
cluster using MPI
Theory:
1.
Write about parallelism in Addition algorithm
Refer : mpitutorial
Procedure:
i)
Distribute the 100 numbers among the processors in cluster
ii)
Each processor adds the numbers it has received locally & sends
result to master node
iii)
Master node calculates sum of
all results received from slaves & displays it
2. Give mathematical model for parallel algorithm
Input : A file containing 100 numbers to be added
Output: Result addition from each processor
No comments:
Post a Comment