<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 10, 2015 at 6:52 AM, venkatesh g <span dir="ltr"><<a href="mailto:venkateshgk.j@gmail.com" target="_blank">venkateshgk.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi <br><br></div>I am trying to write very large sparse matrices A and B for solving generalized Eigenvalue problem <br><br>so that I can use SLEPC ex7.c code. <br><br></div><div>I want to read matrices from file according to that code. And I generate these matrices from Matlab using PetscBinaryWrite.m <br><br></div><div>However, it exceeds my 256 GB RAM in one of the machines. So I am unable to generate these binary matrices.<br><br></div><div>Kindly let me know how to write them efficiently.<br></div></div></blockquote><div><br></div><div>Consider writing C code to generate the matrix? I am not sure what else to propose. It sounds like</div><div>you need to generate the matrix progressively and write portions, or you need to generate the entries</div><div>in parallel.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>cheers,<br><br></div><div>Venkatesh</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>