HPC Exercise 2:
The Master-Worker and Message-Passing Patterns in MPI
Objectives
After completing this exercise, you will be able to:
-
Use the master-worker pattern to solve a problem.
-
Use the message-passing pattern to solve a problem.
-
Use the MPI_Send() and MPI_Recv() commands
to communicate between processes.
-
Use MPI's timing commands to precisely time a process.
Procedure
This week's exercise consists of 2 parts that you should complete in order:
-
Hands-on lab exercise
-
This week's homework project
CS >
374 >
Exercises >
02
This page maintained by
Joel Adams.