JACOBI is a program which uses the Jacobi iteration to get an approximate solution of a (diagonally dominant) linear system A*x=b.
Your assignment is to take one of the source codes, make an OpenMP version, and compare the runs using 1 and 8 processors. You should only have to change subroutine JACOBI, and you should only have to insert OpenMP directives. The include statements and the timing calls are already there.
This assignment is to be turned in. You should turn in 3 files:
Before the due date, you may ask me for guidance or help.
The assignment is due by Friday, 19 September 2008.
Send your three files to Chris Harden.
Here are "completed" versions of the programs.
(Access to these files
will be restricted until everyone has turned in their work)
Once you have made a jacobi executable, you need to copy this script file to the same directory that contains the executable, and issue the command qsub jacobi.sh. That submits a request to have the executable program run on 8 processors. You can type showq to see if the request has started yet.
You can go up one level to the FSU OpenMP 2008 page.
Last revised on 13 September 2008.