deal.ii-9.5.0
Processor: 3.6 GHz 8-Core Intel Core i9
macOS: Sonoma 14.0
xcode-select version 2399.

There seems to be an issue with compiler compatability. I recieve the 
following error when attempting to compile one of my projects (%cmake .):
-- The C compiler identification is AppleClang 15.0.0.15000040
-- The CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: 
/Applications/deal.II.app/Contents/Resources/spack/opt/mpich-4.1.1-hbtt/bin/mpic++
-- Check for working CXX compiler: 
/Applications/deal.II.app/Contents/Resources/spack/opt/mpich-4.1.1-hbtt/bin/mpic++
 
- broken
CMake Error at 
/Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.26.3-aw3s/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:60
 
(message):
  The C++ compiler

    
"/Applications/deal.II.app/Contents/Resources/spack/opt/mpich-4.1.1-hbtt/bin/mpic++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 
/Users/xmen/Desktop/PRISMS/phaseField/applications/fickianDiffusion/CMakeFiles/CMakeScratch/TryCompile-3w9jnP
    
    Run Build 
Command(s):/Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.26.3-aw3s/bin/cmake
 
-E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_b17ed/fast && 
/Library/Developer/CommandLineTools/usr/bin/make  -f 
CMakeFiles/cmTC_b17ed.dir/build.make CMakeFiles/cmTC_b17ed.dir/build
    Building CXX object CMakeFiles/cmTC_b17ed.dir/testCXXCompiler.cxx.o
    
/Applications/deal.II.app/Contents/Resources/spack/opt/mpich-4.1.1-hbtt/bin/mpic++
 
   -o CMakeFiles/cmTC_b17ed.dir/testCXXCompiler.cxx.o -c 
/Users/xmen/Desktop/PRISMS/phaseField/applications/fickianDiffusion/CMakeFiles/CMakeScratch/TryCompile-3w9jnP/testCXXCompiler.cxx
    error: unable to open output file 
'CMakeFiles/cmTC_b17ed.dir/testCXXCompiler.cxx.o': 'No such file or 
directory'
    1 error generated.
    make[1]: *** [CMakeFiles/cmTC_b17ed.dir/testCXXCompiler.cxx.o] Error 1
    make: *** [cmTC_b17ed/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:39 (PROJECT)
-- Configuring incomplete, errors occurred!

A similar error appears attempting the same in one of the example 
directories:

-- The C compiler identification is unknown

-- The CXX compiler identification is unknown

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - failed

-- Check for working C compiler: 
/Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang

-- Check for working C compiler: 
/Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang 
- broken

CMake Error at 
/Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.26.3-aw3s/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:67
 
(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/examples/arkode/CXX_serial/CMakeFiles/CMakeScratch/TryCompile-oKoi60

    

    Run Build 
Command(s):/Applications/deal.II.app/Contents/Resources/spack/opt/cmake-3.26.3-aw3s/bin/cmake
 
-E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_ce711/fast && 
/Library/Developer/CommandLineTools/usr/bin/make  -f 
CMakeFiles/cmTC_ce711.dir/build.make CMakeFiles/cmTC_ce711.dir/build

    Building C object CMakeFiles/cmTC_ce711.dir/testCCompiler.c.o

    
/Applications/deal.II.app/Contents/Resources/spack/lib/spack/env/clang/clang  
  -o CMakeFiles/cmTC_ce711.dir/testCCompiler.c.o -c 
/Applications/deal.II.app/Contents/Resources/Libraries/examples/arkode/CXX_serial/CMakeFiles/CMakeScratch/TryCompile-oKoi60/testCCompiler.c

    [spack cc] ERROR: Spack compiler must be run from Spack! Input 
'SPACK_ENV_PATH' is missing.

    make[1]: *** [CMakeFiles/cmTC_ce711.dir/testCCompiler.c.o] Error 1

    make: *** [cmTC_ce711/fast] Error 2

  CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

  CMakeLists.txt:46 (project)


Could someone help me fix this?    

-- 
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/c364bdf0-9c05-4143-b855-abccdea47e90n%40googlegroups.com.

Reply via email to