GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Error in PandaRoot_18p1 installation
Error in PandaRoot_18p1 installation [message #23667] Mon, 25 February 2019 14:38 Go to previous message
Peiyong Jiang is currently offline  Peiyong Jiang
Messages: 7
Registered: February 2019
occasional visitor
From: 140.181.14*
Dear colleagues,

I have problems with PandaRoot installation on my own pc.

------------------------------------------------------------
system: linux mint 18.3
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)
Linux 4.14.10-041410-generic #201712291810 SMP Fri Dec 29 18:11:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
-----------------------------------------------------------

Fairroot:Fairsoft_may18
Pandaroot:pandaroot_18p1

----------------------------------------------------------
Using "make -j4" I got the problem:

-- Installing: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/CheckCCompilerFlag.c make
-- Installing: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/CheckCXXCompilerFlag .cmake
-- Up-to-date: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/VcConfig.cmake
-- Up-to-date: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/VcConfigVersion.cmak e
-- Installing: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/OptimizeForArchitect ure.cmake
-- Installing: /home/pjiang/pandaroot_18p1/buildPanda/lib/cmake/Vc/FindVc.cmake
[ 36%] Completed 'vc'
[ 36%] Built target vc
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

------------------------------------------------------------------------ --
I check on forum and there is one similar problem as mine. I followed the advice to use "make" instead of "make -j4", and I got the new problem:

[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/TrkData/ PndTrkSkewHitList.cxx.o
[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/TrkData/ PndTrkNeighboringMap.cxx.o
[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/TrkSecon dary/PndTrkTrackFinder.cxx.o
[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/TrkSecon dary/PndTrkAddTCA.cxx.o
[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/TrkSecon dary/PndTrkGemCombiTask.cxx.o
[ 83%] Building CXX object tracking/SecondariesTracking/CMakeFiles/SecondariesTracking.dir/G__Secon dariesTrackingDict.cxx.o
[ 83%] Linking CXX shared library ../../lib/libSecondariesTracking.so
[ 83%] Built target SecondariesTracking
[ 83%] Building NVCC (Device) object tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.di r/PndSttCellTrackFinderCuda_generated_trackletGenerator.cu.o
/usr/include/string.h: In function 'void* __mempcpy_inline(void*, const void*, size_t)':
/usr/include/string.h:652:42: error: 'memcpy' was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
^
CMake Error at PndSttCellTrackFinderCuda_generated_trackletGenerator.cu.o.Debug.cmake:2 75 (message):
Error generating file
/home/pjiang/pandaroot_18p1/buildPanda/tracking/SttCellTrackFinder/cuda/ CMakeFiles/PndSttCellTrackFinderCuda.dir//./PndSttCellTrackFinderCuda_ge nerated_trackletGenerator.cu.o


tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.di r/build.make:280: recipe for target 'tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.d ir/PndSttCellTrackFinderCuda_generated_trackletGenerator.cu.o' failed
make[2]: *** [tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.d ir/PndSttCellTrackFinderCuda_generated_trackletGenerator.cu.o] Error 1
CMakeFiles/Makefile2:4014: recipe for target 'tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.d ir/all' failed
make[1]: *** [tracking/SttCellTrackFinder/cuda/CMakeFiles/PndSttCellTrackFinderCuda.d ir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

------------------------------------------------------------------

What would be the reason? and how to solve it?

Thank you in advance,
Peiyong


 
Read Message
Read Message
Previous Topic: cann't start
Next Topic: error starting Pandaroot and running macros
Goto Forum:
  


Current Time: Sun Oct 06 12:04:19 CEST 2024

Total time taken to generate the page: 0.01123 seconds