[petsc-dev] I don't understand PETSCPARTITIONSHELL

Barry Smith bsmith at mcs.anl.gov
Thu Feb 9 21:36:24 CST 2017


   I don't understand PETSCPARTITIONSHELL. 

   Why does it exist? Why not just use PETSCPARTITIONSIMPLE when no other partitioner exists?

   Why is it called shell? Other XXSHELL allow users to provide their own routines to provide the XX functionality, this does not seem to do that. So it is not shell in the PETSc sense.

   Why hard wire examples to use it? Why not just have list it as an args: in the test cases with -petscpartitioner_type shell (but why not just simple?) putting the ugly shit directly into the source code seems unnecessary and annoying.


More information about the petsc-dev mailing list