Hello, I get the same configuration error. I don’t find the CMakeError file either (maybe it is switched off with a flag?), but can give a few more details from the CMake output.
I use a similar deal.II configuration: (cmake -DDEAL_II_CXX_FLAGS=-std=c++17 -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_HDF5=ON -DDEAL_II_WITH_PETSC=ON -DPETSC_DIR=$PETSC_DIR -DPETSC_ARCH=arch-darwin-c-debug -DDEAL_II_WITH_SLEPC=ON -DSLEPC_DIR=$SLEPC_DIR -DDEAL_II_WITH_P4EST=ON -DP4EST_DIR=$P4EST_DIR) I get the following output (shortened a bit, if anything is missing let me know!): […] /opt/homebrew/Cellar/cmake/3.27.6/bin/cmake -E cmake_link_script CMakeFiles/CheckCompilerSetupExec.dir/link.txt --verbose=1 /Library/Developer/CommandLineTools/usr/bin/c++ -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk [....] ld: warning: ignoring duplicate libraries: '-ldl', '-lm', '/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib/libdmumps.a', '/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib/libmumps_common.a', '/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib/libpord.a', '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13/libemutls_w.a' ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13') ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc') ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current') ld: warning: duplicate LC_RPATH are deprecated ('/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib') ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13') ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc') ld: warning: duplicate LC_RPATH are deprecated ('/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current') ld: warning: duplicate LC_RPATH are deprecated ('/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib') ld: multiple errors: duplicate LC_RPATH '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13' in '/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib/libscalapack.2.2.1.dylib'; duplicate LC_RPATH '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13' in '/Users/flo/.local/lib/petsc/arch-darwin-c-debug/lib/libscalapack.2.2.1.dylib' clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [CMakeFiles/CheckCompilerSetupExec.dir/build.make:167: CheckCompilerSetupExec] Error 1 gmake[2]: Leaving directory '/Users/flo/Documents/PhD/Code/sapphire/dealii-9.5.1/build/check_compiler_setup/DEAL_II_HAVE_USABLE_FLAGS_DEBUG' gmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/CheckCompilerSetupExec.dir/all] Error 2 gmake[1]: Leaving directory '/Users/flo/Documents/PhD/Code/sapphire/dealii-9.5.1/build/check_compiler_setup/DEAL_II_HAVE_USABLE_FLAGS_DEBUG' gmake: *** [Makefile:94: all] Error 2 CMake Error at cmake/setup_finalize.cmake:126 (message): Configuration error: Cannot compile a test program with the final set of compiler and linker flags: CXX flags (DEBUG): -openmp-simd -ftemplate-depth=1024 -std=c++17 -ffp-exception-behavior=strict -Og -ggdb -Wa,--compress-debug-sections LD flags (DEBUG): -ggdb LIBRARIES (DEBUG): ; Call Stack (most recent call first): cmake/macros/macro_verbose_include.cmake:19 (include) CMakeLists.txt:123 (verbose_include) -- Configuring incomplete, errors occurred! Some details on my setup: I use MacOS 14.0 (just updated) on a M1 MacBook (arm64-apple-darwin23.0.0). My compiler is the `CommandLineTools` clang compiler (Apple clang version 15.0.0). I installed gcc-13, cmake (and some packages) with home-brew. PETSc-v3.20.0, SLEPc-v3.20.0 and p4est-v2.8.5 installed in '~/.local/lib‘. I try to compile the deal.II version 9.5.1. I hope this gives sufficient information, and we are able to identify the problem (probably either with PETSc or the linking of libraries). Thank you in advance! Best, Florian > Am 04.10.2023 um 06:39 schrieb Wolfgang Bangerth <bange...@colostate.edu>: > > On 10/3/23 19:44, Giselle Sosa Jones wrote: >> ** >> I do not have this file in my CMakeFiles directory. I was looking for it in >> the other directories, but could not find it... > > At least with my version of cmake (version 3.22), errors are written into > CMakeFiles/CMakeError.log in the directory where you called cmake. (In my > previous email, I had a file suffix of .txt, but it is really .log.) If you > have a different cmake version, perhaps the error is elsewhere -- you'll have > to search through files to see where compiler errors are recorded. > > I'm afraid there is little anyone can say about the specific reason why it > doesn't work for you without that information :-( > > Best > Wolfgang > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bange...@colostate.edu > www: http://www.math.colostate.edu/~bangerth/ > > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/b63f1dc3-fd50-456d-1ed1-60fbc318adbc%40colostate.edu. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/C7D05C96-9941-4BE7-A3B2-307042559677%40googlemail.com.