Docsity

Final Exam on High-Performance Computing - Fall 2006 | CSI 702, Exams of Computer Science

Toggle sidebar
bg1
CSI 702 2006 FINAL Exam - Take-Home 1
CSI 702 2006 Midterm Exam - Take-Home
The test is closed book, closed notes, no web access. You are encouraged to type the
answers, but hand written notes are acceptable as well. The test should take no more than
four hours to complete. Answers should be brief - most require only one paragraph. All work
must be turned in by the end of class on May 10. Please use additional paper to answer these
questions, and write your name at the top of each page. Go od luck!
Honor Code Certification
Name :
Time started:
Time completed:
I certify that I have abided by the GMU honor code in taking this examination. The work
on this exam is my own. I have received no assistance from other persons in completing this
exam. I have not consulted any sources of information other than a calculator.
Signature:
1. OpenMP, MPI, GRIDS โ€“ In about a page, compare and contrast OpenMP, MPI, and
Grids using examples of problems or programming patterns that would fit better on each
of the three environments. Be concise. Use tables, diagrams and/or specific examples.
2. As part of your research at GMU, you have to use a simple code to calculate the goodness
of fits of various models (see diagram below). Based on a list of runs, a driver program
creates a set of run-time files that are used as input to a main program. The output of
this main program is then processed by the driver code and stored in an output table.
Each run is independent of every other run, and takes about 1 minute to complete on
a typical 3GHz Intel/AMD machine single node machine. Describe the computers and
software you would write or use to complete this project for each of the following three
phases.
pf3

Partial preview of the text

Download Final Exam on High-Performance Computing - Fall 2006 | CSI 702 and more Exams Computer Science in PDF only on Docsity!

CSI 702 2006 Midterm Exam - Take-Home

The test is closed book, closed notes, no web access. You are encouraged to type the answers, but hand written notes are acceptable as well. The test should take no more than four hours to complete. Answers should be brief - most require only one paragraph. All work must be turned in by the end of class on May 10. Please use additional paper to answer these questions, and write your name at the top of each page. Good luck!

Honor Code Certification Name :

Time started:

Time completed:

I certify that I have abided by the GMU honor code in taking this examination. The work on this exam is my own. I have received no assistance from other persons in completing this exam. I have not consulted any sources of information other than a calculator.

Signature:

  1. OpenMP, MPI, GRIDS โ€“ In about a page, compare and contrast OpenMP, MPI, and Grids using examples of problems or programming patterns that would fit better on each of the three environments. Be concise. Use tables, diagrams and/or specific examples.
  2. As part of your research at GMU, you have to use a simple code to calculate the goodness of fits of various models (see diagram below). Based on a list of runs, a driver program creates a set of run-time files that are used as input to a main program. The output of this main program is then processed by the driver code and stored in an output table. Each run is independent of every other run, and takes about 1 minute to complete on a typical 3GHz Intel/AMD machine single node machine. Describe the computers and software you would write or use to complete this project for each of the following three phases.

(a) In the class, we have talked about different types of parallel problem taxonomies. In general, how would you characterize the taxonomy need to solve this problem on parallel machines? (b) For the first round of this project, you need to have 1000 runs. How would you complete these runs using your own computers and GMU resources? DO NOT WRITE CODE- just describe the general approach to this problem. (c) Assume you have to complete 10,000 runs for the next phase of the project. How would you complete these runs using your own computers and GMU resources? DO NOT WRITE CODE- just describe the general approach to this problem. (d) Assume you have to complete 100,000 runs for the next phase of the project. How would you complete these runs? DO NOT WRITE CODE- just describe the general approach to this problem.

  1. You are given a project that requires you to solve both equations of gravity and hydrody- namics. The gravity uses direct summation of the contributions of each cell (a.k.a. Brute force) requires communications between all the cells in the system. The hydrodynamics code only requires communication between nearest neighbors. Assume you can separate the gravity calculation from the hydrodynamics calculation into two different steps. You can assume we are using a regular cubic three dimensional grid for this problem.