[petsc-dev] Building a serial version of petsc with sundials, hypre, scalapack, etc

Barry Smith bsmith at mcs.anl.gov
Mon Dec 19 07:38:34 CST 2011


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.

   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




More information about the petsc-dev mailing list