GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » TPC error during compilation
TPC error during compilation [message #7228] Tue, 26 August 2008 14:38 Go to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Colleagues,
I try to install pandaroot in my derectory at GSI computer.
I take the stable version from:
svn co https://subversion.gsi.de/fairroot/pandaroot
and proceed exactly as it is described on the web:
http://panda-wiki.gsi.de/cgi-bin/view/Computing/PandaRootInstallCmake
Everything works good untill tpc code compilation.
Could you please tell me what could be wrong with the installation?

[ 20%] Built target DpmEvtGen
[ 21%] Built target DpmEvtGen_exe
[ 25%] Built target Stt
[ 36%] Built target tpc
[ 36%] Building CXX object
tpc/tpcreco/CMakeFiles/tpcreco.dir/PndTpcConfMapRecoHit.o
In file included from
/u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/tpc/tpcreco/PndTpcConfMa pRec
oHit.cxx:28:
/u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/tpc/tpcreco/PndTpcConfMa pFit
.h:57:
error: conflicting
return type specified for `virtual void
PndTpcConfMapFit::extrapolate(const
DetPlane&, TMatrixT<double>&)'
/u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/genfit/AbsTrackRep.h:72:
error:
overriding `virtual double AbsTrackRep::extrapolate(const DetPlane&,
....
Re: TPC error during compilation [message #7229 is a reply to message #7228] Tue, 26 August 2008 14:41 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Try to remove the directory build/tpc, and then again follow the procedure doing cmake and make install.

I suppose you are using the pandaroot/trunk version, aren't you?
Re: TPC error during compilation [message #7230 is a reply to message #7229] Tue, 26 August 2008 14:48 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Thank you Stefano! I'll tryed stable and trunc versions with the same result. Now I deleted tpc and repeat the procedure again. The result is:
.....
-- Looking for Perl... - found /usr/local/bin/perl
-- Looking for Rule Checker...
HIER
-- Looking for Rule Checker... - Not found
CMake Error: Error in cmake code at
/u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/CMakeLists.txt:104:
ADD_SUBDIRECTORY given source "tpc" which is not an existing directory.
Current CMake stack: /u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/CMakeLists.txt;/usr/shar e/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules /CMakeCXXInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeFortranInfo rmation.cmake
CMake Error: Error in cmake code at
/u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/CMakeLists.txt:105:
ADD_SUBDIRECTORY given source "tpc/tpcreco" which is not an existing directory.
Current CMake stack: /u/naryshk/fairroot/cbmsoft/pandaroot/pandaroot/CMakeLists.txt;/usr/shar e/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules /CMakeCXXInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeFortranInfo rmation.cmake
-- Configuring done
Re: TPC error during compilation [message #7231 is a reply to message #7230] Tue, 26 August 2008 14:51 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
You have deleted pandaroot/tpc, not the tpc directory in your build.

Do a "svn update" inside your pandaroot directory, then go in your build and again "cmake ../pandaroot", "make install", and let me know.
Re: TPC error during compilation [message #7232 is a reply to message #7231] Tue, 26 August 2008 16:05 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Stefano,
I repeate the procedure of installation again with the modification you tell me. May be I do something wrong:
In my home dir I run:
svn co https://subversion.gsi.de/fairroot/pandaroot
cd pandaroot

I have following dir:

development
release
stable
trunc

then I do following:

mv stable pandaroot
cd pandaroot
rm -rf tpc
svn update
cd ..
mkdir build
cd build
cmake ../pandaroot
. config.sh
make install

And I got following output:

....
[ 35%] Building CXX object tpc/CMakeFiles/tpc.dir/spacecharge/SplineTF2Interface.o
[ 35%] Building CXX object tpc/CMakeFiles/tpc.dir/QAPlotCollection.o
[ 35%] Building CXX object tpc/CMakeFiles/tpc.dir/DEDX.o
[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcMCDEdxTask.o
[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcRawDEdxCollection.o
[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcDEDXFits.o
/u/naryshk/pandaroot/pandaroot/tpc/PndTpcDEDXFits.cxx: In member function `TF1*
PndTpcDEDXFits::CreateFunction(const std::string&)':
/u/naryshk/pandaroot/pandaroot/tpc/PndTpcDEDXFits.cxx:242: error: no matching
function for call to `TF1::TF1(const char*, PndTpcDEDXFits* const, double
(PndTpcDEDXFits::*)(double*, double*), Double_t&, Double_t&, Int_t&, const
char[15], const char[9])'
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:89: error: candidates are:
TF1::TF1(const TF1&)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:87: error:
TF1::TF1(const char*, Double_t (*)(const Double_t*, const Double_t*),
double, double, int)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:86: error:
TF1::TF1(const char*, Double_t (*)(Double_t*, Double_t*), double, double,
int)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:84: error:
TF1::TF1(const char*, void*, double, double, int)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:83: error:
Re: TPC error during compilation [message #7233 is a reply to message #7232] Tue, 26 August 2008 16:10 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Ok,
you should use "trunk" directory, instead of stable (stable is not well fixed at the moment, I think). At least, with trunk it should compile. Or better (from scratch), aafter you have set the proper SIMPATH (type "echo $SIMPATH" to be sure that you are using the correct one):

svn co https://subversion.gsi.de/fairroot/pandaroot/trunk
mv trunk pandaroot
mkdir cbuild
cd cbuild
cmake ../pandaroot
. ./config.sh
make install

And let me know.
I have never compiled stable and I do not know if it is really stable.
Re: TPC error during compilation [message #7236 is a reply to message #7233] Tue, 26 August 2008 19:33 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Stefano,
I followed your suggestions, but again I've got the same error.
the $SIMPATH is:

echo $SIMPATH
/misc/cbmsoft/Debian3.1/new

******************************************************

[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcMCDEdxTask.o
[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcRawDEdxCollection.o
[ 36%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcDEDXFits.o
/u/naryshk/pandaroot/tpc/PndTpcDEDXFits.cxx: In member function `TF1*
PndTpcDEDXFits::CreateFunction(const std::string&)':
/u/naryshk/pandaroot/tpc/PndTpcDEDXFits.cxx:242: error: no matching function
for call to `TF1::TF1(const char*, PndTpcDEDXFits* const, double
(PndTpcDEDXFits::*)(double*, double*), Double_t&, Double_t&, Int_t&, const
char[15], const char[9])'
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:89: error: candidates are:
TF1::TF1(const TF1&)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:87: error:
TF1::TF1(const char*, Double_t (*)(const Double_t*, const Double_t*),
double, double, int)
/misc/cbmsoft/Debian3.1/new/tools/root/include/TF1.h:86: error:
TF1::TF1(const char*, Double_t (*)(Double_t*, Double_t*), double, double,
int)
Re: TPC error during compilation [message #7237 is a reply to message #7236] Tue, 26 August 2008 20:15 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Your SIMPATH is wrong (or better, it is old),
but I do not remember which is the correct SIMPATH for GSI machines.
Re: TPC error during compilation [message #7239 is a reply to message #7237] Wed, 27 August 2008 09:17 Go to previous messageGo to next message
Aleksandra Biegun is currently offline  Aleksandra Biegun
Messages: 64
Registered: May 2007
Location: Groningen
continuous participant
From: *KVI.nl
Hi,

the path for new external package (the last one, from july 2008)
at gsi machine is:

/misc/cbmsoft/Etch32/jul08/fairsoft/ - for 32bit machine
/misc/cbmsoft/Etch64/jul08/fairsoft/ - for 64bit machine

but you have to login to: lxetch64.gsi.de
and you will be transported to eg. lxi016 (from lxi?10 to 20).


Regards,
Ola.


Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
Re: TPC error during compilation [message #7240 is a reply to message #7239] Wed, 27 August 2008 10:01 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi

There are external packages for all kind of Debian flavors here at GSI. If you want to know which machine you're using do

> echo $OS

3.1 means Debian Sarge, wheras 4.0 is Debian Etch. After that do
a

> uname -m

If the result is x86_64 you're on a 64bit machine, if the result is i686 you're on a 32bit machine.
According to the results you have to choose the SIMPATH

Sarge32 : /misc/cbmsoft/Sarge32/jul08/fairsoft/
Sarge64 : /misc/cbmsoft/Sarge64/jul08/fairsoft/
Etch32 : /misc/cbmsoft/Etch32/jul08/fairsoft/
Etch64 : /misc/cbmsoft/Etch64/jul08/fairsoft/

If you compile PandaRoot for one of these systems you can run it only on that system.

Ciao

Florian
Re: TPC error during compilation [message #7241 is a reply to message #7239] Wed, 27 August 2008 10:20 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Thank you! I tried to login lxetch64.gsi.de from outside but could not. I login to lxi001 and then to lxetch64.gsi.de. Is it OK?
Re: TPC error during compilation [message #7242 is a reply to message #7241] Wed, 27 August 2008 10:23 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Yes,
this is the only way to connect to that machine at GSI.
Re: TPC error during compilation [message #7244 is a reply to message #7240] Wed, 27 August 2008 10:28 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Thank you! I login to lxi001, then to lxetch64.gsi.de,
then check:

naryshk@lxi021:~/pandaroot$ echo $OS
4.0

naryshk@lxi021:~/pandaroot$ uname -m
x86_64

set
export SIMPATH="/misc/cbmsoft/Etch64/jul08/fairsoft/"

repeate procedure of pandaroot installation.
It is OK now! Thank you very much!

short question: can I do it also on lxi001-lxi010 with proper settings which you've sent me?
Re: TPC error during compilation [message #7245 is a reply to message #7244] Wed, 27 August 2008 10:43 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi

You can do this also on lxi001-lxi010, if you set the SIMPATH according to the Operating system.

Ciao

Florian
Previous Topic: libDpmEvtGen.so error while "make install"
Next Topic: EvtGen searches for 64-bit include files
Goto Forum:
  


Current Time: Thu Dec 02 22:34:53 CET 2021

Total time taken to generate the page: 0.01903 seconds