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 <[email protected]> wrote:

> On Wed, Jun 10, 2015 at 6:52 AM, venkatesh g <[email protected]>
> 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
>

Reply via email to