marsaev

Results 93 comments of marsaev

Do you think having C++ interface would make sense?

Hey @klausbu, do you have any follow-up questions after Matthew's comment?

Hi maguilo, Looks like there is not C-API method for grabbing actual values, but you can skip using C-API and use AMGX classes directly. Our eigensolvers interface is not very...

AMGX Mode is mode of operations for structures and algorithms that controls following parameters 1) memoryspace for data (for data structures) or for execution (for algorithms) 2) matrix precision 3)...

Hey @artv3 , thanks for your feedback. I don't have access to xlc compiler to confirm that amgx compiles and binary works well, but if you kindly can provide you...

Ok, just running with -Wall -Wextra -Werror revealed lots of warnings, will work on that

You can just repeat steps for each of your data vector: https://github.com/NVIDIA/AMGX/blob/main/examples/amgx_mpi_capi_cla.c#L331 https://github.com/NVIDIA/AMGX/blob/main/examples/amgx_mpi_capi_cla.c#L530 https://github.com/NVIDIA/AMGX/blob/main/examples/amgx_mpi_capi_cla.c#L533 And it should be ready for solver: https://github.com/NVIDIA/AMGX/blob/main/examples/amgx_mpi_capi_cla.c#L545

Try to follow the steps that are done for the `d_b` vector in the example. In order to copy your values into vector handle you need to do `upload`: https://github.com/NVIDIA/AMGX/blob/main/examples/amgx_mpi_capi_cla.c#L533

Good design (and i think this is what typically done in distributed codes) would be duplicate input communicator with MPI_Comm_dup() specifically for the case of comm being released by user's...