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

Satish Balay balay at mcs.anl.gov
Fri Mar 29 13:52:44 CDT 2024


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> 于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
> > >
> >
> 


More information about the petsc-users mailing list