Question: High performance computing print out Hello World! The purpose of this lab is to familiarize you with the Cloud 9 environment and show a simple
print out "Hello World!" The purpose of this lab is to familiarize you with the Cloud 9 environment and show a simple comparison of sequential c++, OpenMP, and MPI programs 1. Log onto Cloud 9 and create a folder Labl. In the directory, 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. 2. 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? 3. What is the Speedup Factor, S(p), of your 2 parallel programs? S(p) = t:/tp. where ts is execution time on a single processor, and to is execution time on a multiprocessor. 4. Discuss your results. isual Studio2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
