On Mon, 19 Dec 2011, Barry Smith wrote: > > On Dec 19, 2011, at 12:06 AM, Dave Nystrom wrote: > > > 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? > > MUMPS can be built without MPI using petsc-dev but all of the other > packages require MPI, no way around it that's the way their author's wrote > them.
Even if the authors provide a seq version of this package - mostlikely it relies on a internal stubmpi. And generally mixing 2 stub mpis [from different packages] will cause grief. The best stub mpiuni that you can use - that will work with all packages is mpich. Satish > > Barry > > > > 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 > >