High performance computing print out \"Hello World!\" The purpose of this lab is
ID: 3729093 • Letter: H
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 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 Studio2Explanation / Answer
Answer To Your First Question
>Just right click on the root folder create Folder
And create a file with c extension
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int i;
for(i=1;i<=1000;i++)
cout<<"Hello World"<<endl;
getch();
}
And Use this code
2.Now Answer To Your Second Question
This Program Will Print the output you should enter the value.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.