Replaceability
The Fortran interfaces of ScaLAPACK are the same as those of Netlib ScaLAPACK.
Table 1 describes the mapping between alternative ScaLAPACK interfaces and LAPACK Fortran interfaces in Netlib. Only optimized interfaces are provided.
Netlib Interface |
KML Interface |
|---|---|
psgetrf |
psgetrf |
pdgetrf |
pdgetrf |
pcgetrf |
pcgetrf |
pzgetrf |
pzgetrf |
pspotrf |
pspotrf |
pdpotrf |
pdpotrf |
pcpotrf |
pcpotrf |
pzpotrf |
pzpotrf |
psgeqrf |
psgeqrf |
pdgeqrf |
pdgeqrf |
pcgeqrf |
pcgeqrf |
pzgeqrf |
pzgeqrf |
psgels |
psgels |
pdgels |
pdgels |
pcgels |
pcgels |
pzgels |
pzgels |
The preceding interfaces are Fortran interfaces. When using these interfaces in the C language, you need to add an underscore (_) after the interface name. The parameter type is a pointer. For details, see the syntax of KML_ScaLAPACK functions in Kunpeng Math Library Developer Guide.