Sample MPI code to sum numbers + Mid sem answer sheets graded.

7 views
Skip to first unread message

Akshay

unread,
Mar 29, 2016, 3:30:54 AM3/29/16
to 7it6237bioinformatics2015
I have shared sample code for summing numbers using MPI in the Dropbox folder. The file is "MPI_Sum.cpp". Please go through it w.r.t. the following:
>How to randomly generate input data
>How to scatter input data across processors
>Where to include sequential algorithm and how to measure its runtime
>When to start and stop measuring runtime of parallel code. 
>Where/how to calculate speedup and efficiency. 

Looking at the submissions for the Prog Assignment 1, most of them fail w.r.t. above points. Though, this time I have considered those programs acceptable that run in some sort of way, it will not be the case for the next prog assignment. So, please go through the shared code. I will also discuss this in tomorrow's class. 
Also, mid sem answer sheets have been graded -- they will be shown in tomorrow's class. 

Regards,
Akshay
Reply all
Reply to author
Forward
0 new messages