Replaceability
The Fortran interfaces of ScaLAPACK are the same as those of Netlib ScaLAPACK.
Table 1 describes the mapping between alternative interfaces in KML_ScaLAPACK and Netlib ScaLAPACK. Only optimized interfaces are listed.
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.
Parent topic: Migration from Netlib ScaLAPACK to KML_ScaLAPACK