What is the format of binary file ?

ming zhu foolishzhu at yahoo.com.cn
Mon Nov 30 00:09:06 CST 2009


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>


More information about the petsc-users mailing list