UvA course 2016-06-15 - Assignment

UvA logo

SURFsara logo

This is the Assignment section of the Tutorial UvA course 2016-06-15.

Read carefully the following questions and send your answers to: Nuno Ferreira nuno.ferreira@surfsara.nl by 24th of June 2016.

Exercise OpenMP: calculating π

Question 1 (2.5 points):

Create a VM with 2 CPUs and 4GB memory. Run the exercises:

Answer the folowing:

Question 2 (2.5 points):

Create a VM with 4 CPUs and 4GB memory. Run again the exercises:

Play around with the parameter POINTS_ON_AXIS in the source files. Explain your measurements in words or with a graph.

Exercise MPI: Wave equation

Question 3 (2.5 points):

Create a VM with 2 CPUs and 4GB memory. Run the exercises:

Do you see any significant improvement in the run time between c) and e)? Explain the improvement (or lack thereof).

Question 4 (2.5 points):

Run the exercise:

In this exercise you run the program over 2 VMs (1 master and 1 worker). Add 2 more workers with 2 CPUs and 4GB memory each. Then run the program among them.

Answer the following: