M11. Assignment: ProcessingNo due date The following FORTRAN program is to be executed on a computer, and a parallel version is to be executed on a 32-computer cluster. L1: DO 10 I = 1, 1024 L2:...

M11. Assignment: ProcessingNo due date
The following FORTRAN program is to be executed on a computer, and a parallel version is to be executed on a 32-computer cluster.
L1: DO 10 I = 1, 1024
L2: SUM(I) = 0
L3: DO 20J = 1, I
L4: 20 SUM(I) = SUM (I) + 1
L5: 10 CONTINUE
Suppose lines 2 and 4 each take two machine cycle times, including all processor and memory-access activities. Ignore the overhead caused by the software loop control statements (lines 1,3,5) and all other system overhead and resource conflicts.
a. What is the total execution time (in machine cycle times) of the program on a single computer?
b. Divide the I-loop iterations among the 32 computers as follows: Computer 1 executes the first 32 iterations (I= 1 to 32), processor 2 executes the next 32 iterations, and so on. What are the execution time and speedup factor compared with part (a)? (Note that the computational workload, dictated by the J-loop, is unbalanced among the computers).
c. Explain how to modify the parallelizing to facilitate a balanced parallel execution of all the computational workload over 32 computers. By a balanced load is meant an equal number of additions assigned to each computer with respect to both loops.
d. What is the minimum execution time resulting from the parallel execution on 32 computers? What is the resulting speedup over a single computer?
Submission:
Must be with standard 1-inch margins in Times New Roman or Garamond font.Must be double-spaced.Must address the topic of the paper with critical thought.Upload as a .doc or .docx.
May 12, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here