Return-Path: Received: from mx2.fz-rossendorf.de ([149.220.142.12] verified) by hzdr.de (CommuniGate Pro SMTP 6.1.9) with ESMTP id 13200831 for picongpu-users@cg.hzdr.de; Thu, 28 Apr 2016 13:09:35 +0200 Received: from localhost (localhost [127.0.0.1]) by mx2.fz-rossendorf.de (Postfix) with ESMTP id EE483455DA for ; Thu, 28 Apr 2016 13:09:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx2.fz-rossendorf.de Received: from mx2.fz-rossendorf.de ([127.0.0.1]) by localhost (mx2.fz-rossendorf.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCXsIDuxcifO for ; Thu, 28 Apr 2016 13:09:29 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=117.240.185.84; helo=n-spamfilter3.rrcat.gov.in; envelope-from=ajitup@rrcat.gov.in; receiver=picongpu-users@hzdr.de Received: from n-spamfilter3.rrcat.gov.in (unknown [117.240.185.84]) by mx2.fz-rossendorf.de (Postfix) with ESMTP id 92C38455DD for ; Thu, 28 Apr 2016 13:09:27 +0200 (CEST) Received: (qmail 16995 invoked by uid 507); 28 Apr 2016 16:38:55 +0530 Received: from 10.11.105.109 by n-spamfilter3.rrcat.gov.in (envelope-from , uid 501) with qmail-scanner-2.08 (clamdscan: 0.98.4/19638. spamassassin: 3.3.1. Clear:RC:1(10.11.105.109):. Processed in 0.007535 secs); 28 Apr 2016 11:08:55 -0000 Received: from unknown (HELO n-postfix1.rrcat.gov.in) (10.11.105.109) by n-spamfilter3.rrcat.gov.in with SMTP; 28 Apr 2016 16:38:55 +0530 Received: from mail.cat.ernet.in (n-webmail1 [10.11.105.102]) by n-postfix1.rrcat.gov.in (Postfix) with ESMTPA id 129691FC53 for ; Thu, 28 Apr 2016 16:38:55 +0530 (IST) Received: from 10.126.2.194 (SquirrelMail authenticated user ajitup) by n-webmail1.rrcat.gov.in with HTTP; Thu, 28 Apr 2016 16:38:44 +0530 Message-ID: <5fdb7c0de3e2d240a3161c5b6487a7ab.squirrel@n-webmail1.rrcat.gov.in> Date: Thu, 28 Apr 2016 16:38:44 +0530 Subject: [PIConGPU-Users] PIConGPU compilation -lpthread error From: "Dr. Ajit Upadhyay" To: picongpu-users@hzdr.de Reply-To: ajitup@rrcat.gov.in User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable Dear Rene, I wrongly reported in my previous email. The -lpthread error persists. Even with the following editing in ~/src/picongpu/CMakeLists.txt, it is still there: cmake_minimum_required(VERSION 2.8.5) project(PIConGPU2_full_build) if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) find_package(Threads REQUIRED) set(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT}) set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE PATH "install prefix" FORCE) target_link_libraries(PROJECTNAME ${LIBS}) endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) add_subdirectory("${CMAKE_SOURCE_DIR}/src/picongpu" "${CMAKE_BINARY_DIR}/build_picongpu") regards, Ajit