[petsc-dev] Problem about DMPlexCreateExodusFromFile()

Gong Yujie yc17470 at connect.um.edu.mo
Mon Oct 11 03:08:40 CDT 2021


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 :

[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Invalid argument
[0]PETSC ERROR: Unrecognized element type TRIANGLE
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.16.0, Sep 29, 2021
[0]PETSC ERROR: ./exocircle on a arch-linux-c-debug named DESKTOP-0RMI66F by fstcam Mon Oct 11 10:54:35 2021
[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
[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
[0]PETSC ERROR: #3 DMPlexCreateExodusFromFile() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1352

Looking forward to your reply!

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211011/5adf2977/attachment.html>

More information about the petsc-dev mailing list