xref: /petsc/src/sys/tests/ex9.c (revision ebead697dbf761eb322f829370bbe90b3bd93fa3)
1 
2 static char help[] = "Tests PetscSequentialPhaseBegin() and PetscSequentialPhaseEnd()\n";
3 
4 #include <petscsys.h>
5 
6 int main(int argc,char **args)
7 {
8 
9   PetscFunctionBeginUser;
10   PetscCall(PetscInitialize(&argc,&args,NULL,help));
11   PetscCall(PetscSequentialPhaseBegin(PETSC_COMM_WORLD,1));
12   PetscCall(PetscSequentialPhaseEnd(PETSC_COMM_WORLD,1));
13   PetscCall(PetscFinalize());
14   return 0;
15 }
16 
17 /*TEST
18 
19    test:
20       nsize: 2
21 
22 TEST*/
23