That is great.
It is very quick.
Thank you

--- 09?11?30????, Barry Smith <bsmith at mcs.anl.gov> ???

???: Barry Smith <bsmith at mcs.anl.gov>
??: Re: What is the format of binary file ?
???: "PETSc users list" <petsc-users at mcs.anl.gov>
??: 2009?11?30?,??,??1:42


? 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
> 
> 
> ?????????????????




      ___________________________________________________________ 
  ????????????????? 
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091130/64f0ddc8/attachment-0001.htm>

Reply via email to