Hands-On Exercises for ScaLAPACK

Exercise 5: ScaLAPACK - Example Program 2

Information: This is a program that solves a linear system by calling the ScaLAPACK routine PSGESV. In this example, the input matrix is read from a file, distributed to the process grid, and the output is written into a file.

Exercises: For this exercise, use the files psscaex.f. In this file, you will find that some of the code has been replaced by *****. You should look over this code and replace the ***** with the proper code. Also, be sure to delete the three asterisks at the beginning of each of these key lines. After editing psscaex.f, you should compile it with make (you may also need to perform minor modifications in the file make.inc).

Questions:


Hands-on ScaLAPACK Tools Home