<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I'm learning PETSc DMPlex module recently. A problem occurs to my PETSc when I'm using  DMPlexCreateExodusFromFile() to import a mesh file. I've tried to generate a mesh with Pointwise and ICEM, but both mesh files can't be input to PETSc. The Error code is
 :</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</i></span>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: Invalid argument</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: Unrecognized element type TRIANGLE</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: Petsc Release Version 3.16.0, Sep 29, 2021</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: ./exocircle on a arch-linux-c-debug named DESKTOP-0RMI66F by fstcam Mon Oct 11 10:54:35 2021</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack --download-metis --download-parmetis --download-exodusii
 --download-netcdf --download-hdf5 --download-superlu --download-triangle --download-zlib --download-pnetcdf --download-make --download-cmake</i></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: #1 ExodusGetCellType_Internal() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1390[0]PETSC ERROR: #2 DMPlexCreateExodus() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1472</i></span></div>
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i>[0]PETSC ERROR: #3 DMPlexCreateExodusFromFile() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1352</i></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 10pt;"><i><br>
</i></span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;">Looking forward to your reply!</span><br>
</div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important;"><br>
</span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-family: Calibri, Helvetica, sans-serif;">Best Regards,</span></div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-family: Calibri, Helvetica, sans-serif;">Gong</span></div>
</body>
</html>