OK. I saw that my make file has a mistake :-) 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 ?
Thanks, B.B. On Wed, Nov 9, 2011 at 5:39 PM, Matthew Knepley <knepley at gmail.com> wrote: > On Wed, Nov 9, 2011 at 2:00 PM, behzad baghapour < > behzad.baghapour at gmail.com> wrote: > >> Yes, I did mean it. But I received that error. >> > > 1) Do not type in the error. Cut & paste EXACTLY the error from the run > > 2) It sounds like you are trying to build without the PETSc makefiles. > Since it is breaking, > I recommend you use the makefiles instead. There is a section in the > manual. > > Matt > > >> On Wed, Nov 9, 2011 at 3:49 PM, Satish Balay <balay at mcs.anl.gov> wrote: >> >>> On Wed, 9 Nov 2011, behzad baghapour wrote: >>> >>> > Dear all, >>> > >>> > It may be a repeated question. When I want to run an example with >>> DMDA, I >>> > received the error: >>> > >>> > "could not find pestcdmda.h" >>> >>> ^^ you have a typo here.. >>> > >>> > I configured Petsc with --mpi-download=1, make a Petsc example with >>> DMDA, >>> >>> ^^^^^^^^^^^ you mean --download-mpich? >>> >>> Satish >>> >>> > and run with mpiexec -n .... >>> > >>> > What should I do more? >>> > >>> > Thanks, >>> > B.B. >>> > >>> >>> >> >> >> -- >> ================================== >> Behzad Baghapour >> Ph.D. Candidate, Mechecanical Engineering >> University of Tehran, Tehran, Iran >> https://sites.google.com/site/behzadbaghapour >> Fax: 0098-21-88020741 >> ================================== >> >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111109/a19eebf2/attachment.htm>