Rate This Document
Findability
Accuracy
Completeness
Readability

Replaceability

Currently, KML_SOLVER supports multiple threads on a single node and cannot replace the multi-node function of PETSc.

Table 1 describes the mapping between replaceable interfaces and corresponding interfaces of the PETSc (only optimized interfaces are provided).

Table 1 Replacement mapping of PETSc

PETSc Interface

SOLVER Interface

KSPCreate

KmlIssCgInitDI

KSPSolve

KmlIssCgSolveDI

KSPDestroy

KmlIssCgCleanDI

All the preceding interfaces are a C interface. For details, see the definition of the KML_SOLVER function in Kunpeng Math Library Developer Guide.