<div dir="ltr">Mpich seems to give the same error.<div>I use clang 13.0. I think I get that from homebrew. </div><div>Should I try something like:</div><div>brew install llvm@12<br></div><div><br></div><div>I see:</div><div><br></div><div>(conda_env) 07:50 adams/fix_mat_ex5k= ~/Codes/petsc2$ brew info llvm<br>llvm: stable 13.0.0 (bottled), HEAD [keg-only]<br>Next-gen compiler infrastructure<br><a href="https://llvm.org/">https://llvm.org/</a><br>Not installed<br>From: <a href="https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/llvm.rb">https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/llvm.rb</a><br>License: Apache-2.0 with LLVM-exception<br>==> Dependencies<br>Build: cmake ✔, swig ✘<br>Required: python@3.10 ✘<br>==> Options<br>--HEAD<br> Install HEAD version<br>==> Caveats<br>To use the bundled libc++ please add the following LDFLAGS:<br> LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"<br><br>llvm is keg-only, which means it was not symlinked into /usr/local,<br>because macOS already provides this software and installing another version in<br>parallel can cause all kinds of trouble.<br><br>==> Analytics<br>install: 32,204 (30 days), 98,525 (90 days), 299,560 (365 days)<br>install-on-request: 17,978 (30 days), 62,171 (90 days), 212,999 (365 days)<br>build-error: 2,696 (30 days)<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 8, 2021 at 1:30 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This build goes through fine for me. [with petsc/main]<br>
<br>
xpro:petsc balay$ sw_vers <br>
ProductName: Mac OS X<br>
ProductVersion: 10.15.7<br>
BuildVersion: 19H1519<br>
xpro:petsc balay$ clang --version<br>
Apple clang version 12.0.0 (clang-1200.0.32.2)<br>
<snip><br>
xpro:petsc balay$ ./configure --download-mpich --with-fc=0 COPTFLAGS="-g -O" CXXOPTFLAGS="-g -O" --with-fortran-bindings=0 --download-kokkos=1 --download-kokkos-kernels=1 --with-kokkos-kernels-tpl=0 --with-zlib=1 --with-x=0<br>
<br>
Satish<br>
<br>
<br>
On Wed, 8 Dec 2021, Jacob Faibussowitsch wrote:<br>
<br>
> > And your algorithm looks idempotent to me....<br>
> <br>
> Believe me, I was sufficiently shocked when everything magically started working the 3rd time around :)<br>
> <br>
> Best regards,<br>
> <br>
> Jacob Faibussowitsch<br>
> (Jacob Fai - booss - oh - vitch)<br>
> <br>
> > On Dec 8, 2021, at 09:29, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
> > <br>
> > Thanks,<br>
> > And your algorithm looks idempotent to me....<br>
> > <br>
> > <br>
> > On Wed, Dec 8, 2021 at 9:13 AM Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com" target="_blank">jacob.fai@gmail.com</a> <mailto:<a href="mailto:jacob.fai@gmail.com" target="_blank">jacob.fai@gmail.com</a>>> wrote:<br>
> > So I had similar issues back when I originally wrote the clang linter — on Big Sur. The TL;DR for me was that Catalina originally shipped with broken cmath headers, something future updates wouldn’t necessarily fix. The only way to fix it was to:<br>
> > <br>
> > 1. Reinstall CLT<br>
> > 2. Reinstall/install Xcode<br>
> > 3. Repeat the above until it was fixed<br>
> > <br>
> > Now you may have an unrelated issue, but my error messages (e.g. about missing “signbit”, “std::less_than”, etc in global namespace) were very very similar. See discussions here:<br>
> > <br>
> > 1. <a href="https://gitlab.com/petsc/petsc/-/merge_requests/3773" rel="noreferrer" target="_blank">https://gitlab.com/petsc/petsc/-/merge_requests/3773</a> <<a href="https://gitlab.com/petsc/petsc/-/merge_requests/3773" rel="noreferrer" target="_blank">https://gitlab.com/petsc/petsc/-/merge_requests/3773</a>><br>
> > 2. <a href="https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th</a> <<a href="https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th</a>><br>
> > 3. <a href="https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina</a> <<a href="https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina</a>><br>
> > <br>
> > If these help then you’re lucky I never clean out my “misc” bookmarks folder :)<br>
> > <br>
> > Best regards,<br>
> > <br>
> > Jacob Faibussowitsch<br>
> > (Jacob Fai - booss - oh - vitch)<br>
> > <br>
> >> On Dec 8, 2021, at 09:06, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a> <mailto:<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>>> wrote:<br>
> >> <br>
> >> Monterey.<br>
> >> And my serial, optimized build works but it seems to use the same compiler.<br>
> >> I am testing the parallel build again with debug turned off.<br>
> >> <br>
> >> On Wed, Dec 8, 2021 at 9:04 AM Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com" target="_blank">jacob.fai@gmail.com</a> <mailto:<a href="mailto:jacob.fai@gmail.com" target="_blank">jacob.fai@gmail.com</a>>> wrote:<br>
> >> You aren’t by chance on Catalina are you?<br>
> >> <br>
> >> Best regards,<br>
> >> <br>
> >> Jacob Faibussowitsch<br>
> >> (Jacob Fai - booss - oh - vitch)<br>
> >> <br>
> >>> On Dec 8, 2021, at 08:49, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a> <mailto:<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>>> wrote:<br>
> >>> <br>
> >>> I am failing on OSX with openmpi. Kokkos is failing to build.<br>
> >>> I seem to be using:<br>
> >>> <br>
> >>> (conda_env) 08:46 1 adams/fix_mat_ex5k *= ~/Codes/petsc2$ /usr/local/Cellar/open-mpi/4.1.1_2/bin/mpicxx --version<br>
> >>> Apple clang version 13.0.0 (clang-1300.0.29.3)<br>
> >>> Target: x86_64-apple-darwin21.1.0<br>
> >>> Thread model: posix<br>
> >>> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin<br>
> >>> <br>
> >>> Any ideas?<br>
> >>> Thanks,<br>
> >>> Mark<br>
> >>> <configure.log><br>
> >> <br>
> > <br>
> <br>
> <br>
</blockquote></div>