The ScaLAPACK coding style includes:
- All ScaLAPACK codes should be written in standard Fortran 77.
- Names of routines and variables may exceed 6 characters
- Can use double precision complex
- No END DO in standard F77
- No DO WHILE in standard F77
- No INCLUDE in standard F77
- IMPLICIT NONE not standard F77.
- No characters, even in comments, past column 72
- Routine names will be prefixed by P-, followed by the corresponding
LAPACK routine name. For example, PDGETRF is the ScaLapack version
of the LAPACK routine DGETRF for LU factorization.
- If there is not a corresponding LAPACK routine equivalence, the
routine should be prefixed by PDLA-.
- NO COMMON BLOCKS!
- All routines MUST have a PURPOSE and ARGUMENTS section.
- All EXTERNAL subroutines should be declared in the header.
- Coding style should follow LAPACK style (produced from NAGWare F77 tools).