CS 432/632 Parallel Computing Homework-4: Implementing Parallel Jacobi Method, Assignments of Computer Science

An individual homework assignment for cs 432/632 parallel computing students, due dec 5, 2006. The assignment involves implementing the parallel version of the jacobi method to solve a system of linear equations using 2-d data distribution. Students are required to write the sequential program, test it, and then use the provided driver program to develop the parallel version. The program must be tested for matrix sizes 5000x5000 and 10000x10000 with various process grid layouts, and plots for speedup and efficiency must be developed. Additionally, scaled-speedup plots are required for different process grid layouts and problem sizes.

Typology: Assignments

Pre 2010

Uploaded on 04/12/2010

koofers-user-0jz
koofers-user-0jz 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Fall 2006 CS 432/632 Parallel Computing
Homework-4
Individual work only. 200 points. Due Dec 5, 2006.
1. Implement the parallel version of the Jacobi method to solve a system of linear equations
using 2-D data distribution. First write the sequential program using the pseudo code
provided in the text book. Compile and test it, and then use the driver program provided (at
http://www.cis.uab.edu/cs632/software/pjacobi.c) to develop the parallel version. Test the
program for matrix size 5000x5000 and 10000x10000 for the following process grid layouts:
1x1, 2x2, 3x3, 4x4, 5x5, 6x6, 7x7, and 8x8. Develop plots for speedup and efficiency.
Complete the following table:
Time Taken (seconds)
Process Grid Layout 5000x5000 10000x10000
1x1
2x2
3x3
4x4
5x5
6x6
7x7
8x8
2. Generate scaled-speedup plots for the above parallel algorithms for the following process
grid layouts and problem sizes:
Process Grid
Layout Problem
Size Time Taken
(seconds)
1x1 1000x1000
2x2 2000x2000
3x3 3000x3000
4x4 4000x4000
5x5 5000x5000
6x6 6000x6000
7x7 7000x7000
8x8 8000x8000
General Comments:
You must implement and test these programs on the CIS cluster (Olympus) and use MPI for
communication. Instructions for using the CIS cluster and submitting jobs to SGE can be found
at: http://www.cis.uab.edu/cs632/fall2006/OlympusInstructions.html.
Submission:
Email the source code along with any Makefile and scripts as a single tar file attachment to
[email protected] with the subject “CS 432/632 Homework-4.” After submission, do not make
any changes to your source code on Olympus, you will be asked to demonstrate your program on
Olympus and the timestamp of the files will be used to determine late submissions.

Partial preview of the text

Download CS 432/632 Parallel Computing Homework-4: Implementing Parallel Jacobi Method and more Assignments Computer Science in PDF only on Docsity!

Fall 2006 CS 432/632 Parallel Computing Homework-

Individual work only. 200 points. Due Dec 5, 2006.

  1. Implement the parallel version of the Jacobi method to solve a system of linear equations using 2-D data distribution. First write the sequential program using the pseudo code provided in the text book. Compile and test it, and then use the driver program provided (at http://www.cis.uab.edu/cs632/software/pjacobi.c) to develop the parallel version. Test the program for matrix size 5000x5000 and 10000x10000 for the following process grid layouts: 1x1, 2x2, 3x3, 4x4, 5x5, 6x6, 7x7, and 8x8. Develop plots for speedup and efficiency. Complete the following table:

Time Taken (seconds) Process Grid Layout 5000x5000 10000x 1x 2x 3x 4x 5x 6x 7x 8x

  1. Generate scaled-speedup plots for the above parallel algorithms for the following process grid layouts and problem sizes:

Process Grid Layout

Problem Size

Time Taken (seconds) 1x1 1000x 2x2 2000x 3x3 3000x 4x4 4000x 5x5 5000x 6x6 6000x 7x7 7000x 8x8 8000x

General Comments:

You must implement and test these programs on the CIS cluster (Olympus) and use MPI for communication. Instructions for using the CIS cluster and submitting jobs to SGE can be found at: http://www.cis.uab.edu/cs632/fall2006/OlympusInstructions.html.

Submission: Email the source code along with any Makefile and scripts as a single tar file attachment to [email protected] with the subject “CS 432/632 Homework-4.” After submission, do not make any changes to your source code on Olympus, you will be asked to demonstrate your program on Olympus and the timestamp of the files will be used to determine late submissions.