[petsc-users] Is use of Mirror Boundary with Box Stencil supported for 2D?

Macneice, Peter J. (GSFC-6740) peter.j.macneice at nasa.gov
Thu Feb 19 20:08:51 CST 2026


>From my searching of the documentation, it looks to me as though this combination should work.

However for my modified version of the ex66.c tutorial code, I get the error message below.


Is this really not yet supported?



Regards


Peter MacNeice





[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------

[0]PETSC ERROR: No support for this operation for this object type

[0]PETSC ERROR: Mirror boundary and box stencil

[0]PETSC ERROR: WARNING! There are unused option(s) set! Could be the program crashed before usage or a spelling mistake, etc!

[0]PETSC ERROR:   Option left: name:-dm_view (no value) source: command line

[0]PETSC ERROR:   Option left: name:-ksp_monitor (no value) source: command line

[0]PETSC ERROR: See https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!boqIOhIgncdTr1z60slIrCjusZEY0_bk-qkGbrlrmiepTiBAvCwW8s9c1IQ6vyT4fOeshVO3Bsu1F5HuERiBGRsq1r2LJ1zBtrM$  for trouble shooting.

[0]PETSC ERROR: PETSc Release Version 3.24.3, Jan 01, 2026

[0]PETSC ERROR: ex66_9pt with 1 MPI process(es) and PETSC_ARCH arch-darwin-c-debug on gs67-5186361 by pmacneic Thu Feb 19 21:03:16 2026

[0]PETSC ERROR: Configure options: --with-mpi-dir=/Users/pmacneic/mpich-install-3.3-gcc15 --force

[0]PETSC ERROR: #1 DMSetUp_DA_2D() at /Users/pmacneic/petsc-3.24.3/src/dm/impls/da/da2.c:212

[0]PETSC ERROR: #2 DMSetUp_DA() at /Users/pmacneic/petsc-3.24.3/src/dm/impls/da/dareg.c:17

[0]PETSC ERROR: #3 DMSetUp() at /Users/pmacneic/petsc-3.24.3/src/dm/interface/dm.c:807

[0]PETSC ERROR: #4 main() at ex66_9pt.c:77

[0]PETSC ERROR: PETSc Option Table entries:

[0]PETSC ERROR: -dm_view (source: command line)

[0]PETSC ERROR: -ksp_monitor (source: command line)

[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint at mcs.anl.gov----------

application called MPI_Abort(MPI_COMM_SELF, 56) - process 0







Macneice, Peter J. (GSFC-6740)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20260220/813efebb/attachment.html>


More information about the petsc-users mailing list