[petsc-users] ex19: Segmentation Violation when run with MUMPS on MacOS (arm64)

Barry Smith bsmith at petsc.dev
Sat Mar 30 11:54:32 CDT 2024


  Can you check the value of IRHSCOMP in the debugger? Using gdb as the debugger may work better for this. 

  Barry


> On Mar 30, 2024, at 3:46 AM, zeyu xia <xiazeyu01 at gmail.com> wrote:
> 
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi! Thanks for your reply.
> 
> There still exist some problems, as seen in the files 'configure.log', 'make check3.txt', and 'debug.txt' in the attachment. Particularly, the file 'debug.txt' contains the output of bt command of lldb.
> 
> Thanks for your attention.
> 
> Best regards,
> Zeyu Xia
> 
> 
> Satish Balay <balay at mcs.anl.gov <mailto:balay at mcs.anl.gov>> 于2024年3月30日周六 02:52写道:
>> I'm able to reproduce this error on a slightly older xcode [but don't know why this issue comes up]
>> 
>> > Apple clang version 15.0.0 (clang-1500.1.0.2.5)
>> 
>> Can you try using the additional configure options (along with LDFLAGS=-Wl,-ld_classic)  and see if it works?
>> 
>> COPTFLAGS=-O0 FOPTFLAGS=-O0
>> 
>> Satish
>> 
>> On Fri, 29 Mar 2024, zeyu xia wrote:
>> 
>> > Hi! I am grateful for your prompt response.
>> > 
>> > I follow your suggestions, and however, it still does not work. For the
>> > related information please find the files 'make check2.txt' and
>> > 'configure.log' in the attachment.
>> > 
>> > If possible, please do me a favor again. Thanks for your patience.
>> > 
>> > Best wishes,
>> > Zeyu Xia
>> > 
>> > 
>> > Satish Balay <balay at mcs.anl.gov <mailto:balay at mcs.anl.gov>> 于2024年3月29日周五 23:48写道:
>> > 
>> > > Could you:
>> > >
>> > > - reinstall brew after the xcode upgrade (not just update)
>> > > https://urldefense.us/v3/__https://petsc.org/main/install/install/*installing-on-macos__;Iw!!G_uCfscf7eWS!dGItos-D58VSJn4kOlKy2TEX-PWhflbWfNuM0zqhEXbGniD5S13iWCxgBmg9wYk4OrSwaP6jjzANIHN1ZHATKXE$
>> > > - not use --LDFLAGS=-Wl,-ld_classic
>> > >
>> > > And see if the problem persists?
>> > >
>> > > Satish
>> > >
>> > > On Fri, 29 Mar 2024, zeyu xia wrote:
>> > >
>> > > > Dear PETSc team:
>> > > >
>> > > >         Recently I installed firedrake on MacOS (arm64) with the latest
>> > > > Xcode, and there seems some error with mumps. I ran two times of the
>> > > > command `make check`. The first time it just output wrong results, and
>> > > the
>> > > > second time it raised an error with Segmentation Violation. Please see
>> > > the
>> > > > files “make check.txt” and “configure.log” in the attachment.
>> > > >
>> > > >         I will certainly be happy and grateful if you can take some time
>> > > to
>> > > > deal with this problem. Thanks for your patience.
>> > > >
>> > > > Best wishes,
>> > > > Zeyu Xia
>> > > >
>> > >
>> > 
> <make check3.txt><configure.tar.gz><debug.txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240330/736ba5a9/attachment-0001.html>


More information about the petsc-users mailing list