I want to use PETSc only for uniprocessor programs. Must I still install and use a version of MPI?
For those using PETSc as a sequential library, the software can be compiled and run without using an implementation of MPI. To do this, edit the file ${PETSC_DIR}/bmake/${PETSC_ARCH}/base.site and change the lines that define the location of MPI to MPI_LIB = ${PETSC_DIR}/lib/lib${BOPT}/${PETSC_ARCH}/libmpiuni.a MPI_INCLUDE = -I${PETSC_DIR}/src/sys/src/mpiuni MPIRUN = ${PETSC_DIR}/src/sys/src/mpiuni/mpirun If you compile PETSc as such, you will be able to run PETSc ONLY on one processor. Also, you will be able to run the program directly, without using the mpirun command.