[petsc-dev] ld: warning: could not create compact unwind for _dgeev_: registers 27 and 28 not saved contiguously in frame

Satish Balay balay at mcs.anl.gov
Tue Jul 19 15:03:49 CDT 2022


On Tue, 19 Jul 2022, Fande Kong wrote:

> On Tue, Jul 19, 2022 at 12:22 PM Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > Barry,
> >
> > Which commit in 3.17 fixed this?
> >
> > Fande,
> >
> > If I add a patch to branch "release-3.16" - would that get used? [as there
> > won't be any new 3.16 tarballs]
> >
> 
> Yes, we can use it. We treat PETSc as a submodule in MOOSE. We can attach
> any hash if we want

Ok - If we can figure out the patch in 3.17 that fixes it - I can add it to release-3.16

Or we can create a branch release-3.16-moose - and add in whatever patches you want. [and you can use that commit/hash/branch in MOOSE/petsc submodule]

[I'm hesitating to add the attached patch to release-3.16 branch. If this patch is something that we would merge all the way to main - it would could add it in to the release-3.16 branch]

Satish

> 
> Thanks,
> 
> Fande
> 
> 
> >
> > BTW: Any particular reason to use fblaslapack - instead of [default]
> > veclib on Mac?
> >
> > Satish
> >
> >
> > On Tue, 19 Jul 2022, Fande Kong wrote:
> >
> > > Hi Barry,
> > >
> > > It would be nice if we could get this patch to PETSc-3.16.
> > >
> > > We will upgrade to PETSc-3.17 for sure but it will take a while
> > >
> > > Fande
> > >
> > > On Tue, Jul 19, 2022 at 11:59 AM Barry Smith <bsmith at petsc.dev> wrote:
> > >
> > > >
> > > >   I think we have a fix for this in the 3.17 release. Perhaps Satish
> > could
> > > > stick this line into the 3.16 release/tag for its users?
> > > >
> > > >   Barry
> > > >
> > > >
> > > > > On Jul 19, 2022, at 1:48 PM, Fande Kong <fdkong.jd at gmail.com> wrote:
> > > > >
> > > > > Hi PETSc team,
> > > > >
> > > > > We had trouble when compiling fblaslapack on Apple M1.  We could get
> > > > around this issue by using the following patch, but do not really know
> > > > whether or not it is the right way to fix this issue.
> > > > >
> > > > >  petsc % git diff
> > > > >
> > > > > diff --git a/config/BuildSystem/config/framework.py
> > > > b/config/BuildSystem/config/framework.py
> > > > > index 5b210ebb58..0ce27ef06d 100644
> > > > > --- a/config/BuildSystem/config/framework.py
> > > > > +++ b/config/BuildSystem/config/framework.py
> > > > > @@ -554,6 +554,7 @@ class Framework(config.base.Configure,
> > > > script.LanguageProcessor):
> > > > >        lines = [s for s in lines if s.find(' was built for newer
> > macOS
> > > > version') < 0]
> > > > >        lines = [s for s in lines if s.find(' was built for newer OSX
> > > > version') < 0]
> > > > >        lines = [s for s in lines if s.find(' stack subq instruction
> > is
> > > > too different from dwarf stack size') < 0]
> > > > > +      lines = [s for s in lines if s.find('could not create compact
> > > > unwind') < 0]
> > > > >        # Nvidia linker
> > > > >        lines = [s for s in lines if s.find('nvhpc.ld contains output
> > > > sections') < 0]
> > > > >        if lines: output = '\n'.join(lines)
> > > > >
> > > > >
> > > > > Please check the log file to have more details of failing messages.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Fande
> > > > > <configure.log>
> > > >
> > > >
> > >
> >
> >
> 



More information about the petsc-dev mailing list