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).
PETSc Interface |
SOLVER Interface |
|---|---|
KSPCreate |
KmlIssCgInitDI |
KSPSolve |
KmlIssCgSolveDI |
KSPDestroy |
KmlIssCgCleanDI |
The preceding interfaces are C interfaces. For details, see the section about KML_SOLVER function syntax in Kunpeng Math Library Developer Guide.
Parent topic: Single-Node Mode