[petsc-users] any ways to run PETSc4py on several CPU?

Satish Balay balay at mcs.anl.gov
Mon May 10 08:32:19 CDT 2010


Note: this might not work with some older MPI impls like
mpich1. However newer ones like mpich2 should work.

mpiexec -n 4 python foo.py

Satish

On Mon, 10 May 2010, Matthew Knepley wrote:

> You use mpirun.
> 
>   Matt
> 
> On Sun, May 9, 2010 at 10:42 AM, Dmitrey <dmitrey15 at ukr.net> wrote:
> 
> > hi all,
> > are there any ways to run PETSc4py on several CPU, i.e. something like
> > mpirun -np 4?
> >
> > Currently I have
> >
> > >>> print PETSc.COMM_WORLD.Get_size()
> > 1
> >
> > Thank you in advance, D.
> >
> >
> 
> 
> 



More information about the petsc-users mailing list