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