Hello Luca,
Thank you for your kind reply. I have 2 Intel-based mac devices. MacOS version on these 2 devices: Ventura + Sonoma. Both are installed with deal.ii version 9.5.2 and the latest compatible Xcode version. Unluckily, deal.ii 9.5.2 failed to run on these 2 devices. Best, Lex On Sun, Feb 4, 2024 at 11:56 PM Luca Heltai <luca.hel...@gmail.com> wrote: > Dear Lex, > > I see you are using a spack installed version of the dmg package. > > What package version is this? What OS version do you have (i.e., is this > sonoma?). If you upgraded to sonoma, and are still using the old package, > this cannot work, since the compiler has changed with the upgrade. > > If you use the 9.5.2 package, deal.II comes pre-installed. Does that work > for you? > > L. > > > On 3 Feb 2024, at 21:35, Lex Lee <hitlex...@gmail.com> wrote: > > > > I got the following error messages > > > > > > -- Detecting CXX compiler ABI info - failed > > -- Check for working CXX compiler: /Applications/ > deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ > > -- Check for working CXX compiler: /Applications/ > deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ - broken > > CMake Error at > /usr/local/Cellar/cmake/3.28.2/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60 > (message): > > The C++ compiler > > > > "/Applications/ > deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++" > > > > is not able to compile a simple test program. > > > > It fails with the following output: > > > > Change Dir: '/Applications/ > deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK > ' > > > > Run Build Command(s): /usr/local/Cellar/cmake/3.28.2/bin/cmake -E > env VERBOSE=1 /usr/bin/make -f Makefile cmTC_e8efc/fast > > /Library/Developer/CommandLineTools/usr/bin/make -f > CMakeFiles/cmTC_e8efc.dir/build.make CMakeFiles/cmTC_e8efc.dir/build > > Building CXX object CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o > > /Applications/ > deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang++ -o > CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o -c /Applications/ > deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/CMakeFiles/CMakeScratch/TryCompile-Fkp1zK/testCXXCompiler.cxx > > [spack cc] ERROR: Spack compiler must be run from Spack! Input > 'SPACK_ENV_PATH' is missing. > > make[1]: *** [CMakeFiles/cmTC_e8efc.dir/testCXXCompiler.cxx.o] Error > 1 > > make: *** [cmTC_e8efc/fast] Error 2 > > > > > > > > > > > > CMake will not be able to correctly generate this project. > > Call Stack (most recent call first): > > CMakeLists.txt:58 (project) > > > > > > What happened? Thank you for your valuable time. > > > > -- > > 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/8b2f0f8e-7b7e-4a66-9853-6b2e8b909820n%40googlegroups.com > . > > -- > 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 a topic in the > Google Groups "deal.II User Group" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/dealii/3X-tLW7i10k/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/A95D4F7D-E073-4503-88B7-3DB9C0EB9659%40gmail.com > . > -- 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/CAG0BxGZ%2BMk_VjOfD83eoaSPhQyCYSDWmeJUeMMEkdvosAJHiUg%40mail.gmail.com.