Critically evaluate high performance computing

Assignment Help Computer Engineering
Reference no: EM133045076

COMP1680 Clouds, Grids and Virtualisation - University of Greenwich

Learning Outcome 1: Characterise and critically evaluate high performance computing based architectures and their suitability for given applications.

Learning Outcome 2: Implement and execute applications using shared and distributed memory programming paradigms.

Learning Outcome 3: Describe and critically discuss the roles and applications of cloud and grid computing.

You are provided with a two C program codes (called jacobi2d.c and gauss2d.c) that solve a rectangular 2 dimensional heat conductivity problem using the Jacobi and Gauss-Seidel iterative methods.

This code can be compiled and linked to produce a conventional executable files called jacobiSerial and gaussSerial by using the following commands:
gcc jacobi2d.c -o jacobiSerial gcc gauss2d.c -o gaussSerial
To run the executable type in the executable name: jacobiSerial or gaussSerial

As you implement each of the following 4 steps make sure that you retain and do not overwrite previous versions of your solutions.

Step 1
You are required to compute a temperature distribution for a rectangular 2D problem with boundary conditions set at top 100°C, bottom 20°C, left 30°C and right 40°C with a range of problem sizes. To do this you are required to modify the codes to:
• reflect the boundary conditions described above
• report the execution time Record the run-time of your code under a range of problem sizes using different levels of compiler optimization.
Be advised that:
• it is possible that aggressive optimization will break the code
• you will need to stop the results from printing if you are to obtain realistic measurements of the execution time.

Step 2
You are then required to modify the applications you created in step 1 to produce a basic parallel version of the codes using OpenMP. The following commands will compile your parallel version on a platform that has OpenMP installed:
gcc -fopenmp jacobiOpenmp.c -o jacobiOpenmp gcc -fopenmp gaussOpenmp.c -o gaussOpenmp
The parallel codes must include timers to report the parallel run-time of the code. This version must be tested to establish correct operation using 1, 2, 4 and 8 threads/processors, regardless of performance. (These versions may run on any platform you choose as performance is not an issue at this stage.)
Include in your report, the result for a 20x20 problem size for 1,2,4 and 8 processors to demonstrate the code works correctly.
Run the Gauss-Seidel code for only 1 iteration using 1 and 2 threads for a 20x20 problem size. Output the result along with the timings. Discuss the differences in the solutions.

Step 3
Using the cms-grid machines you are to run performance tests with the OpenMP implementation you created in step 2. This will require that you remove most of the print output from the code and increase the problem size to provide sufficient work to demonstrate useful speedup. You are expected to provide speedup results:
• for a range of problem sizes, you are unlikely to see much speedup for small domains, use at least 100x100+
• for a range of number of threads (from 2 up to 8 threads) In calculating the speedup of your parallel code you should use the optimized single processor version of your code you produced in step 1 and compare to this. You will need to apply similar compiler optimizations to your parallel code. Please list your runtimes in a suitable unit.

Step 4
Using different OpenMP directives and clauses you are to further modify your OpenMP application to improve the parallel performance. You are expected to provide results that permit comparison with those you obtained in steps 2 and 3. Comment on the differences between optimising the Jacobi and Gauss-Seidel Methods.

Deliverables
• A PDF file with your report
• A ZIP file with the source code for your solutions.
Your report is required to provide details of your implementation of steps 1 to 4 as described above. The report should include discussion of your solutions and provide a clear description of; the code changes you have implemented, your compilation and execution processes and your test cases. For steps 3 and 4 you are expected to provide tabular and graphical results. Comment on the differences between the two methods and the effect on parallelisation. Your zip file should provide suitably named source code files for each of your implementations.

Attachment:- Grids and Virtualisation.zip

Reference no: EM133045076

Questions Cloud

Practices and organizational needs of exempler llc : Please help in developing hiring systems and processes, based on best practices and organizational needs of Exempler LLC.
Assess the impact of communication in organizations : A company which is currently maintaining its accounts manually is installing an accounts software so that all its accounts transactions can be done digitally. T
Psychosocial hazards happen in business : As the restaurant's owner. I know my excellent female employee is a lesbian. She just married her fiance. Yesterday, her fiance visited her at the restaurant. U
Identify a minimum of three mandatory employee benefits : The website content should include information on both mandatory and discretionary benefits that are commonly offered in your industry. Use the Benefits Website
Critically evaluate high performance computing : Characterise and critically evaluate high performance computing based architectures and their suitability for given applications.
Compensation for senior level managers : What are some best practices in compensation for senior level managers? Does high salary produce high performance? Discuss an example.
Outline a specific strategy to implement stating : After a meeting with the operations manager of your organization, you close the door to your office so you can think of strategies to resolve an issue that has
Identify the goals you want to achieve with the training : I. Identify several issues that you understand are important for human resource development.
Corporate social responsibility : Corporate Social Responsibility: Describe HR's role in creating a culture of social responsibility within the organization and the organization's community.

Reviews

len3045076

12/10/2021 10:35:39 PM

I need report file and coding file both because both files is part of submission Your reply really appreciate me Please let me know if need further details And please ensure you will give me updating coding file and report file for this CW attached below.

len3045076

12/10/2021 10:35:31 PM

I hope you are well. I am looking for someone who can help me to complete my Coursework. I attached 3 files in one zip, one is a coursework file and the other two is a coding file. Coding files need to update or add something to complete this task. coursework more details you will get from Open MP coursework.pdf file

Write a Review

Computer Engineering Questions & Answers

  How are the interfaces connected to the computer

How are the interfaces connected to the computer? Which are best suited to use in recording studios or for recording a live concert?

  Create function to create a simple home page with your name

Write a function to create a simple home page with your name, your picture, and your hometown. Provide a link to your home town in a search engine.

  Discuss a specific type of information

that prevents a specific type of information from moving between untrusted networks, such as the Internet

  Find the minimal cost combination of available trades

Given you start with a future expiration, find the minimal cost combination of available trades to turn your start position into your end position.

  Discuss strategies to ensure integrated error messages

Error messages are a key part of an overall interface design strategy of guidance for the user. Discuss strategies to ensure integrated.

  Define the concept of inheritance can be utilized

Discuss with your classmates an example of an object or concept where the concept of inheritance can be utilized

  Determine the code words for the ten decimal digits

Determine the code words for each of the ten decimal digits in the weighted code (63 -11). The code should be self-complementing.

  Write a test client to test all your methods in your class

A constructor with one parameter, an array of 10 strings (representing one element for each of the fields above), the only instance variable.

  Compute the income tax according to this schedule

Write a function name tax_1913 that compute the income tax according to this schedule and show your output for an income of $89,000 and $278,000.

  Question1 a multiprogramming operating system uses an

question1. a multiprogramming operating system uses an apportioning method and divides the 60 mb of existing memory

  Graph the amplitude-modulated pam signal

Repeat Illustrative Problem II with a rectangular pulse shape in the presence of AWGN for SNR values of 20, 10, 5, and 2 dB.

  Traditional risk management and enterprise risk management

What do you think is the difference between traditional risk management and enterprise risk management?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd