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 13208952 for picongpu-users@cg.hzdr.de; Fri, 29 Apr 2016 15:11:01 +0200 Received: from localhost (localhost [127.0.0.1]) by mx2.fz-rossendorf.de (Postfix) with ESMTP id 8A89F4535F for ; Fri, 29 Apr 2016 15:11:01 +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 mc5fWzm1aM8s for ; Fri, 29 Apr 2016 15:10:58 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=117.240.114.82; helo=n-spamfilter4.rrcat.gov.in; envelope-from=ajitup@rrcat.gov.in; receiver=picongpu-users@hzdr.de Received: from n-spamfilter4.rrcat.gov.in (unknown [117.240.114.82]) by mx2.fz-rossendorf.de (Postfix) with ESMTP id 17CD0455E5 for ; Fri, 29 Apr 2016 15:10:56 +0200 (CEST) Received: (qmail 5707 invoked by uid 507); 29 Apr 2016 18:40:24 +0530 Received: from 10.11.105.209 by n-spamfilter4.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.209):. Processed in 0.01815 secs); 29 Apr 2016 13:10:24 -0000 Received: from unknown (HELO n-postfix2.rrcat.gov.in) (10.11.105.209) by n-spamfilter4.rrcat.gov.in with SMTP; 29 Apr 2016 18:40:24 +0530 Received: from AjitUpadhyayPC (unknown [10.126.2.185]) by n-postfix2.rrcat.gov.in (Postfix) with ESMTPA id 336862027D; Fri, 29 Apr 2016 18:40:24 +0530 (IST) From: "Dr. Ajit Upadhyay" To: Cc: =?iso-8859-1?Q?'Ren=E9_Widera'?= References: <000001d1a058$7e07ed70$7a17c850$@rrcat.gov.in> <57207BD8.6080901@hzdr.de> <5723521E.6090702@hzdr.de> In-Reply-To: <5723521E.6090702@hzdr.de> Subject: RE: Help on PIConGPU? Date: Fri, 29 Apr 2016 18:40:08 +0530 Message-ID: <00c001d1a218$74162c20$5c428460$@rrcat.gov.in> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHIU7mavy3NdwMS3s/saGcNJYDvHAKCzcrKAjUtkroB5AsY+Z9+oSKg Content-Language: en-us X-Antivirus: avast! (VPS 160426-3, 26-04-2016), Outbound message X-Antivirus-Status: Clean Dear Ren=E9, Thanks for your suggestion. I will try it with cmake3.3 Meanwhile, I went to individual directories of ~/src/picongpu and compiled individual modules cuda_memtest, mpiInfo etc. in that directory itself. After that I commented the lines having add_subdirectory() function in cuda_memtest and mpiInfo module in the file ~/src/picongpu/src/piconpu/CMakeLists.text (line number 293 and 307) Now, when I used rm -fR ~/build && mkdir ~/build && cd ~/build $PICSRC/configure ~/paramSets/case001 make -j install It compiled and installed successfully. I am yet to test an example. This is an issue with cmake new version as mentioned in the link I have given in my previous email. Regards, Ajit -----Original Message----- From: Ren=E9 Widera [mailto:r.widera@hzdr.de] Sent: Friday, April 29, 2016 5:53 PM To: ajitup@rrcat.gov.in Subject: Re: Help on PIConGPU? Dear Ajit, thank you for providing use with the link. We need to test cmake 3.5 with PIConGPU. Could you please install cmake 3.3 till we fix the issue. best, Ren=E9 On 29.04.2016 13:41, Dr. Ajit Upadhyay wrote: > Dear Rene, > > Here is a link that answers why the build directory error comes in > versions of cmake. > > http://stackoverflow.com/questions/24739401/cmake-project-shared-depen > dencies > > The error in my case is: > > CMake Error at CMakeLists.txt:42 (add_subdirectory): > The binary directory > /home/ajitup/build/build_picongpu > is already used to build a source directory. It cannot be used to build > source directory > /home/ajitup/code.PIConGPU/picongpu-master/src/picongpu > Specify a unique binary directory name. > > The CMakeLists.txt in /src/picongpu has the following line at no. 42 > > add_subdirectory("${CMAKE_SOURCE_DIR}/src/picongpu" > "${CMAKE_BINARY_DIR}/build_picongpu") > > > and it seems that the build directory is being called 3 times during > the whole project. It successfully builds the first time and when it > is accessed second or third time, it gives error. > > I feel that -lpthread error could be linked to this error, as new > build directory does not get created. I tried changing gcc and glibc > versions but the error repeats. > > What is your suggestion? > > regards, > ajit > > > -- Ren=E9 Widera Abteilung Laser-Teilchenbeschleunigung (FWKT) Helmholtz-Zentrum Dresden-Rossendorf Tel: +49 (0351) 260 3543 r.widera@hzdr.de http://www.hzdr.de Vorstand: Prof. Dr. Dr. h. c. Roland Sauerbrey, Prof. Dr. Dr. h. c. Peter Joehnk Vereinsregister: VR 1693 beim Amtsgericht Dresden --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus