Experiment No. 5
Aim : To Add 100 numbers on computer
cluster using MPI and display time
taken by each processor
Theory:
1.
Write about time calculation using MPI
Procedure:
i)
Calculate sum of 100 numbers
on single machine
ii)
Measure time taken to calculate the sum
iii)
Calculate sum of 100 numbers
on machines in cluster in parallel
iv)
Measure time taken to calculate the sum
v)
Display the graph No. of processors Vs Time required to execute
Input : A file containing 100 numbers to be
added
Output: 1.Result addition from each processor
2. Graph time Vs number of nodes
No comments:
Post a Comment