Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE IF YOU KNOW THIS PROBLEM HELP. THANKS write and run a program that prints Hello World about 1000 times. Write a second program using

PLEASE IF YOU KNOW THIS PROBLEM HELP. THANKS

write and run a program that prints Hello World about 1000 times.

Write a second program using OpenMP which writes HelloWorld OpenMP about 1000 time.

Write a third program using MPI which writes Hello World MPI about 1000 times. Time each of the 3 programs by running each program at least 20 times and recording the wall clock time, calculate the average and standard deviation of your 20 timing values.

Tabulate the number of cores (processors) your program used and average times and standard deviation for the 3 different programs.

Compare the resulting average times.

Is this what you expected? What is the Speedup Factor, S(p), of your 2 parallel programs? S(p) = ts/tp, where ts is execution time on a single processor, and tp is execution time on a multiprocessor.

Discuss your results.

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

More Books

Students also viewed these Databases questions