<div dir="ltr"><div><div><div>The size of the matrix is 84500 x 84500<br><br></div>the no. of non-zero elements is 2.7338e+09<br><br></div>cheers,<br></div>Venkatesh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 6:35 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Whats the size of the matrix? How many non-zeros?<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, 10 Jun 2015, venkatesh g wrote:<br>
<br>
> Hi<br>
><br>
> I am trying to write very large sparse matrices A and B for solving<br>
> generalized Eigenvalue problem<br>
><br>
> so that I can use SLEPC ex7.c code.<br>
><br>
> I want to read matrices from file according to that code. And I generate<br>
> these matrices from Matlab using PetscBinaryWrite.m<br>
><br>
> However, it exceeds my 256 GB RAM in one of the machines. So I am unable to<br>
> generate these binary matrices.<br>
><br>
> Kindly let me know how to write them efficiently.<br>
><br>
> cheers,<br>
><br>
> Venkatesh<br>
><br>
<br>
</div></div></blockquote></div><br></div>