[petsc-users] sequential version of petsc (no mpi)

panourg at mech.upatras.gr panourg at mech.upatras.gr
Tue Apr 5 15:17:40 CDT 2011


You can run petsc in one process regardeless of mpi setup in your pc.
I believe that some routines or other packages of petsc need mpi and
therefore you take these errors.
Do setup of mpi and make your code as before.


K.P


> Dear all,
>
> I need to build a no mpi version of petsc for some reason. I use the
> option
> --with-mpi=0. The build seems to be successful. But when I compile my code
> with petsc, then it has some errors related to undefined reference to
> MPI_ABORT, MPI_NUITMP...
> I just tired to use KSP solver. Is anyone have some suggestions?
>
> Thanks,
> Nan
>



More information about the petsc-users mailing list