Actual source code: ex9.c

petsc-3.12.5 2020-03-29
Report Typos and Errors

  2: static char help[] = "Tests PetscSequentialPhaseBegin() and PetscSequentialPhaseEnd()\n";

  4:  #include <petscsys.h>

  6: int main(int argc,char **args)
  7: {

 10:   PetscInitialize(&argc,&args,NULL,help);if (ierr) return ierr;
 11:   PetscSequentialPhaseBegin(PETSC_COMM_WORLD,1);
 12:   PetscSequentialPhaseEnd(PETSC_COMM_WORLD,1);
 13:   PetscFinalize();
 14:   return ierr;
 15: }


 18: /*TEST

 20:    test:
 21:       nsize: 2

 23: TEST*/