Installation on Arm

63 views
Skip to first unread message

Jai

unread,
Dec 1, 2023, 12:23:37 AM12/1/23
to deal.II User Group
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.

Timo Heister

unread,
Dec 1, 2023, 12:02:59 PM12/1/23
to dea...@googlegroups.com
What compilers are you using? Are you aware of the guide at https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX ?

--
Timo Heister
https://www.math.clemson.edu/~heister/

________________________________________
From: dea...@googlegroups.com <dea...@googlegroups.com> on behalf of Jai <j826...@gmail.com>
Sent: Friday, December 1, 2023 12:23 AM
To: deal.II User Group
Subject: [deal.II] Installation on Arm

This Message Is From An External Sender: Use caution when opening links or attachments if you do not recognize the sender.
--
The deal.II project is located at http://www.dealii.org/<http://www.dealii.org/>
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en<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+un...@googlegroups.com<mailto:dealii+un...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/9cc6c9c8-693a-4490-bab1-d175f15c338en%40googlegroups.com<https://groups.google.com/d/msgid/dealii/9cc6c9c8-693a-4490-bab1-d175f15c338en%40googlegroups.com?utm_medium=email&utm_source=footer>.

Matthias Maier

unread,
Dec 1, 2023, 3:15:29 PM12/1/23
to dea...@googlegroups.com
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

Timo Heister

unread,
Dec 1, 2023, 3:27:34 PM12/1/23
to dea...@googlegroups.com
Bundled TBB compiles just fine in CI on my M1: https://ci.tjhei.info/job/dealii-osx/job/master/lastSuccessfulBuild/


From: dea...@googlegroups.com <dea...@googlegroups.com> on behalf of Matthias Maier <tam...@43-1.org>
Sent: Friday, December 1, 2023 3:15:21 PM
To: dea...@googlegroups.com <dea...@googlegroups.com>
Subject: Re: [deal.II] Installation on Arm
 
This Message Is From An External Sender: Use caution when opening links or attachments if you do not recognize the sender.

--
The deal.II project is located at https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dealii.org%2F&data=05%7C01%7Cheister%40clemson.edu%7C6bb066825da34948840b08dbf2aa4388%7C0c9bf8f6ccad4b87818d49026938aa97%7C0%7C0%7C638370585343425163%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=W2HHwZZXQyOKorR8%2BOs08FSH30W5V7cAkODPNr3bSBE%3D&reserved=0
For mailing list/forum options, see https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fforum%2Fdealii%3Fhl%3Den&data=05%7C01%7Cheister%40clemson.edu%7C6bb066825da34948840b08dbf2aa4388%7C0c9bf8f6ccad4b87818d49026938aa97%7C0%7C0%7C638370585343425163%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BiHlr9ZOXKcfZ22%2BqFfhtjPJk6zGLCe7Er9SXZmpAIQ%3D&reserved=0

---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
Reply all
Reply to author
Forward
0 new messages