[petsc-users] Petsc Binary Write - Memory

Matthew Knepley knepley at gmail.com
Wed Jun 10 08:03:00 CDT 2015


On Wed, Jun 10, 2015 at 6:52 AM, venkatesh g <venkateshgk.j at gmail.com>
wrote:

> Hi
>
> I am trying to write very large sparse matrices A and B for solving
> generalized Eigenvalue problem
>
> so that I can use SLEPC ex7.c code.
>
> I want to read matrices from file according to that code. And I generate
> these matrices from Matlab using PetscBinaryWrite.m
>
> However, it exceeds my 256 GB RAM in one of the machines. So I am unable
> to generate these binary matrices.
>
> Kindly let me know how to write them efficiently.
>

Consider writing C code to generate the matrix? I am not sure what else to
propose. It sounds like
you need to generate the matrix progressively and write portions, or you
need to generate the entries
in parallel.

   Matt


> cheers,
>
> Venkatesh
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150610/ca74205c/attachment.html>


More information about the petsc-users mailing list