[petsc-users] DMView / print out ownership ranges

Bastian Löhrer bastian.loehrer at tu-dresden.de
Thu Aug 13 07:48:49 CDT 2020


Dear PETSc people,

in PETSc 3.3

     call DMView( dm, PETSC_VIEWER_STDOUT_WORLD, ierr)

printed out the ownership ranges like so:

    Processor [0] M 32 N 34 P 32 m 1 n 2 p 2 w 1 s 1
    X range of indices: 0 32, Y range of indices: 0 17, Z range of
    indices: 0 16
    Processor [1] M 32 N 34 P 32 m 1 n 2 p 2 w 1 s 1
    X range of indices: 0 32, Y range of indices: 17 34, Z range of
    indices: 0 16
    Processor [2] M 32 N 34 P 32 m 1 n 2 p 2 w 1 s 1
    X range of indices: 0 32, Y range of indices: 0 17, Z range of
    indices: 16 32
    Processor [3] M 32 N 34 P 32 m 1 n 2 p 2 w 1 s 1
    X range of indices: 0 32, Y range of indices: 17 34, Z range of
    indices: 16 32

In PETSc 3.8.4 (and later?) the same function call only prints out:

    DM Object: 4 MPI processes
       type: da

Does the feature to print out the ownership ranges still exist?
I am unable to find it.

Best,
Bastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200813/35fa43f9/attachment.html>


More information about the petsc-users mailing list