[petsc-dev] reading gmsh into DMPlex
Adrian Croucher
a.croucher at auckland.ac.nz
Mon Jan 16 20:37:53 CST 2017
hi
When I read the attached gmsh mesh using DMPlexCreateFromFile(), I get
the following error:
[0]PETSC ERROR: --------------------- Error
Message--------------------------------------------------------------
[0]PETSC ERROR: Invalid argument
[0]PETSC ERROR: File is not a valid Gmsh file
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
for trouble shooting.
[0]PETSC ERROR: Petsc Development GIT revision: v3.7.4-2811-gfbb304f
GIT Date: 2016-11-09 16:5
2:07 +0300
[0]PETSC ERROR: waiwera on a linux-gnu-c-opt named en-354401 by acro018
Tue Jan 17 11:52:23 201
7
[0]PETSC ERROR: Configure options --with-x --download-hdf5
--download-netcdf --download-exodusi
i --download-triangle --download-ptscotch --download-chaco
--download-hypre --with-debugging=0
COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3
-march=native -mtune=native" FOPTF
LAGS="-O3 -march=native -mtune=native"
[0]PETSC ERROR: #1 DMPlexCreateGmsh() line 207 in
/home/acro018/software/PETSc/code/src/dm/impl
s/plex/plexgmsh.c
[0]PETSC ERROR: #2 DMPlexCreateGmshFromFile() line 59 in
/home/acro018/software/PETSc/code/src/
dm/impls/plex/plexgmsh.c
[0]PETSC ERROR: #3 DMPlexCreateFromFile() line 1998 in
/home/acro018/software/PETSc/code/src/dm
/impls/plex/plexcreate.c
This mesh was created using the meshio Python library
(https://github.com/nschloe/meshio).
Gmsh itself seems to think it is valid. What is PETSc's problem with it?
It appears to be complaining about the $EndElements line not matching
properly, but it looks ok to me.
- Adrian
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmesh.msh
Type: model/mesh
Size: 11668 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170117/355deb40/attachment.msh>
More information about the petsc-dev
mailing list