Answered step by step
Verified Expert Solution
Link Copied!

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 5 students. The submission should clearlyshow all team members names and ID numbers, section number. You must use a multi-corecomputer 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 2 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. Useomp_set_num_threads(num_threads) to set the number of threads.b. Print the time taken to execute initialization AND summing.c. Run the arrays sum program with size 100000000 using 1,2,4,6,8,16,24, and 32threads, by passing the correct value at the command line. Run each one for five times,and record the elapsed times in table below.124681624321st run2nd run3rd run4th run5th 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 parallelizable/serializable 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis In Microsoft Excel

Authors: Alex Holloway

1st Edition

B0CCCPKTTX, 979-8852388452

More Books

Students also viewed these Databases questions

Question

Write an unsimplified minterm expression for this truth table.

Answered: 1 week ago

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago

Question

Identify conflict triggers in yourself and others

Answered: 1 week ago