, 2021 at 9:06 PM Faraz Hussain via petsc-users
wrote:
> Thanks, I took a look at ex10.c in ksp/tutorials . It seems to do as you
> wrote, "it efficiently gets the matrix from the file spread out over all the
> ranks.".
>
> However, in my application I only want rank 0
ber 7, 2021, 10:18:04 PM EST, Matthew Knepley
wrote:
On Tue, Dec 7, 2021 at 10:06 PM Faraz Hussain via petsc-users
wrote:
> Thanks, I took a look at ex10.c in ksp/tutorials . It seems to do as you
> wrote, "it efficiently gets the matrix from the file spread out over
the file spread out over all the
ranks.
> On Dec 6, 2021, at 11:04 PM, Faraz Hussain via petsc-users
> wrote:
>
> I am studying the examples but it seems all ranks read the full matrix. Is
> there an MPI example where only rank 0 reads the matrix?
>
> I don't want
I am studying the examples but it seems all ranks read the full matrix. Is
there an MPI example where only rank 0 reads the matrix?
I don't want all ranks to read my input matrix and consume a lot of memory
allocating data for the arrays.
I have worked with Intel's cluster sparse solver and t