Actual source code: ex9.c

petsc-3.3-p7 2013-05-11
  2: /*
  3:      Tests PetscSequentialPhaseBegin() and PetscSequentialPhaseEnd()

  5: */
  6: #include <petscsys.h>

 10: int main(int argc,char **args)
 11: {

 14:   PetscInitialize(&argc,&args,PETSC_NULL,PETSC_NULL);
 15:   PetscSequentialPhaseBegin(PETSC_COMM_WORLD,1);
 16:   PetscSequentialPhaseEnd(PETSC_COMM_WORLD,1);
 17:   PetscFinalize();
 18:   return 0;
 19: }