Hello ,
I am installing dealii-9.5.0 on ARM. while running the make command i am getting the following error. I used the following cmake command:
cmake -DCMAKE_INSTALL_PREFIX=/abc/dealii-9.5.0/build1 -DDEAL_II_WITH_MPI=ON -DPETSC_DIR=/home/abc/petsc
Error:
dealii-9.5.0/bundled/tbb-2018_U2/src/tbb/tools_api/ittnotify_config.h:329:12: error: ‘__TBB_machine_fetchadd4’ was not declared in this scope
329 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~
dealii-9.5.0/bundled/tbb-2018_U2/src/tbb/tools_api/ittnotify_config.h:329:12: error: ‘__TBB_machine_fetchadd4’ was not declared in this scope
329 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~
collect2: error: ld returned 1 exit status
make[2]: *** [cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/build.make:97: bin/expand_instantiations] Error 1
make[1]: *** [CMakeFiles/Makefile2:1522: cmake/scripts/CMakeFiles/expand_instantiations_exe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1782: bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_debug.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1808: bundled/tbb-2018_U2/src/CMakeFiles/bundled_tbb_release.dir/all] Error 2
[ 15%] Built target bundled_muparser_debug
[ 15%] Built target bundled_boost_iostreams_debug
[ 15%] Built target bundled_boost_iostreams_release
[ 15%] Built target bundled_muparser_release
[ 15%] Built target bundled_boost_serialization_debug
[ 15%] Built target bundled_kokkos_debug
[ 15%] Built target bundled_boost_serialization_release
[ 15%] Built target bundled_kokkos_release
make: *** [Makefile:136: all] Error 2
Thank You.