Hi Matt, I am getting the same error with the latest version of PETSc.
Is there another way where I can import mesh from SALOME. Thanks Ravi On Mon, Apr 15, 2024 at 4:49 AM Matthew Knepley <knep...@gmail.com> wrote: > On Sun, Apr 14, 2024 at 2:14 PM Ravindra Chopade <ravichopad...@gmail.com> > wrote: > >> 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 >> ZjQcmQRYFpfptBannerStart >> This Message Is From an External Sender >> This message came from outside your organization. >> >> ZjQcmQRYFpfptBannerEnd >> 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 >> > > This is a limitation of PETSc 3.16. Could you try the latest version and > let us know if problems happen there? > > Thanks, > > Matt > > >> [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!bjfanyy4HQrDHTWAGfshCP6SrP3Ec9qjx-G6L_yb-lPLYhf-1OkuAoYNDmWWucne6ZobpCOpHc32_XBoITqyWLL67axn$ >> >> <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 >> > > > -- > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > -- Norbert Wiener > > https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bjfanyy4HQrDHTWAGfshCP6SrP3Ec9qjx-G6L_yb-lPLYhf-1OkuAoYNDmWWucne6ZobpCOpHc32_XBoITqyWOltrlkc$ > > <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bjfanyy4HQrDHTWAGfshCP6SrP3Ec9qjx-G6L_yb-lPLYhf-1OkuAoYNDmWWucne6ZobpCOpHc32_XBoITqyWKB8ita4$ > > >