[petsc-dev] Error creating DMPlex from CGNS file
Ravindra Chopade
ravichopade73 at gmail.com
Sun Apr 28 07:06:41 CDT 2024
Hi Matt,
I have fixed this issue locally, I have created an account on gitlab with
username "rchopade". I can't push my bug fix branch to the Petsc project as
I dont have access to push the code.
How should I request access ? Can someone help me with this?
Thanks
Ravi
On Sat, Apr 27, 2024 at 11:12 PM Matthew Knepley <knepley at gmail.com> wrote:
> On Sat, Apr 27, 2024 at 8:35 AM Ravindra Chopade <ravichopade73 at gmail.com>
> wrote:
>
>> Hi Matt,
>>
>> I am getting the same error with the latest version of PETSc.
>>
>
> Shoot, that is right. Multiple zones was done, but not multiple sections.
> Honestly, I do not understand
> what the idea behind multiple sections is.
>
>
>> Is there another way where I can import mesh from SALOME.
>>
>
> Not if it uses multiple sections. If you can tell me what they are
> actually doing with that, maybe the code
> can be fixed.
>
> Thanks,
>
> Matt
>
>
>> Thanks
>> Ravi
>>
>>
>> On Mon, Apr 15, 2024 at 4:49 AM Matthew Knepley <knepley at gmail.com>
>> wrote:
>>
>>> 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!dPo_TlNT20yjdiDZ3UbAnxhEszvNKx9VHng-1QQ2F1YYC6lmM-Oz5SuT1HifOsS373-W9T_fJL97S3gRuQC5rvpmPORb$
>>>> <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!dPo_TlNT20yjdiDZ3UbAnxhEszvNKx9VHng-1QQ2F1YYC6lmM-Oz5SuT1HifOsS373-W9T_fJL97S3gRuQC5rg47hJ-O$
>>> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dPo_TlNT20yjdiDZ3UbAnxhEszvNKx9VHng-1QQ2F1YYC6lmM-Oz5SuT1HifOsS373-W9T_fJL97S3gRuQC5rpyczQzm$ >
>>>
>>
>
> --
> 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!dPo_TlNT20yjdiDZ3UbAnxhEszvNKx9VHng-1QQ2F1YYC6lmM-Oz5SuT1HifOsS373-W9T_fJL97S3gRuQC5rg47hJ-O$
> <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!dPo_TlNT20yjdiDZ3UbAnxhEszvNKx9VHng-1QQ2F1YYC6lmM-Oz5SuT1HifOsS373-W9T_fJL97S3gRuQC5rpyczQzm$ >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20240428/964d2575/attachment-0001.html>
More information about the petsc-dev
mailing list