amgcl icon indicating copy to clipboard operation
amgcl copied to clipboard

MPI rebuild example

Open neoshihchaokao opened this issue 2 years ago • 5 comments

I am trying to use the MPI rebuild technique which is provided in ver 1.4.3, but I did not find the suitable example I can refer. Does someone can provide a suitable example I can refer? Thanks a lot

neoshihchaokao avatar Oct 21 '23 02:10 neoshihchaokao

Hello, here is an example:

https://gist.github.com/ddemidov/3292c6fea940c785dc8b43461846ae45

ddemidov avatar Oct 23 '23 06:10 ddemidov

Dear Denis, Thanks for your reply. However, I still encounter the runtime issue and need your help. Since I need to solve the linear system with a lot of RHS vectors and the shared_ptr given below is used to perform the setup phase once in AMGCL 789 123

According to the example you provide, I modify my code as follows: 456

However, the above MPI rebuild function always fails. Is there any idea to fix it ?

neoshihchaokao avatar Oct 24 '23 09:10 neoshihchaokao

Hi, 42ee9da2057153b1aef734e8e462c846a33aa805 should fix this.

ddemidov avatar Oct 27 '23 16:10 ddemidov

Hello~Denis, this fixing does not work for me.

neoshihchaokao avatar Oct 30 '23 03:10 neoshihchaokao

Hi, can you provide a minimal example that reproduces the issue?

ddemidov avatar Oct 30 '23 04:10 ddemidov