The /scalapack_examples
subdirectory of the top AMD ScaLAPACK
installation directory (for example, a possible default location is
/opt/acml3.1.0/gnu64/scalapack_examples
under Linux), contains example programs showing how
to call the AMD ScaLAPACK, along with a GNUmakefile to build and run them.
Depending on where your copy of the AMD ScaLAPACK is installed, and which
compiler and flags you wish to use, it may be necessary to modify
some variables in the GNUmakefile before using it.