[petsc-users] Why am I not getting the parallel running?

Matthew Knepley knepley at gmail.com
Mon Apr 19 12:31:04 CDT 2010

On Mon, Apr 19, 2010 at 12:28 PM, Li, Zhisong (lizs) <lizs at mail.uc.edu>wrote:

>   Hi,
> I think this is a beginner's question, but still hope someone can help me
> out.
> I've tried to run some PETSc examples and my own simple PETSc codes on my
> office's cluster as well as on Ohio Supercomputer Center's machine. At first
> I found no speedup for parallel processing and later I noticed by checking
> the rank that actually each node is doing the same sequential processing.
> I'm sure the codes are parallel codes (such as ex19.c in SNES and ex7.c in
> TS tutorial codes). Is there anything I am missing in the installation or
> the run command such as"mpiexec -n 3 ex7"? How can I realize a parallel
> running?

The mpiexec in your path is not the one you configured with. What
MPI is begin used?


> BTW, is it okay to ask questions here on a specific PETSc tutorial code?
> Thank you very much!
> Regards,
> Zhisong Li

What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100419/4d53e4ab/attachment.htm>

More information about the petsc-users mailing list