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

Thuc Bui bui at calcreek.com
Sat Oct 11 18:03:00 CDT 2008


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
...

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




More information about the petsc-users mailing list