[petsc-users] Petsc Binary Write - Memory

venkatesh g venkateshgk.j at gmail.com
Wed Jun 10 08:31:20 CDT 2015


Hi,

Writing portions in binary u mean ?
Is it possible to do ?

Actually Matlab creates these elements and stores them in the workspace and
they take up RAM.

cheers,
Venkatesh


On Wed, Jun 10, 2015 at 6:33 PM, Matthew Knepley <knepley at gmail.com> wrote:

> 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/7464a574/attachment.html>


More information about the petsc-users mailing list