Dear Developers,
ginkgo is a powerful linear solver that can be ported into different processors including Nvidia, Intel and AMD etc. I have integrated PETSc, AmgX with my hydrodynamic code, and ginkgo also attracted me. Before using ginkgo, I have some questions to consult with developers, and hope you can guide me:
(1) I can see the distributed multi-grid algorithm implemention in examples code, and I want to know how to inject PETSc Mat A and Vector b into ginkgo's A and b?
Because my hydrodynamic code uses PETSc to integrate the external linear algebraic library AmgX (Nvidia) like the project AmgXWrapper? In setA.cpp of AmgXWrapper, the folowing function can easily upload my assembly PETSc-CSR matrix into AmgX following (Vector b operation is alike):
AMGX_matrix_upload_distributed(
AmgXA, nGlobalRows, nLocalRows, row[nLocalRows],
1, 1, row.data(), col.data(), data.data(),
nullptr, dist);
(2) Does the MPI-parallelized ginkgo (the distributed solvers) achieve the production-level application? And the application in multi-GPU clusters?
(3) Can the example code in external-lib-interfacing be used to implement the above-mentioned AmgXWrapper ?
Sincerely,
Li Jian
China University of Geoscience
Dear Developers,
ginkgo is a powerful linear solver that can be ported into different processors including Nvidia, Intel and AMD etc. I have integrated PETSc, AmgX with my hydrodynamic code, and ginkgo also attracted me. Before using ginkgo, I have some questions to consult with developers, and hope you can guide me:
(1) I can see the distributed multi-grid algorithm implemention in examples code, and I want to know how to inject PETSc Mat A and Vector b into ginkgo's A and b?
Because my hydrodynamic code uses PETSc to integrate the external linear algebraic library AmgX (Nvidia) like the project AmgXWrapper? In setA.cpp of AmgXWrapper, the folowing function can easily upload my assembly PETSc-CSR matrix into AmgX following (Vector b operation is alike):
AMGX_matrix_upload_distributed(
AmgXA, nGlobalRows, nLocalRows, row[nLocalRows],
1, 1, row.data(), col.data(), data.data(),
nullptr, dist);
(2) Does the MPI-parallelized ginkgo (the distributed solvers) achieve the production-level application? And the application in multi-GPU clusters?
(3) Can the example code in external-lib-interfacing be used to implement the above-mentioned AmgXWrapper ?
Sincerely,
Li Jian
China University of Geoscience