GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » compiling PANDAroot
compiling PANDAroot [message #12784] Thu, 17 November 2011 20:46 Go to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Colleagues,
after a short break I try ti install latest version of PANDAroot on lxi038 inmy home dir. I follow the instruction described in:
http://cbmroot.gsi.de/installation/Installing%20PandaRoot.htm
Everything is working OK up to
make

I've got an error message:
[ 39%] Building Fortran object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGenModels/lucomp_beg.F.o
[ 39%] Building Fortran object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/EvtGenModels/lucomp.F.o
[ 39%] Building Fortran object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/Cernlib/ddilog.F.o
[ 39%] Building Fortran object pgenerators/EvtGen/CMakeFiles/EvtGen.dir/Cernlib/ranf.F.o
Linking Fortran shared library ../../lib/libEvtGen.so
[ 39%] Built target EvtGen
Scanning dependencies of target EvtGen_exe_simpleEvtGen
[ 39%] Building CXX object pgenerators/EvtGen/CMakeFiles/EvtGen_exe_simpleEvtGen.dir/simpleEvtGen.c c.o
In file included from /misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.h:445,
from /misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Lore ntzVector.h:30,
from /u/naryshk/pandaroot_new/pandaroot/pgenerators/EvtGen/EvtGen.hh:33,
from /u/naryshk/pandaroot_new/pandaroot/pgenerators/EvtGen/simpleEvtGen.cc:11 :
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc: In member function 'void CLHEP::Hep3Vector::setX(double)':
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc:32: warning: declaration of 'x' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc: In member function 'void CLHEP::Hep3Vector::setY(double)':
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc:33: warning: declaration of 'y' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc: In member function 'void CLHEP::Hep3Vector::setZ(double)':
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc:34: warning: declaration of 'z' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc: In member function 'void CLHEP::Hep3Vector::set(double, double, double)':
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc:36: warning: declaration of 'z' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Thre eVector.icc:36: warning: declaration

.........

/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Lore ntzVector.icc:356: warning: declaration of 'z' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Lore ntzVector.icc:356: warning: declaration of 'phi' shadows a member of 'this'
/misc/cbmsoft/Etch32/jan10/fairsoft/cern/clhep/include/CLHEP/Vector/Lore ntzVector.icc:356: warning: declaration of 'rho' shadows a member of 'this'
Linking Fortran executable ../../bin/simpleEvtGen
/usr/bin/ld: warning: libgfortran.so.1, needed by /misc/cbmsoft/Etch32/jan10/fairsoft/generators/lib/libPythia6.so, not found (try using -rpath or -rpath-link)
/misc/cbmsoft/Etch32/jan10/fairsoft/generators/lib/libPythia6.so: undefined reference to `_gfortran_pow_r8_i4'
/misc/cbmsoft/Etch32/jan10/fairsoft/generators/lib/libPythia6.so: undefined reference to `_gfortran_internal_free'
/misc/cbmsoft/Etch32/jan10/fairsoft/generators/lib/libPythia6.so: undefined reference to `_gfortran_copy_string'
/misc/cbmsoft/Etch32/jan10/fairsoft/generators/lib/libPythia6.so: undefined reference to `_gfortran_internal_malloc'
collect2: ld returned 1 exit status
make[2]: *** [bin/simpleEvtGen] Error 1
make[1]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen_exe_simpleEvtGen.dir/all] Error 2
make: *** [all] Error 2


Does anyone known this problem ?
Best Regards, Yuri.
Re: compiling PANDAroot [message #12785 is a reply to message #12784] Thu, 17 November 2011 21:34 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo Yuri,

You are using the wrong externals! you are on a Lenny32 linux and link against Etch32. Set your SIMPATH to Lenny32 and recompile again.

regards,

Mohammad
Re: compiling PANDAroot [message #12786 is a reply to message #12785] Thu, 17 November 2011 21:41 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 Mohammad,
after setting to:
export SIMPATH=/misc/cbmsoft/Lenny32/jan10/fairsoft/
I did cmake ../
and make but I've got:
naryshk@lxi026:~/pandaroot_new/pandaroot/buildPanda $ . ./config.sh
System during compilation: Debian GNU/Linux 5.0 n l
i686
System now : Debian GNU/Linux 5.0 n l
i686
naryshk@lxi026:~/pandaroot_new/pandaroot/buildPanda $ make
-bash: make: No such file or directory

naryshk@lxi026:~/pandaroot_new/pandaroot/buildPanda $ ls
-bash: ls: No such file or directory

What does it mean?

Best Regards, Yuri.
Re: compiling PANDAroot [message #12787 is a reply to message #12786] Thu, 17 November 2011 21:45 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Dear Yuri,

It means that somehow your PATH is not set anymore! Simply open a new shell set your SIMPATH and try again.

regards

Mohammad
Re: compiling PANDAroot [message #12788 is a reply to message #12787] Thu, 17 November 2011 22: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
Dear Mohammad,
now everything is go further, but a new error appeared:

[ 47%] Building CXX object tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcSLResidualTask.cxx.o
[ 48%] Building CXX object tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcResidualTask.cxx.o
/u/naryshk/pandaroot_new/pandaroot/tpc/TestBench/PndTpcResidualTask.cxx: In member function 'virtual void PndTpcResidualTask::Exec(const Option_t*)':
/u/naryshk/pandaroot_new/pandaroot/tpc/TestBench/PndTpcResidualTask.cxx: 260: error: 'getSmoothedPosXYZ' is not a member of 'GFTools'
make[2]: *** [tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcResidualTask.cxx.o] Error 1
make[1]: *** [tpc/CMakeFiles/Tpc.dir/all] Error 2
make: *** [all] Error 2

Best Regards, Yuri.
Re: compiling PANDAroot [message #12789 is a reply to message #12788] Fri, 18 November 2011 11:09 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo Yuri,

Is there any reason why you use the Jan10 externals? if not then maybe it would be better to use the may11, i.e:

export SIMPATH=/misc/cbmsoft/Lenny32/may11/fairsoft/

about the problem you have, I have no idea, maybe one of the TPC experts can answer this.

regards,

Mohammad
Re: compiling PANDAroot [message #12791 is a reply to message #12788] Fri, 18 November 2011 14:33 Go to previous message
rajududhat is currently offline  rajududhat
Messages: 17
Registered: May 2010
Location: Surat (India)
occasional visitor
From: 117.211.94*
This error is also come in may11

Rajeshkumar G. Dudhat
SVNIT (INDIA)
Previous Topic: eta_c drop in efficiency
Next Topic: TPC compilation problem
Goto Forum:
  


Current Time: Thu Nov 14 13:15:20 CET 2024

Total time taken to generate the page: 0.00787 seconds