Build error get_thread_reference_vertex

114 views
Skip to first unread message

Kaushik Das

unread,
Mar 25, 2025, 9:54:23 AM3/25/25
to deal.II User Group
Hello,
I keep getting this runtime error:

 symbol lookup error: /usr/local/dealii/lib/libdeal_II.so.9.6.2: undefined symbol: _ZN3tbb6detail2r127get_thread_reference_vertexEPNS0_2d126wait_tree_vertex_interfaceE

Thank you for any help.

My build configuration:

###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       DebugRelease
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   /usr/local/dealii
#        CMAKE_SOURCE_DIR:       /home/kdas/source/dealii_9_6_2/dealii
#                                (version 9.6.2, shortrev 6890ca74)
#        CMAKE_BINARY_DIR:       /home/kdas/source/dealii_9_6_2/dealii/build
#        CMAKE_CXX_COMPILER:     GNU 11.5.0 on platform Linux x86_64
#                                /opt/intel/oneapi/mpi/2021.14/bin/mpicxx
#        C++ language standard:  C++17
#        Vectorization level:    128 bit (sse2)
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
#        DEAL_II_WITH_64BIT_INDICES = ON
#      ( DEAL_II_WITH_ADOLC = OFF )
#        DEAL_II_WITH_ARBORX set up with external dependencies
#      ( DEAL_II_WITH_ARPACK = OFF )
#      ( DEAL_II_WITH_ASSIMP = OFF )
#        DEAL_II_WITH_BOOST set up with bundled packages
#      ( DEAL_II_WITH_CGAL = OFF )
#        DEAL_II_WITH_COMPLEX_VALUES = ON
#      ( DEAL_II_WITH_CUDA = OFF )
#      ( DEAL_II_WITH_GINKGO = OFF )
#      ( DEAL_II_WITH_GMSH = OFF )
#      ( DEAL_II_WITH_GSL = OFF )
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_KOKKOS set up with external dependencies
#      ( DEAL_II_WITH_LAPACK = OFF )
#      ( DEAL_II_WITH_METIS = OFF )
#        DEAL_II_WITH_MPI set up with external dependencies
#      ( DEAL_II_WITH_MUPARSER = OFF )
#      ( DEAL_II_WITH_OPENCASCADE = OFF )
#      ( DEAL_II_WITH_P4EST = OFF )
#      ( DEAL_II_WITH_PETSC = OFF )
#      ( DEAL_II_WITH_SCALAPACK = OFF )
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_SUNDIALS = OFF )
#      ( DEAL_II_WITH_SYMENGINE = OFF )
#      ( DEAL_II_WITH_TASKFLOW = OFF )
#        DEAL_II_WITH_TBB set up with external dependencies
#        DEAL_II_WITH_TRILINOS set up with external dependencies
#      ( DEAL_II_WITH_UMFPACK = OFF )
#      ( DEAL_II_WITH_VTK = OFF )
#        DEAL_II_WITH_ZLIB set up with external dependencies
#
#  Component configuration:
#      ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#        DEAL_II_COMPONENT_EXAMPLES
#      ( DEAL_II_COMPONENT_PACKAGE = OFF )
#      ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
#

Wolfgang Bangerth

unread,
Mar 25, 2025, 11:35:00 PM3/25/25
to dea...@googlegroups.com
On 3/25/25 07:54, Kaushik Das wrote:
> I keep getting this runtime error:
>
> * symbol lookup error: /usr/local/dealii/lib/libdeal_II.so.9.6.2:* *undefined
> symbol:
> _ZN3tbb6detail2r127get_thread_reference_vertexEPNS0_2d126wait_tree_vertex_interfaceE*
> *
> *
> Thank you for any help.

Kaushik,
we've over the years had so many people report problems with the TBB, and it's
a different one every time :-( I don't have a good solution for you other than
to configure with
-DDEAL_II_FORCE_BUNDLED_TBB=ON
? This should make sure you use the version of the TBB that is in bundled/,
rather than the one that exists on your system.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/


Kaushik Das

unread,
Mar 26, 2025, 9:12:33 PM3/26/25
to dea...@googlegroups.com
Thank you very much for the suggestion. Using the bundled TBB, I am getting some other build errors during compilation. This is probably because differences in compiler versions or C++ standard version differences. For the time being, I have turned off TBB to get going. But I have to come back and troubleshoot it later. Thank you. - Kaushik 

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/JVaErvl0-Ow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/e7e4ee58-d5d0-424c-b91c-2802d2c67bc1%40colostate.edu.

Wolfgang Bangerth

unread,
Apr 2, 2025, 3:38:25 PM4/2/25
to dea...@googlegroups.com

On 3/26/25 19:11, Kaushik Das wrote:
> Thank you very much for the suggestion. Using the bundled TBB, I am
> getting some other build errors during compilation. This is probably
> because differences in compiler versions or C++ standard version
> differences. For the time being, I have turned off TBB to get going. But
> I have to come back and troubleshoot it later.

Kaushik,
please do let us know what you find. The issue in many of the cases
we've encountered over the years is that there are two versions of the
TBB, one bundled and one as part of the system. In some cases, things
get confused, for example when cmake picks the bundled version but
someone has set an include path that leads the compiler to pick a system
TBB header to be included -- which is then of course incompatible with
the bundled TBB used elsewhere.

Best
W.
Reply all
Reply to author
Forward
0 new messages