Replaceability
KML_SCASOLVER supports multiple processes and threads on multiple nodes, which can replace the multi-node and multi-process function of PETSc.
Table 1 describes the mapping between replaceable interfaces and corresponding interfaces of the PETSc (only optimized interfaces are provided).
PETSc Interface |
KML_SCASOLVER Interface |
|---|---|
KSPCreate |
KmlScaissCgInitStripesDI |
KSPSetTolerances |
KmlScaissCgSetDII |
KSPSolve |
KmlScaissCgSolveDI |
KSPGetIterationNumber/ KSPGetResidualNorm |
KmlScaissCgGetDII/ KmlScaissCgGetDID |
KSPDestroy |
KmlScaissCgCleanDI |
The preceding interfaces are C interfaces. For details, see the section about KML_SCASOLVER function syntax in Kunpeng Math Library Developer Guide.
Parent topic: Cluster Mode