<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(11,83,148)">I didn't try the --with-mpicc flag, however, the configuration is successful for PETSc 3.5.4.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 11:56 AM, 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"><span>On Sun, Nov 29, 2015 at 11:50 AM, namu patel <span dir="ltr"><<a href="mailto:namu.patel7@gmail.com" target="_blank">namu.patel7@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 style="font-family:verdana,sans-serif;color:rgb(11,83,148)">Attached is my configuration log file. </div></div></blockquote><div><br></div></span><div>Satish, the idiotic Sundials configure cannot find mpicc even when its passed in as the C compiler:</div><div><br></div><div><div>MPI-C Settings</div><div>--------------</div><div>checking if using MPI-C script... yes</div><div>checking if absolute path to mpicc was given... no</div><div>checking for mpicc... none</div><div> Unable to find a functional MPI-C compiler.</div><div> Try using --with-mpicc to specify a MPI-C compiler script,</div><div> --with-mpi-incdir, --with-mpi-libdir and --with-mpi-libs</div><div> to specify the locations of all relevant MPI files, or</div><div> --with-mpi-root to specify the base installation directory</div><div> of the MPI implementation to be used.</div><div> Disabling the parallel NVECTOR module and all parallel examples...</div></div><div><br></div><div>Do we have to give -with-mpicc as an argument?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div><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 dir="ltr"><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">Thanks,</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">Namu</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 11:48 AM, 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">You must send configure.log<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 11:42 AM, namu patel <span dir="ltr"><<a href="mailto:namu.patel7@gmail.com" target="_blank">namu.patel7@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 style="font-family:verdana,sans-serif;color:rgb(11,83,148)">Hello All,</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">I was trying to configure PETSc with SUNDIALS so that I may use PVODE to solve a stiff hyperbolic PDE of the form</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">A(x) u_tt = K [B(x) u_x - F(x, u, u_x, t)]_x , t > 0, 0 < x < L ,</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">u_x(0, t) = u_x(L, t) = 0 ,</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">u(x, 0) = u_t(x, 0) = 0 ,</div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">where K >> 1. I was reading around to see what may be a good numerical implementation for such a problem and it can be tricky here because the stiffness is both in the linear part and the nonlinear forcing term. </div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(11,83,148)">I want to try PVODE availble in the SUNDIALS package. When I try to configure PETSc with SUNDIALS, I get the message:</div><div style="color:rgb(11,83,148)">
<p style="font-family:verdana,sans-serif">Downloaded sundials could not be used. Please check install in /Users/namupatel/Softwares/PETSc/3.6.2/linux-dbg</p>
<p><font face="monospace, monospace">*******************************************************************************</font></p>
<p><font face="monospace, monospace"> File "./config/configure.py", line 363, in petsc_configure</font></p>
<p><font face="monospace, monospace"> framework.configure(out = sys.stdout)</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/framework.py", line 1081, in configure</font></p>
<p><font face="monospace, monospace"> self.processChildren()</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/framework.py", line 1070, in processChildren</font></p>
<p><font face="monospace, monospace"> self.serialEvaluation(self.childGraph)</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/framework.py", line 1051, in serialEvaluation</font></p>
<p><font face="monospace, monospace"> child.configure()</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/package.py", line 677, in configure</font></p>
<p><font face="monospace, monospace"> self.executeTest(self.configureLibrary)</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/base.py", line 126, in executeTest</font></p>
<p><font face="monospace, monospace"> ret = test(*args,**kargs)</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/package.py", line 592, in configureLibrary</font></p>
<p><font face="monospace, monospace"> for location, directory, lib, incl in self.generateGuesses():</font></p>
<p><font face="monospace, monospace"> File "/Users/namupatel/Softwares/PETSc/3.6.2/config/BuildSystem/config/package.py", line 332, in generateGuesses</font></p>
<p><font face="monospace, monospace"> raise RuntimeError('Downloaded '+self.package+' could not be used. Please check install in '+d+'\n')</font></p><p style="font-family:verdana,sans-serif">Two questions:</p><p style="font-family:verdana,sans-serif">1. How can I resolve the above error? </p><p style="font-family:verdana,sans-serif">2. Are there any recommendations to solving the stiff PDE stated above so that I can experiment to see what may be an efficient implementation?</p><p style="font-family:verdana,sans-serif">Thank you,</p><p style="font-family:verdana,sans-serif">Namu</p><p style="font-family:verdana,sans-serif"><br></p></div></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><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></font></span></div>
</blockquote></div><br></div></div>
</blockquote></div></div></div><div><div><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>
</div></div></div></div>
</blockquote></div><br></div></div>