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$
T=0
Number of active cells: 1702
Number of degrees of freedom: 7288
NonLin Res Lin Iter Lin Res
_____________________________________
5.144e-02 0008 5.74e-13
4.356e-04 0008 1.18e-14
2.155e-07 0008 7.05e-18
2.494e-13 (converged)
--------------------------------------------------------
An error occurred in line <162> of file </var/folders/s8/kkqmszv90s784nmqjb9xrxfw0000gp/T/rotundo/spack-stage/spack-stage-dealii-9.5.0-rjk5izx5wule74hcqwdxcko5v5fzanpw/spack-src/source/dofs/dof_accessor_set.cc> in function
void dealii::internal::set_dof_values(const DoFCellAccessor<dim, spacedim, lda> &, const Vector<number> &, OutputVector &, const bool) [dim = 2, spacedim = 2, lda = false, OutputVector = dealii::Vector<double>, number = double]
The violated condition was:
local_values_old[i] == number() || get_abs(local_values_old[i] - local_values[i]) <= get_abs(local_values_old[i] + local_values[i]) * 100000. * std::numeric_limits<typename numbers::NumberTraits< number>::real_type>::epsilon()
Additional information:
Called set_dof_values_by_interpolation(), but the element to be set,
value 0.003281728677182941, does not match with the non-zero value
0.001134142479970561 already set before.
Stacktrace:
-----------
#0 2 libdeal_II.g.9.5.0.dylib 0x000000011f294464 _ZN6dealii8internal14set_dof_valuesILi2ELi2ELb0ENS_6VectorIdEEdEEvRKNS_15DoFCellAccessorIXT_EXT0_EXT1_EEERKNS2_IT3_EERT2_b + 436: 2 libdeal_II.g.9.5.0.dylib 0x000000011f294464 _ZN6dealii8internal14set_dof_valuesILi2ELi2ELb0ENS_6VectorIdEEdEEvRKNS_15DoFCellAccessorIXT_EXT0_EXT1_EEERKNS2_IT3_EERT2_b
#1 3 libdeal_II.g.9.5.0.dylib 0x000000011f294238 _ZNSt3__110__function6__funcIZNK6dealii15DoFCellAccessorILi2ELi2ELb0EE31set_dof_values_by_interpolationINS2_6VectorIdEEdEEvRKNS6_IT0_EERT_tbEUlRKS4_RKS7_RS7_E_NS_9allocatorISJ_EEFvSF_SH_SI_EEclESF_SH_SI_ + 32: 3 libdeal_II.g.9.5.0.dylib 0x000000011f294238 _ZNSt3__110__function6__funcIZNK6dealii15DoFCellAccessorILi2ELi2ELb0EE31set_dof_values_by_interpolationINS2_6VectorIdEEdEEvRKNS6_IT0_EERT_tbEUlRKS4_RKS7_RS7_E_NS_9allocatorISJ_EEFvSF_SH_SI_EEclESF_SH_SI_
#2 4 libdeal_II.g.9.5.0.dylib 0x000000011f19a040 _ZN6dealii8internal24process_by_interpolationILi2ELi2ELb0ENS_6VectorIdEEdEEvRKNS_15DoFCellAccessorIXT_EXT0_EXT1_EEERKNS2_IT3_EERT2_tRKNSt3__18functionIFvS7_SB_SD_EEE + 612: 4 libdeal_II.g.9.5.0.dylib 0x000000011f19a040 _ZN6dealii8internal24process_by_interpolationILi2ELi2ELb0ENS_6VectorIdEEdEEvRKNS_15DoFCellAccessorIXT_EXT0_EXT1_EEERKNS2_IT3_EERT2_tRKNSt3__18functionIFvS7_SB_SD_EEE
#3 5 libdeal_II.g.9.5.0.dylib 0x000000011f199d54 _ZNK6dealii15DoFCellAccessorILi2ELi2ELb0EE31set_dof_values_by_interpolationINS_6VectorIdEEdEEvRKNS3_IT0_EERT_tb + 68: 5 libdeal_II.g.9.5.0.dylib 0x000000011f199d54 _ZNK6dealii15DoFCellAccessorILi2ELi2ELb0EE31set_dof_values_by_interpolationINS_6VectorIdEEdEEvRKNS3_IT0_EERT_tb
#4 6 libdeal_II.g.9.5.0.dylib 0x000000011bb1ddf8 _ZNK6dealii16SolutionTransferILi2ENS_6VectorIdEELi2EE11interpolateERKNSt3__16vectorIS2_NS4_9allocatorIS2_EEEERS8_ + 916: 6 libdeal_II.g.9.5.0.dylib 0x000000011bb1ddf8 _ZNK6dealii16SolutionTransferILi2ENS_6VectorIdEELi2EE11interpolateERKNSt3__16vectorIS2_NS4_9allocatorIS2_EEEERS8_
#5 7 step-33 0x00000001044bdce4 _ZN6Step3315ConservationLawILi2EE11refine_gridERKN6dealii6VectorIdEE + 904: 7 step-33 0x00000001044bdce4 _ZN6Step3315ConservationLawILi2EE11refine_gridERKN6dealii6VectorIdEE
#6 8 step-33 0x00000001044b4390 _ZN6Step3315ConservationLawILi2EE3runEv + 2072: 8 step-33 0x00000001044b4390 _ZN6Step3315ConservationLawILi2EE3runEv
#7 9 step-33 0x00000001044b38cc main + 116: 9 step-33 0x00000001044b38cc main
#8 10 dyld 0x0000000190763f28 start + 2236: 10 dyld 0x0000000190763f28 start
--------------------------------------------------------
Abort trap: 6
bash-3.2$