>>>> Executing: mpicc --version stdout: clang version 12.0.1 Target: arm64-apple-darwin20.0.0 Thread model: posix InstalledDir: /Users/kongf/mambaforge3/envs/moose-mpich/bin <<<<<<
Ah yes - Moose doesn't use xcode compilers [or libraries..] Does download-openblas also fail? Satish On Tue, 19 Jul 2022, Satish Balay via petsc-dev 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] > > 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 <bsm...@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...@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> > > > > > > > > >