This build goes through fine for me. [with petsc/main] xpro:petsc balay$ sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H1519 xpro:petsc balay$ clang --version Apple clang version 12.0.0 (clang-1200.0.32.2) <snip> 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
Satish On Wed, 8 Dec 2021, Jacob Faibussowitsch wrote: > > And your algorithm looks idempotent to me.... > > Believe me, I was sufficiently shocked when everything magically started > working the 3rd time around :) > > Best regards, > > Jacob Faibussowitsch > (Jacob Fai - booss - oh - vitch) > > > On Dec 8, 2021, at 09:29, Mark Adams <mfad...@lbl.gov> wrote: > > > > Thanks, > > And your algorithm looks idempotent to me.... > > > > > > On Wed, Dec 8, 2021 at 9:13 AM Jacob Faibussowitsch <jacob....@gmail.com > > <mailto:jacob....@gmail.com>> wrote: > > 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: > > > > 1. Reinstall CLT > > 2. Reinstall/install Xcode > > 3. Repeat the above until it was fixed > > > > 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: > > > > 1. https://gitlab.com/petsc/petsc/-/merge_requests/3773 > > <https://gitlab.com/petsc/petsc/-/merge_requests/3773> > > 2. > > https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th > > > > <https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th> > > 3. > > https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina > > > > <https://stackoverflow.com/questions/58313047/cannot-compile-r-packages-with-c-code-after-updating-to-macos-catalina> > > > > If these help then you’re lucky I never clean out my “misc” bookmarks > > folder :) > > > > Best regards, > > > > Jacob Faibussowitsch > > (Jacob Fai - booss - oh - vitch) > > > >> On Dec 8, 2021, at 09:06, Mark Adams <mfad...@lbl.gov > >> <mailto:mfad...@lbl.gov>> wrote: > >> > >> Monterey. > >> And my serial, optimized build works but it seems to use the same compiler. > >> I am testing the parallel build again with debug turned off. > >> > >> On Wed, Dec 8, 2021 at 9:04 AM Jacob Faibussowitsch <jacob....@gmail.com > >> <mailto:jacob....@gmail.com>> wrote: > >> You aren’t by chance on Catalina are you? > >> > >> Best regards, > >> > >> Jacob Faibussowitsch > >> (Jacob Fai - booss - oh - vitch) > >> > >>> On Dec 8, 2021, at 08:49, Mark Adams <mfad...@lbl.gov > >>> <mailto:mfad...@lbl.gov>> wrote: > >>> > >>> I am failing on OSX with openmpi. Kokkos is failing to build. > >>> I seem to be using: > >>> > >>> (conda_env) 08:46 1 adams/fix_mat_ex5k *= ~/Codes/petsc2$ > >>> /usr/local/Cellar/open-mpi/4.1.1_2/bin/mpicxx --version > >>> Apple clang version 13.0.0 (clang-1300.0.29.3) > >>> Target: x86_64-apple-darwin21.1.0 > >>> Thread model: posix > >>> InstalledDir: > >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > >>> > >>> Any ideas? > >>> Thanks, > >>> Mark > >>> <configure.log> > >> > > > >