Question: TASK 1: Install a software that can work with OpenMP. For Windows, you may choose Dev C++, and for Mac, you may choose gcc. Submit
TASK 1: Install a software that can work with OpenMP. For Windows, you may choose Dev C++, and for Mac, you may choose gcc. Submit a screenshot of the software after downloading it.
TASK 2: Write a hello world program with the default number of threads on your laptop. Submit the code and a screenshot of the run.
TASK 4: Write a program that enquires the number of processors (cores) and the number of threads on your laptop and prints out the values. Submit the code and a screenshot of the run.
TASK 5: Write a program with a meaningful loop calculation that uses a parallelized loop. Explain the way the loop works and show it by the output of the program. Measure the time taken by your code in seconds. Submit the code, the explanation and a screenshot of the run.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
