Subject: CGAL users discussion list
List archive
- From: Michael Bieri <>
- To:
- Subject: [cgal-discuss] Problem with CGAL not recognizing Intel TBB
- Date: Fri, 18 Aug 2017 16:16:00 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:3CBvAx1wtQ4D8MQhsmDT+DRfVm0co7zxezQtwd8ZsesTIvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdoTu2Ybp/KF2crAjLt4FChIpoK6sryzPGp3JJf6JdwmY+dgHbpAr1+srlpM0ryC9Xof90r8M=
Hi,
# 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 "")
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:
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.