<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Found a PDF, "MATRICES IN PETSc", (after much googling) but not sure which of the many forms will work and which is best.</div>
<div><br></div><font color="#888888"><div>---John</div></font><div><div></div><div class="h5"><div><br></div></div></div></blockquote><div><br></div><div>As a general piece of advice, always consult the documentation provided by the developers of a software package before typing search terms in Google. This is particularly harmful with PETSc, since there are about 10 years worth of tutorials and references scattered around the web, many of them for out of date versions of the toolkit.</div>
<div><br></div><div>You are trying to use SLEPc functionality, so you should start with their documentation: <a href="http://www.grycap.upv.es/slepc/documentation/manual.htm">http://www.grycap.upv.es/slepc/documentation/manual.htm</a></div>
<div>and its user manual: <a href="http://www.grycap.upv.es/slepc/documentation/slepc.pdf">http://www.grycap.upv.es/slepc/documentation/slepc.pdf</a></div><div><br></div><div>In the case of PETSc, there is extensive documentation available from here: <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/index.html">http://www.mcs.anl.gov/petsc/petsc-as/documentation/index.html</a></div>
<div>You should start with the user manual: <a href="http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manual.pdf">http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manual.pdf</a></div><div>
<br></div><div> A</div></div></div>