Do you have an M1 or M2 CPU?

If yes, would you mind trying out the shiny new  venture arm64 dmg?

  https://github.com/dealii/dealii/releases

Best,
Matthias



On Sun, Jul  9, 2023, at 18:41 CDT, "[email protected]" <[email protected]> 
wrote:

> Hello, 
>
> I've installed deal.ii on my macbook pro running macOS 13.4.1. I installed 
> deal.ii using the version 9.4.0 dmg file. 
>
> I have been able to run cmake and make on step-33 but when I run make run I 
> get the following error:
>
> make[3]: *** [CMakeFiles/run] Illegal instruction: 4
>
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
>
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
>
> Does anyone know what is going wrong?
>
> ~~~~~~~~~~~~~~~~
>
> Here is the full output:
>
> bash-3.2$ cmake ..
>
> -- Using the deal.II-9.4.0 installation found at 
> /Applications/deal.II.app/Contents/Resources/Libraries
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_add_test.cmake
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_initialize_cached_variables.cmake
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_invoke_autopilot.cmake
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_pickup_tests.cmake
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_query_git_information.cmake
>
> -- Include macro 
> /Applications/deal.II.app/Contents/Resources/Libraries/share/deal.II/macros/macro_deal_ii_setup_target.cmake
>
> -- The C compiler identification is AppleClang 14.0.3.14030022
>
> -- The CXX compiler identification is Clang 13.0.1
>
> -- Detecting C compiler ABI info
>
> -- Detecting C compiler ABI info - done
>
> -- Check for working C compiler: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
>  
> - skipped
>
> -- Detecting C compile features
>
> -- Detecting C compile features - done
>
> -- Detecting CXX compiler ABI info
>
> -- Detecting CXX compiler ABI info - done
>
> -- Check for working CXX compiler: 
> /Applications/deal.II.app/Contents/Resources/spack/opt/spack/mpich-3.4.2-7776/bin/mpic++
>  
> - skipped
>
> -- Detecting CXX compile features
>
> -- Detecting CXX compile features - done
>
> -- Autopilot invoked
>
> ###
>
> #
>
> #  Project  step-33  set up with  deal.II-9.4.0  found at
>
> #      /Applications/deal.II.app/Contents/Resources/Libraries
>
> #
>
> #  CMAKE_BUILD_TYPE:          Debug
>
> #
>
> #  You can now run
>
> #       $ make                - to compile and link the program
>
> #       $ make run            - to (compile, link and) run the program
>
> #
>
> #       $ make sign           - to sign the executable with the supplied 
> OSX developer key
>
> #
>
> #       $ make debug          - to switch the build type to 'Debug'
>
> #       $ make release        - to switch the build type to 'Release'
>
> #
>
> #       $ make edit_cache     - to change (cached) configuration variables
>
> #                               and rerun the configure and generate phases 
> of CMake
>
> #
>
> #       $ make strip_comments - to strip the source files in this
>
> #                               directory off their comments; this is 
> irreversible
>
> #       $ make clean          - to remove the generated executable as well 
> as
>
> #                               all intermediate compilation files
>
> #       $ make runclean       - to remove all output generated by the 
> program
>
> #       $ make distclean      - to clean the directory from _all_ generated
>
> #                               files (includes clean, runclean and the 
> removal
>
> #                               of the generated build system)
>
> #       $ make info           - to view this message again
>
> #
>
> #  Have a nice day!
>
> #
>
> ###
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: 
> /Users/andrewdavis/Documents/boltzmann/code/build
>
> bash-3.2$ make -j5
>
> [ 50%] Building CXX object CMakeFiles/step-33.dir/step-33.cc.o
>
> [100%] *Linking CXX executable step-33*
>
> [100%] Built target step-33
>
> bash-3.2$ make run
>
> *Consolidate compiler generated dependencies of target step-33*
>
> [ 66%] Built target step-33
>
> [100%] *Run step-33 with Debug configuration*
>
> make[3]: *** [CMakeFiles/run] Illegal instruction: 4
>
> make[2]: *** [CMakeFiles/run.dir/all] Error 2
>
> make[1]: *** [CMakeFiles/run.dir/rule] Error 2
>
> make: *** [run] Error 2
>
> bash-3.2$ 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/87cz10640q.fsf%4043-1.org.

Reply via email to