What is the format of binary file ?

Barry Smith bsmith at mcs.anl.gov
Sun Nov 29 23:42:58 CST 2009


   Look in bin/matlab/ for Matlab scripts that save sparse matrices  
directly and quickly to PETSc binary format.


On Nov 29, 2009, at 11:36 PM, ming zhu wrote:

> HI
> I am trying to convert a sparse matrix from matlab data file to  
> PETSC binary file. While PETSC offer an example  (\src\mat\examples 
> \tests\ex72.c) to convert Matmarket file to binary. It is too slow  
> for me. My matrix is 1.7 M * 1.7 M with 62 M non zeros. So, is there  
> any faster way to convert it? Or is it possible to write to it one  
> line by one line ?
> Thank you
>
>
> 好玩贺卡等你发,邮箱贺卡全新上线!



More information about the petsc-users mailing list