[petsc-dev] Error creating DMPlex from CGNS file

Matthew Knepley knepley at gmail.com
Sun Apr 14 18:19:24 CDT 2024


On Sun, Apr 14, 2024 at 2:14 PM Ravindra Chopade <ravichopade73 at 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!egIqaX97zHKXRSBUpWfIz2b2YCrr9532sqRW4nPOoTdl27-G1RuTnVP4HuuuozdPeF_3_Swk7ErIyzRqZEKS$ 
> <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-maint at 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!egIqaX97zHKXRSBUpWfIz2b2YCrr9532sqRW4nPOoTdl27-G1RuTnVP4HuuuozdPeF_3_Swk7ErIy3GVIvKR$  <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!egIqaX97zHKXRSBUpWfIz2b2YCrr9532sqRW4nPOoTdl27-G1RuTnVP4HuuuozdPeF_3_Swk7ErIy47dAg5y$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20240414/f7299082/attachment-0001.html>


More information about the petsc-dev mailing list