Answered step by step
Verified Expert Solution
Question
1 Approved Answer
work in this project should be done in groups of 5 students. The submission should clearlyshow all team members names and ID numbers, section number.
work in this project should be done in groups of students. The submission should clearlyshow all team members names and ID numbers, section number. You must use a multicorecomputer for all of this project, so you must make sure that the machine you are running yourexperiments on is a multicore machine with no less than cores. Failure to submit according tothese guidelines may result in zero marks.Use the code sarraysum.c attached and do the following:a Parallelize the serial code then modify it to take a command line parameter for thenumber of threads, array size N to use for arrays sum. Useompsetnumthreadsnumthreads to set the number of threads.b Print the time taken to execute initialization AND summing.c Run the arrays sum program with size using and threads, by passing the correct value at the command line. Run each one for five times,and record the elapsed times in table belowst runnd runrd runth runth rund. Compute the speedup in a table showing the number of threads, and the speedup, and drawthe speedup graphs.e Compute the efficiency in a table showing the number of threads, speedup, and theefficiency, then draws the speedup graphs.f Apply Amdahls Law to compute the Runtime of parallelizableserializable parts of theprogram. Decide in the parallelize fragment of the serial program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started