OK. I saw that my make file has a mistake :-)<br>But I have a question here. How I can find out the code runs in parallel as the code hasn't get "rank" and "size" or not defined in main program maybe ?<br>
<br>Thanks, B.B.<br><br><br> <br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 5:39 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">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 class="im">On Wed, Nov 9, 2011 at 2:00 PM, behzad baghapour <span dir="ltr"><<a href="mailto:behzad.baghapour@gmail.com" target="_blank">behzad.baghapour@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, I did mean it. But I received that error. <br></blockquote><div><br></div></div><div>1) Do not type in the error. Cut & paste EXACTLY the error from the run</div><div><br></div><div>2) It sounds like you are trying to build without the PETSc makefiles. Since it is breaking,</div>
<div> I recommend you use the makefiles instead. There is a section in the manual.</div><div><br></div><div> Matt</div><div><div></div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">On Wed, Nov 9, 2011 at 3:49 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, 9 Nov 2011, behzad baghapour wrote:<br>
<br>
> Dear all,<br>
><br>
> It may be a repeated question. When I want to run an example with DMDA, I<br>
> received the error:<br>
><br>
> "could not find pestcdmda.h"<br>
<br>
</div> ^^ you have a typo here..<br>
<div>><br>
> I configured Petsc with --mpi-download=1, make a Petsc example with DMDA,<br>
<br>
</div> ^^^^^^^^^^^ you mean --download-mpich?<br>
<font color="#888888"><br>
Satish<br>
</font><div><div></div><div><br>
> and run with mpiexec -n ....<br>
><br>
> What should I do more?<br>
><br>
> Thanks,<br>
> B.B.<br>
><br>
<br>
</div></div></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>==================================<br>Behzad Baghapour<br>Ph.D. Candidate, Mechecanical Engineering<br>University of Tehran, Tehran, Iran<br>
<a href="https://sites.google.com/site/behzadbaghapour" target="_blank">https://sites.google.com/site/behzadbaghapour</a><br>
Fax: 0098-21-88020741<br>==================================<br><br>
</font></blockquote></div></div></div><font color="#888888"><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<br>
</font></blockquote></div><br>