Hello All, I have exported mesh in cgns format from SALOME, I am trying to create a DMPlex object from the exported CGNS file, I am getting below error. Can someone help me to fix this issue ?
Note- I am using PETSc version 3.16.0 because it is compatible with cgns and hdf version distributed with SALOME [0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [0]PETSC ERROR: Error in external library [0]PETSC ERROR: CGNS file must have a single section, not 3 [0]PETSC ERROR: See https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!bYZJwKv8JI8EkdhV7cqcKLV8RqqU4HwTr-Hkaniu3DLk0HnB8LKxh9gL_hZmO_tiTAQke7JdYfPCWaK0zYJkedGcvKAR$ for trouble shooting. [0]PETSC ERROR: Petsc Release Version 3.16.0, unknown [0]PETSC ERROR: ./my_ex2 on a arch-linux2-c-debug named ravindra-Lenovo-G50-80 by ravindra Sun Apr 14 23:35:02 2024 [0]PETSC ERROR: Configure options --with-hdf5-dir=/home/ravindra/ThirdParty/SALOME-9.12.0/BINARIES-CO7/hdf5 --with-cgns-dir=/home/ravindra/ThirdParty/SALOME-9.12.0/BINARIES-CO7/cgns --download-ctetgen [0]PETSC ERROR: #1 DMPlexCreateCGNS() at /home/ravindra/users/PETscDev/petsc/src/dm/impls/plex/plexcgns.c:162 [0]PETSC ERROR: #2 DMPlexCreateCGNSFromFile() at /home/ravindra/users/PETscDev/petsc/src/dm/impls/plex/plexcgns.c:57 [0]PETSC ERROR: #3 main() at my_ex2.c:23 [0]PETSC ERROR: No PETSc Option Table entries [0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-ma...@mcs.anl.gov---------- -------------------------------------------------------------------------- Thanks Ravi Chopade