Does Petsc built with MPICH2 work in a single processor box?

Matthew Knepley knepley at
Sat Oct 11 18:26:50 CDT 2008

On Sat, Oct 11, 2008 at 6:03 PM, Thuc Bui <bui at> wrote:
> Hi all,
> I am able to build Petsc-2.3.3-p15 with MPICH2 under Windows and make it a
> DLL. It works great with my app in a dual core laptop. However, when the
> same executable runs on a uniprocessor windows box, it gives me the
> following errors:
> ...
> [0] Error creating mpiexec process...2
> [0] launchMpiexecProcess failed
> Fatal error in MPI_Init: Other MPI error, error stack:
> MPIR_Init_thread(294): Initialization failed
> MPID_Init(82)........: channel initialization failed
> MPID_Init(383).......: PMI_Get_id returned 1
> ...

Can you run any MPI program on this machine?


> Are these errors due to PatscInitialize() failing to initialize MPI on a
> single processor box?
> If this is the case, is there a way in PetscInitialize or else where to turn
> off MPI without having to recompile Petsc with the option --with-mpi=0?
> Many thanks in advance for your help,
> Thuc Bui

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

More information about the petsc-users mailing list