A simple Parallel Program that uses ScaLAPACK package.
This program solves a linear system by calling ScaLAPACK routine PSGESV, for dense matrices. The matrix A is defined as A(I,J) = min(I,J). In this example, we solve linear system NxN ( N= 10) on processors grid NPROWxNPCOL (2x2), i.e. local array on each processor will be 5x5.
The program uses the following routines:
from BLACS library
from TOOLS library
from SCALAPACK library