<html><head></head><body><span>Hello,<br><br></span><div><span>I try to integrate petsc into an application and I think it would be much simpler if I could bypass the applications original MPI functionality by starting MPI with n processes when initializing Petsc and stopping it when PetscFinalize(); is called. The standard  mpirun -np 4 application -parameters  triggers a couple of events which are of no use to petsc and at the same time make the implementation very complicated as e.g. relevant data is lost.<br></span></div><div><span></span><br></div><span>Is it possible to start MPI with n processes from within the code so it takes only effect on the petsc code? <br><br>I see a simple way to provide the number of processes through the configuration file which will hold the solver settings.<br><br></span><div><span>Klaus</span></div><div class="ydp8ffdebcdyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 10px;"></div></body></html>