<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Writing portions in binary u mean ?<br></div>Is it possible to do ?<br><br></div>Actually Matlab creates these elements and stores them in the workspace and they take up RAM. <br><br></div><div>cheers,<br></div>Venkatesh <br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 6:33 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@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 class="gmail_extra"><div class="gmail_quote"><div><div class="h5">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></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><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>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>
</font></span></div></div>
</blockquote></div><br></div>