Hi, I am getting a similar error as above for OS: Ubuntu24.04 LTS. How can i resolve this?
``` omnipresent@omnipresent:~/Documents/github_repos/dealii/examples/step-2/build$ cmake .. -- Using the deal.II-9.6.0 installation found at /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_add_test.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_query_git_information.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_deal_ii_setup_target.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_shell_escape_option_groups.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_target_compile_flags.cmake -- Include macro /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/share/deal.II/macros/macro_target_link_flags.cmake -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++ -- Check for working CXX compiler: /home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++ - broken CMake Error at /home/omnipresent/Documents/github_repos/spack/opt/spack/linux-ubuntu24.04-icelake/gcc-13.2.0/cmake-3.30.5-74qenkgyifomlcmwslmffwjq3vbfs5km/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake:73 (message): The C++ compiler "/home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++" is not able to compile a simple test program. It fails with the following output: Change Dir: '/home/omnipresent/Documents/github_repos/dealii/examples/step-2/build/CMakeFiles/CMakeScratch/TryCompile-aLSS2O' Run Build Command(s): /home/omnipresent/Documents/github_repos/spack/opt/spack/linux-ubuntu24.04-icelake/gcc-13.2.0/cmake-3.30.5-74qenkgyifomlcmwslmffwjq3vbfs5km/bin/cmake -E env VERBOSE=1 /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/bin/gmake -f Makefile cmTC_14ee5/fast /home/omnipresent/Documents/github_repos/spack/var/spack/environments/dealii_9_6/.spack-env/view/bin/gmake -f CMakeFiles/cmTC_14ee5.dir/build.make CMakeFiles/cmTC_14ee5.dir/build gmake[1]: Entering directory '/home/omnipresent/Documents/github_repos/dealii/examples/step-2/build/CMakeFiles/CMakeScratch/TryCompile-aLSS2O' Building CXX object CMakeFiles/cmTC_14ee5.dir/testCXXCompiler.cxx.o /home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++ -o CMakeFiles/cmTC_14ee5.dir/testCXXCompiler.cxx.o -c /home/omnipresent/Documents/github_repos/dealii/examples/step-2/build/CMakeFiles/CMakeScratch/TryCompile-aLSS2O/testCXXCompiler.cxx [spack cc] ERROR: Spack compiler must be run from Spack! Input 'SPACK_ENV_PATH' is missing. gmake[1]: *** [CMakeFiles/cmTC_14ee5.dir/build.make:78: CMakeFiles/cmTC_14ee5.dir/testCXXCompiler.cxx.o] Error 1 gmake[1]: Leaving directory '/home/omnipresent/Documents/github_repos/dealii/examples/step-2/build/CMakeFiles/CMakeScratch/TryCompile-aLSS2O' gmake: *** [Makefile:127: cmTC_14ee5/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:38 (project) -- Configuring incomplete, errors occurred! ``` Thanks Vinayak On Friday, December 15, 2023 at 2:25:10 PM UTC+5:30 esterc...@gmail.com wrote: > Hi Luca, > > Have you had the chance to get the deal.ii-9.5.1 package working for macOS > Sonoma & clang 15 on an Intel processor? I'm stuck installing deal.II using > spack (see this other thread: > https://groups.google.com/g/dealii/c/vT8LAmNtUQE), and using this > pre-compiled package instead would be great. > > Thanks, > Ester > > > El dia dimecres, 25 d’octubre del 2023 a les 8:31:55 UTC+2, > luca....@gmail.com va escriure: > >> I have just updates my old Intel mac. I hope to get the package working >> in the next days. >> >> Luca >> >> Il giorno 25 ott 2023, alle ore 01:13, Lex Lee <hitl...@gmail.com> ha >> scritto: >> >> I hope deal.ii group could release version 9.5.1 that works with intel >> processor on MacOS platform. >> >> >> >> On Monday, October 9, 2023 at 5:19:03 PM UTC-7 deal.II User Group wrote: >> >>> Hello, everyone >>> >>> I tried the new image in my laptop with M2 processor and the Ventura Mac >>> OS (13.6). It worked (I successfully ran and compiled the step-1 example). >>> Looks like the issue was with clang 15? >>> >>> However, I am not sure Alexander will be able to test the new image >>> because his processor is Intel. >>> >>> I will test deal.II with the PRISMS-PF applications and report if I see >>> any issues. >>> >>> Thank you for your help, Luca! >>> >>> David >>> >>> On Monday, October 9, 2023 at 5:04:25 AM UTC-4 luca....@gmail.com wrote: >>> >>>> Alexander, >>>> >>>> can you try out our new dmg image? >>>> >>>> >>>> https://github.com/dealii/dealii/releases/download/v9.5.1/dealii-9.5.1-sonoma-arm64-clang15.dmg >>>> >>>> >>>> I’m preparing also a new one, where the compiler is shipped together >>>> with the image. This should be robust to the next upgrades in the OS. >>>> >>>> Best, >>>> Luca. >>>> >>>> > On 6 Oct 2023, at 06:06, Alexander Mensah <xm...@umich.edu> wrote: >>>> > >>>> > If I use the 'step-1' example, I get the same error (mpic++) as with >>>> the program I want to run. >>>> > >>>> > <image.png> >>>> > >>>> > On Thursday, October 5, 2023 at 11:42:27 PM UTC-4 Alexander Mensah >>>> wrote: >>>> > No luck >>>> > >>>> > >>>> > >>>> > On Thursday, October 5, 2023 at 6:47:07 PM UTC-4 Wolfgang Bangerth >>>> wrote: >>>> > >>>> > On 10/5/23 15:14, Alexander Mensah wrote: >>>> > > >>>> > > Could someone help me fix this? >>>> > >>>> > I believe that you're trying to call cmake (to configure one of the >>>> > example programs) in the directory >>>> > /Applications/deal.II.app/Contents/Resources/Libraries/examples/... >>>> but >>>> > this is a system directory that you can read files in, but not write >>>> to. >>>> > You might have to copy the tutorial program directory you're trying >>>> to >>>> > configure into your home directory. >>>> > >>>> > Best >>>> > W. >>>> > >>>> > >>>> > -- >>>> > 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+un...@googlegroups.com. >>>> > To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/dealii/3f5e1911-92a1-4c0c-b5e5-42d0b8dc4f7en%40googlegroups.com. >>>> >>>> >>>> > <image.png> >>>> >>>> -- >> 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+un...@googlegroups.com. >> >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/dealii/845ec702-0f23-4fc1-a711-d10d22ffe255n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dealii/845ec702-0f23-4fc1-a711-d10d22ffe255n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- 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 visit https://groups.google.com/d/msgid/dealii/1a2c1c67-bd39-46a6-a510-e8947c126399n%40googlegroups.com.