<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 9, 2014 at 3:43 PM, Alex Eftimiades <span dir="ltr"><<a href="mailto:alexeftimiades@gmail.com" target="_blank">alexeftimiades@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a routine that creates a matrix in parallel by spawning subprocesse. This is to say it is run from a serial python interpreter, but spawns subprocesses so that it works in parallel. The result is a scipy csr_matrix.<br>

<br>
What would be the best way use slepsc4py to solve for eigenvalues and eigenvectors in parallel? I tried a rather awkward method (described below), but I suspect there is a better way to go about doing this.<br>
<br>
I have currently tried saving the csr data to a file, reading it with a new python interpreter spawned with mpiexec, and writing the resulting eigenvalues and eigenvectors to a file. However, something is going wrong as I read in the file from the python interpreter spawned with mpiexec.<br>
</blockquote><div><br></div><div>I suggest using the PetscBinaryViewer to read and write the file. This way you can save it in serial, but read it in parallel.</div><div><br></div><div>  Thanks,</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">
Thanks,<br>
Alex Eftimiades<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>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>