[petsc-users] Load a parallel matrix with user-partitioned rows with MatLoad()

Barry Smith bsmith at mcs.anl.gov
Sun Apr 11 08:31:13 CDT 2010


    We plan a rework of the loading to allow this. Currently you need  
to edit src/mat/impls/aij/mpi/mpiaij.c MatLoad_MPIAIJ() and change the  
code for force the layout you want.

     Barry

On Apr 10, 2010, at 9:20 PM, Pedro Torres wrote:

> Hello,
>
> I want to load (in parallel)a matrix from a binary file saved with  
> MatView, but when I create the matrix I don't leave to PETSC  
> 'decide' the number of rows on each process. So, how can I recovery  
> the same distributions when I load the matrix from a file. Is it  
> MatLoad() helps in this case?. What can I do?. I really appreciate  
> any suggestions.
>
> Thanks a lot!
> -- 
> Pedro Torres
> GESAR/UERJ
> Rua Fonseca Teles 121, São Cristóvão
> Rio de Janeiro - Brasil



More information about the petsc-users mailing list