[petsc-users] PetscBinaryWrite function in MATLAB interface

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 1 11:07:57 CST 2013


On Tue, Jan 1, 2013 at 11:00 AM, Umut Tabak <u.tabak at tudelft.nl> wrote:

>  On 01/01/2013 04:36 PM, Jed Brown wrote:
>
> Nope, it saves all matrices the same way because the binary format is not
> smart enough to distinguish different formats on disk.
>
> ok, while saving there is no dense matrix concept basically...
>

Only if you do it manually. I recommend

1. Just use sparse and don't worry about it.

2. If you feel (1) is such a crucial performance bottleneck that must be
sped up by a small fraction, change your workflow to avoid writing such
large matrices to disk, thus speeding up this phase by orders of magnitude.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130101/b4187fc1/attachment.html>


More information about the petsc-users mailing list