[petsc-users] problem with generating simplicies mesh

Mark Adams mfadams at lbl.gov
Sun May 19 11:31:31 CDT 2019


I would guess that you want 2 faces in each direction (the default so use
NULL instead of faces).

On Sun, May 19, 2019 at 9:23 AM 陳鳴諭 via petsc-users <petsc-users at mcs.anl.gov>
wrote:

> I have problem with generating simplicies mesh.
> I do as the description in DMPlexCreateBoxmesh says, but still meet error.
>
> The following is the error message:
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Argument out of range
> [0]PETSC ERROR: No grid generator of dimension 1 registered
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> [0]PETSC ERROR: Petsc Development GIT revision: v3.11.1-723-g96d64d1  GIT
> Date: 2019-05-15 13:23:17 +0000
> [0]PETSC ERROR: ./membrane on a arch-linux2-c-debug named
> simon-System-Product-Name by simon Sun May 19 20:54:54 2019
> [0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
> --with-fc=gfortran --download-mpich --download-fblaslapack
> [0]PETSC ERROR: #1 DMPlexGenerate() line 181 in
> /home/simon/petsc/src/dm/impls/plex/plexgenerate.c
> [0]PETSC ERROR: #2 DMPlexCreateBoxMesh_Simplex_Internal() line 536 in
> /home/simon/petsc/src/dm/impls/plex/plexcreate.c
> [0]PETSC ERROR: #3 DMPlexCreateBoxMesh() line 1071 in
> /home/simon/petsc/src/dm/impls/plex/plexcreate.c
> [0]PETSC ERROR: #4 main() line 54 in /home/simon/Downloads/membrane.c
> [0]PETSC ERROR: PETSc Option Table entries:
> [0]PETSC ERROR: -dm_view
> [0]PETSC ERROR: ----------------End of Error Message -------send entire
> error message to petsc-maint at mcs.anl.gov----------
> application called MPI_Abort(MPI_COMM_WORLD, 63) - process 0
> [unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=63
> :
> system msg for write_line failure : Bad file descriptor
>
>
>
> I need some help about this, please.
>
> Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190519/1cb21856/attachment.html>


More information about the petsc-users mailing list