[Dune-devel] CMake and std::thread

Christian Engwer christian.engwer at uni-muenster.de
Thu May 28 11:48:26 CEST 2015


Hi Markus,

this is a really nasty thing and on my machien it only hlped to remove
all generated cmake* and CMake* files/directories in the build-tree
(or simply remove the buildtree).

Christian

On Thu, May 28, 2015 at 11:44:33AM +0200, Markus Blatt wrote:
> Hi,
> 
> I would have loved to help with the parallel index set bug, but on
> my system the master does not even configure any more:
> 
> -- Performing Test STDTHREAD_WORKS
> CMake Error at CMakeLists.txt:10 (ADD_EXECUTABLE):
>   Target "cmTryCompileExec3261532357" links to item " -pthread" which
>   has
>   leading or trailing whitespace.  This is now an error according to
>   policy
>   CMP0004.
> 
> 
> CMake Error: Internal CMake error, TryCompile generation of cmake
> failed
> -- Performing Test STDTHREAD_WORKS - Failed
> CMake Error at
> /home/mblatt/src/dune/current/dune-common/cmake/modules/CheckCXX11Features.cmake:383 (message):
>   Your system does not seem to have a working implementation of
>   std::thread.
>   If it does, please set the linker flags required to get std::thread
>   working
>   in the cache variable STDTHREAD_LINK_FLAGS.  If you think this test
>   is
>   wrong, set the cache variable STDTHREAD_WORKS.
> Call Stack (most recent call first):
>   /home/mblatt/src/dune/current/dune-common/cmake/modules/DuneMacros.cmake:607
>   (include)
>   CMakeLists.txt:24 (dune_project)
> 
> 
> Stock debian wheezy system.
> 
> Markus
> -- 
> Do you need more support with DUNE or HPC in general? 
> 
> Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
> Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
> Tel.: +49 (0) 160 97590858



> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel


-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune-devel mailing list