A question about parallel computation

Satish Balay balay at mcs.anl.gov
Wed Jul 8 16:01:39 CDT 2009


Sounds like openmpi configuration issue. Perhaps you need to configure
hostfile for it?

You can try '--default-hostfile' option for mpiexec.

Also - you should figure out OpenMPI issues with a simple MPI test
code [like cpi.c] - not PETSc.

Satish


On Wed, 8 Jul 2009, Yin Feng wrote:

> I tried OpenMPI build PETSc and used mpirun provided by OpenMPI.
> But, when I check the load on each node, I found the master node take
> all the load
> and others are just free.
> 
> Did you have any idea about this situation?
> 
> Thanks in adcance!
> 
> Sincerely,
> YIN
> 
> On Wed, Jul 8, 2009 at 1:26 PM, Satish Balay<balay at mcs.anl.gov> wrote:
> > Perhaps you are using the wrong mpiexec or mpirun. You'll have to use
> > the correspond mpiexec from MPI you've used to build PETSc.
> >
> > Or if the MPI has special instruction on usage - you should follow
> > that [for ex: some clusters require extra options to mpiexec ]
> >
> > Satish
> >
> > On Wed, 8 Jul 2009, Yin Feng wrote:
> >
> >> I am a beginner of PETSc.
> >> I tried the PETSC example 5(ex5) with 4 nodes,
> >> However, it seems every nodes doing the exactly the same things and
> >> output the same results again and again. is this the problem of petsc or
> >> MPI installation?
> >>
> >> Thank you in adcance!
> >>
> >> Sincerely,
> >> YIN
> >>
> >
> >
> 



More information about the petsc-users mailing list