<div dir="ltr">On Tue, Jan 8, 2013 at 2:25 PM, Petar Petrovic <span dir="ltr"><<a href="mailto:ppetrovic573@gmail.com" target="_blank">ppetrovic573@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks, but is there any way to check if the package is already installed? My problem is that I run the PETSc installation someone already set up and I don't have the access to change it. I have tried running ./configure --help in the directory PETSc is installed, but it just reports the error because I don't have the access permition.<br>
</div></div></blockquote><div><br></div><div>Look at the (a) the end of configure.log or (b) $PETSC_DIR/$PETSC_ARCH/include/petscconf.h</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>Also, sorry I didn't understand, are the directives in the code enough or do I have to run my mpiexec command with additional options?<br></div></blockquote><div><br></div><div style>You don't need command line flags.</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 class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jan 8, 2013 at 1:35 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>On Tue, Jan 8, 2013 at 12:33 PM, Petar Petrovic <span dir="ltr"><<a href="mailto:ppetrovic573@gmail.com" target="_blank">ppetrovic573@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Thank you very much.<br>
</div>Can you tell me how to set the package that is used for MatCholeskyFactor? <br></div>I need it to run for a sparse matrix so I have tried using:<br><br>#ifdef PETSC_HAVE_CHOLMOD<br>
...<br></div>#endif<br><br></div>but the code inside doesn't run. Does this mean that the package is not installed or am I supposed to do something else, use some command line options or something? Sorry these are very basic questions, but I am new to PETSc and I cannot seem to find examples for this. </div>
</blockquote><div><br></div></div><div>You need to activate 3rd party packages during configure, e.g. --download-umfpack. </div><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/documentation/installation.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/installation.html</a><br>
</div><div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 8, 2013 at 12:24 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><a href="http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html</a><br>
<div><br></div><div> Matt</div></div><div class="gmail_extra"><div><div>
<br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 11:21 AM, Petar Petrovic <span dir="ltr"><<a href="mailto:ppetrovic573@gmail.com" target="_blank">ppetrovic573@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Hello,<br></div>Can you please tell me for which type of matrices can I run Cholesky factorization (MatCholeskyFactor) ? Can it be applied on sparse matrices, e.g. MATAIJ ?<br></div>Many thanks<br>
</div>
</blockquote></div><br><br clear="all"><span><font color="#888888"><div><br></div></font></span></div></div><span><font color="#888888"><span><font color="#888888">-- <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
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div></div><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></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>