<div dir="ltr">I would guess that you want 2 faces in each direction (the default so use NULL instead of faces).</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 19, 2019 at 9:23 AM 陳鳴諭 via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have problem with generating simplicies mesh.</div><div>I do as the description in DMPlexCreateBoxmesh says, but still meet error.</div><div><br></div><div>The following is the error message:</div><div><div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR: Argument out of range</div><div>[0]PETSC ERROR: No grid generator of dimension 1 registered</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.11.1-723-g96d64d1 GIT Date: 2019-05-15 13:23:17 +0000</div><div>[0]PETSC ERROR: ./membrane on a arch-linux2-c-debug named simon-System-Product-Name by simon Sun May 19 20:54:54 2019</div><div>[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack</div><div>[0]PETSC ERROR: #1 DMPlexGenerate() line 181 in /home/simon/petsc/src/dm/impls/plex/plexgenerate.c</div><div>[0]PETSC ERROR: #2 DMPlexCreateBoxMesh_Simplex_Internal() line 536 in /home/simon/petsc/src/dm/impls/plex/plexcreate.c</div><div>[0]PETSC ERROR: #3 DMPlexCreateBoxMesh() line 1071 in /home/simon/petsc/src/dm/impls/plex/plexcreate.c</div><div>[0]PETSC ERROR: #4 main() line 54 in /home/simon/Downloads/membrane.c</div><div>[0]PETSC ERROR: PETSc Option Table entries:</div><div>[0]PETSC ERROR: -dm_view</div><div>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------</div><div>application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0</div><div>[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=63</div><div>:</div><div>system msg for write_line failure : Bad file descriptor</div></div><div><br></div><div><br></div><div><br></div><div>I need some help about this, please.</div><div><br></div><div>Simon</div></div></div>
</blockquote></div>