[petsc-users] Can I call PetscInitialize twice in a programm

nan zhao zhaonanavril at gmail.com
Tue Aug 31 16:58:30 CDT 2010


Hi,

I am now using petsc to develop some application which need to solve two
physical systems. I want to use Petsc as the linear solver. but I am not
sure if I can all PetscInitialize twice. becasue the two system are
solving at the same time period. And also I want to use MPI to do
parallel computing. Can I call MPI:INIT() before I call PetscInitialize?

Thank you very much!

Nan



More information about the petsc-users mailing list