Can you install tbb externally and link against that one?

I am not surprised that our bundled tbb doesn't compile - it has never
been tested on non x86/amd64.

Best,
Matthias



On Thu, Nov 30, 2023, at 23:23 CST, Jai <j82660...@gmail.com> wrote:

> 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.

-- 
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/87o7f9he7a.fsf%4043-1.org.

Reply via email to