Keywords: slug

Next: Initialize the Process Grid Up: Getting Started with ScaLAPACK Previous: Output of Example Program

# Four Basic Steps Required to Call a ScaLAPACK Routine

Four basic steps are required to call a ScaLAPACK routine.

1. Initialize the process grid
2. Distribute the matrix on the process grid
3. Call ScaLAPACK routine
4. Release the process grid

Each of these steps is detailed below. The example program in section 2.3 illustrates these basic requirements. Refer to section 2.3.2 for an explanation of notational variables.

For more information on the BLACS routines called in this program, and more specifically their calling sequences, please refer to Appendix D.3, [54], and the BLACS homepage
(`http://www.netlib.org/blacs/index.html`). Further details of the matrix distribution and storage scheme can be found in Chapter 4 and section 4.3.2.

- Initialize the Process Grid
- Distribute the Matrix on the Process Grid
- Call the ScaLAPACK Routine
- Release the Process Grid