Several of the external packages that have been interfaced with petsc require mpi. Is there a way to build a serial version of petsc with these packages and use stub routines for mpi? I know there are fortran stub routines, i.e. mpiuni, that I am using for my application which is currently serial. But is there a way to have petsc build these external packages that require mpi and use some serial stub routines? I tried building petsc with several of these external packages while using the --with-mpi=0 configure option and the build process would always fail and tell me to download mpi. I'm interested in being able to do this since my code is currently serial.
Thanks, Dave