Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] Problem with CGAL not recognizing Intel TBB
- Date: Tue, 22 Aug 2017 09:46:38 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:d9icLxwlm5MIYqXXCy+O+j09IxM/srCxBDY+r6Qd0u0fIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2UXSJ/Sb3tWJaWkindFk9GuOgEYHbi4G71vu55obISwROnju0J71ofzusqgCEksALm4ZkNu4Lyx3Eq2YAL+Bf2HllI07VhRf6686t1JVs+iAWvOguoZ0TGZ7mdrg1GOQLRA8tNHo4sZCzuA==
- Organization: GeometryFactory
Could you try to replace cmake/modules/FindTBB.cmake by the version that can be downloaded from the VTK Git repository?
https://github.com/Kitware/VTK/blob/master/CMake/FindTBB.cmake
It is probably better maintained than our copy.
On 08/18/2017 04:16 PM, Michael Bieri wrote:
Hi,
This question is related to an earlier question about enabling parallel meshing.
A summary of CMake variables related to Intel TBB is given here: http://doc.cgal.org/latest/Manual/installation.html#title57
However, I try to follow the instructions as careful as possible, but CMake is not able to find TBB. I digged quite deep into the CMake scripts, and I could not recognize a directory structure similar to what CGAL's FindTBB.cmake seems to expect. For example, there's the following snippet in that script:
# GvdB: $ENV{TBB_ARCH_PLATFORM} is set by the build script tbbvars[.bat|.sh|.csh]
if (NOT $ENV{TBB_ARCH_PLATFORM} STREQUAL "")
set (_TBB_LIBRARY_DIR
${_TBB_INSTALL_DIR}/lib/$ENV{TBB_ARCH_PLATFORM}
${_TBB_INSTALL_DIR}/$ENV{TBB_ARCH_PLATFORM}/lib
)
endif (NOT $ENV{TBB_ARCH_PLATFORM} STREQUAL "")
However, in my installation I do not see a directory with name "lib" at all. Given TBBROOT is the root of the uncompressed source file. Then typing "make" will build into a directory "build", where I see for example a directory "linux_intel64_gcc_cc5.3.0_libc2.19_kernel3.12.61_debug/" inside which I find the libtbb*.so.
I wonder whether the directory structure changed in a new version of TBB or wheter I'm doing something severely wrong.
Best regards
Michael
- [cgal-discuss] Problem with CGAL not recognizing Intel TBB, Michael Bieri, 08/18/2017
- Re: [cgal-discuss] Problem with CGAL not recognizing Intel TBB, Laurent Rineau, 08/22/2017
- Re: [cgal-discuss] Problem with CGAL not recognizing Intel TBB, Michael Bieri, 08/22/2017
- Re: [cgal-discuss] Problem with CGAL not recognizing Intel TBB, Laurent Rineau, 08/22/2017
Archive powered by MHonArc 2.6.18.