GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: [SOLVED] Diffs between r 13415 and current & developement help
items: Re: Diffs between r 13415 and current & developement help

[SOLVED] Diffs between r 13415 and current & developement help
type: item
description: Dear all, Since some time I am working on doing simulations for the possibility of converting PANDA into a detector capable of measuring reaction products from a p + e collider (proposed Electron Nucleon Collider - ENC, using HESR and PANDA). Some years ago, Donghee Kang developed some software for the same project, based on the current version of pandaroot at that time (i.e. r 13415) and my task would consist on taking what he did and try to adapt it to the current version of pandaroot now. I could manage to take his installed and edited software to my working directory and make it (more or less) run, using the reaction pe^- -> pe^- gamma generated for three different cases (DVCS, BH and Interference of both). In the last few weeks, when I finally started working intensively with pandaroot, I have encountered some problems: 1.- It seems that I cannot install without errors the revision 13415 from the svn repository anymore. So I copied what Donghee had in his directory and installed it to my working directory. However, I would like to install a clean revision 13415 of pandaroot to be able to compare the changes that Donghee did with what it was in the software at that time. 2.- Also I have no idea how can I find out what has changed (I don't need details, but in a first step just roughly) since that version to the current one, concerning geometry, reconstruction, tracking, pid... Any help or ideas will be appreciated. I would also like to point that I am new to the development branch of pandaroot, so I might need quite a lot of help to understand some things. So, please, be patient with me . Thank you very much in advance!!! Cheers, Mamen.
creator: Mamen
date: 2015-10-28T14:01:11-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Dear Mamen, long time ago the management of the base packages was a bit different, and it is causing your problem in the installation. In theory, you should do the following * go to the pandaroot folder * type "svn propedit svn:externals ." * edit all the "base" lines (all the lines not "genfit") adding "-r 13415" before "https://..." and save -> "base -r 13415 https://..." * type "svn update" from the pandaroot folder * compile This should link the base packages to the release 13415. About differences, we are speaking about code of 2011, then tracking was not highly performant like now, there was no SciTil, GEMs were different as well as DIRC, no forward tracking, different beampipe, no EMC pid.
creator: StefanoSpataro
date: 2015-10-30T10:48:56-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Hello Stefano, Thanks for your answer. However, I cannot edit the file you mention. After typing the command you propose, I get the following: -bash-4.1$ svn propedit svn:externals . svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found How can I continue now? Greetings, Mamen. P.S.: Donghee pointed out that I should install the version 11867, but I guess I should proceed in the same way...
creator: Mamen
date: 2015-11-03T16:26:18-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Which is the text editor you use usually? Emacs? vi? Then type: export SVN_EDITOR=vi (or emacs, or whatever) and try again.
creator: StefanoSpataro
date: 2015-11-03T16:28:03-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Hi again! It took some time to do the update. I did the following: -bash-4.1$ svn propedit svn:externals . edited this: base -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/base generators -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/generators geobase -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/geobase ora -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/ora parbase -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/parbase cmake -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/cmake geane -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/geane eventdisplay -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/eventdisplay trackbase -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/trackbase fairtools -r 11867 https://subversion.gsi.de/fairroot/fairbase/release/fairtools genfit -r 313 https://genfit.svn.sourceforge.net/svnroot/genfit/core And did svn update in the pandaroot folder. After some time downloading/updating files (with some connection problems in between) I got the following message: Conflict for property 'svn:externals' discovered on ''. Select: (p) postpone, (df) diff-full, (e) edit, (s) show all options: p I selected pospone from the options I was given. After some more time downloading/updating stuff, I see that it is updating to revision 28714 (why, if I chose 11867?) Updated to revision 28714. Summary of conflicts: Property conflicts: 1 Whatever, I continue anyhow with the compilation: -bash-4.1$ cd -bash-4.1$ cd buildpanda_v11867_may11/ -bash-4.1$ cmake ../pandaroot_v11867_may11/ -- NOT Found FAIRBASE CMake Error at CMakeLists.txt:40 (MESSAGE): You did not define the environment variable FAIRROOTPATH which is needed to find FairRoot. Please set this variable and execute cmake again. -- Configuring incomplete, errors occurred! See also "/data/work/kpha4/moraespi/PandaRoot/buildpanda_v11867_may11/CMakeFiles/CMakeOutput.log". Without suceeding…
creator: Mamen
date: 2015-11-03T17:31:54-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: You need to type: svn update -r 11867 Sorry, I was misleading.
creator: StefanoSpataro
date: 2015-11-03T18:33:46-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Hi Stefano, I did that and I still get some errors: -bash-4.1$ svn update -r 11867 Fetching external item into 'base' svn: warning: OPTIONS of 'https://subversion.gsi.de/fairroot/fairbase/release/base': could not connect to server (https://subversion.gsi.de) Fetching external item into 'generators' svn: warning: OPTIONS of 'https://subversion.gsi.de/fairroot/fairbase/release/generators': could not connect to server (https://subversion.gsi.de) Fetching external item into 'geobase' svn: warning: OPTIONS of 'https://subversion.gsi.de/fairroot/fairbase/release/geobase': could not connect to server (https://subversion.gsi.de) Fetching external item into 'ora' External at revision 11867. svn: warning: Error handling externals definition for 'parbase': svn: warning: OPTIONS of 'https://subversion.gsi.de/fairroot/fairbase/release/parbase': could not connect to server (https://subversion.gsi.de) Fetching external item into 'cmake' D cmake/checks D cmake/scripts/set_env_macos.sh.in D cmake/scripts/run_binary.sh.in D cmake/scripts/FairVersion.h.default D cmake/scripts/set_env.sh.in U cmake/scripts/FairVersion.h.tmp U cmake/scripts/root_macro.sh.in U cmake/scripts/config.sh.in U cmake/scripts/root_macro_macos.sh.in U cmake/scripts/config.csh.in D cmake/modules/GenerateVersionInfo.cmake D cmake/modules/FindGEANT4DATA.cmake D cmake/modules/FindZeroMQ.cmake D cmake/modules/FindGSL.cmake D cmake/modules/FindPythia8.cmake D cmake/modules/ROOTMacros.cmake D cmake/modules/FindHEPMC.cmake D cmake/modules/Findglpk.cmake D cmake/modules/CheckCXX11Features.cmake U cmake/modules/WriteConfigFile.cmake U cmake/modules/FindGEANT3.cmake U cmake/modules/FindGEANT4.cmake U cmake/modules/FindROOT.cmake U cmake/modules/FairMacros.cmake U cmake/modules/FindGEANT4VMC.cmake U cmake/modules/FindCLHEP.cmake U cmake/modules/FindPLUTO.cmake U cmake/modules/CheckCompiler.cmake U cmake/modules/FindGENERATORS.cmake D cmake/cuda/FindCUDA.cmake D cmake/cuda/FindCUDA D cmake/cuda/LICENSE.txt A cmake/cuda/parse…
creator: Mamen
date: 2015-11-04T14:54:26-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Are you sure it is not a problem of connection? Because I can see https://subversion.gsi.de/fairroot/fairbase/release/base without any problem.
creator: StefanoSpataro
date: 2015-11-05T08:40:58-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: I am not 100% sure... Every time I run svn update -r 11867 I get different packages updated... However "parbaes" and "genfit" (and from the last one also some subdirectories) show always the error message: svn: warning: Error handling externals definition for 'parbase': svn: warning: OPTIONS of 'https://subversion.gsi.de/fairroot/fairbase/release/parbase': could not connect to server (https://subversion.gsi.de) (.../...) svn: warning: Error handling externals definition for 'genfit': svn: warning: Repository moved permanently to 'https://svn.code.sf.net/p/genfit/code/core'; please relocate svn: warning: Error handling externals definition for 'GenfitTools/trackrep/LSLtrackRep': svn: warning: Repository moved permanently to 'https://svn.code.sf.net/p/genfit/code/LSLtrackRep'; please relocate svn: warning: Error handling externals definition for 'GenfitTools/trackrep/GeaneTrackRep2': svn: warning: Repository moved permanently to 'https://svn.code.sf.net/p/genfit/code/GeaneTrackRep2'; please relocate svn: warning: Error handling externals definition for 'GenfitTools/trackrep/RKTrackRep': svn: warning: Repository moved permanently to 'https://svn.code.sf.net/p/genfit/code/RKTrackRep'; please relocate At revision 11867. I've contacted our cluster-administration to investigate if it consist really of a network-connection problem. I still don't have an answer... I'll sent an update when I know something new... Thanks for your help. Mamen
creator: Mamen
date: 2015-11-05T15:09:46-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: You should to the propedit command in the trunk, and modify the genfit line using now: https://svn.code.sf.net/p/genfit/code/core Moreover, in GenfitTools/trackrep you have to do again the propedit command and modify all the lines with: https://svn.code.sf.net/p/genfit/code/LSLtrackRep Since the genfit repository has changed in the meantime. And then the svn update -r 11867 from pandaroot folder. About the problems with the base packages, in theory they should work, the link should be the same. Are you sure you want to use code 4 years old?
creator: StefanoSpataro
date: 2015-11-05T18:09:11-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Dear Stefano, The update finally worked (it seems), but the compilation is still giving me some problems: -bash-4.1$ cmake ../pandaroot_v11867_may11-02/ CMAKE_Fortran_COMPILER full path: /usr/bin/gfortran Fortran compiler: gfortran --- Found a Linux ssytem --- Found GNU compiler collection --- Build Type: Debug --- Compiler Flags: -- Looking for Root... -- Looking for Root... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/tools/root/bin/root -- Looking for Root... - version 5.29/02 -- Looking for Pluto... -- Looking for Pluto... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/generators/lib -- Looking for Pythia6... -- Looking for Pythia6... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/generators/lib -- Looking for GEANT3... -- Looking for GEANT3... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/transport/geant3/lib/tgt_linuxx8664gcc/libgeant321.so -- Looking for GEANT4... -- Looking for GEANT4... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/transport/geant4/lib -- Looking for GEANT4VMC... -- Looking for GEANT4VMC... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/transport/geant4_vmc/lib/tgt_linuxx8664gcc -- Looking for VGM... -- Looking for VGM... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/transport/vgm/lib -- Looking for CLHEP... -- Looking for CLHEP... - found /data/work/kpha4/moraespi/PandaRoot/fairsoft_enc_2015-10-12/cern/clhep/lib -- Looking for CERNLIB... -- Looking for Java... -- Looking for Java... - found /usr/bin/java -- Looking for Perl... -- Looking for Perl... - found /usr/bin/perl -- Looking for Rule Checker... -- Looking for Rule Checker... - Not found -- FairRoot Revision - 11867 Branch - trunk running /bin/chmod u+x /data/work/kpha4/moraespi/PandaRoot/build_v11867-02/macro/qa/mdt/QAmacro_mdt_1.sh 2>&1 running /bin/chmod u+x /data/work/kpha4/moraespi/PandaRoot/build_v11867-02/macro/qa/mdt/QAmacro_m…
creator: Mamen
date: 2015-11-06T16:38:40-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Can you do the usual: svn propedit svn:externals . There should be the line for GeaneTrackRep2: GeaneTrackRep2 -r 400 https://svn.code.sf.net/p/genfit/code/trunk/GeaneTrackRep2 Is it there?
creator: StefanoSpataro
date: 2015-11-07T07:47:43-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Hi! Again! I added the line you propose doing svn propedit svn:externals in GenfitTools/trackrep/ inside my pandaroot directory. It looks now like this: LSLtrackRep -r216 https://svn.code.sf.net/p/genfit/code/LSLtrackRep GeaneTrackRep2 -r 400 https://svn.code.sf.net/p/genfit/code/trunk/GeaneTrackRep2 RKTrackRep -r313 https://svn.code.sf.net/p/genfit/code/LSLtrackRep And it seems we went a step forward. Now the command cmake complains about the following: CMake Error at GenfitTools/trackrep/CMakeLists.txt:57 (add_library): Cannot find source file: RKTrackRep/RKTrackRep.cxx Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx -- Build files have been written to: /data/work/kpha4/moraespi/PandaRoot/build_v11867-02
creator: Mamen
date: 2015-11-09T13:45:18-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: RKTrackRep -r313 https://svn.code.sf.net/p/genfit/code/LSLtrackRep -> RKTrackRep -r313 https://svn.code.sf.net/p/genfit/code/RKTrackRep
creator: StefanoSpataro
date: 2015-11-09T15:58:16-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Thank you! Thank you! Thank you!! It finally worked!!
creator: Mamen
date: 2015-11-09T16:33:29-00:00

Re: Diffs between r 13415 and current & developement help
type: item
description: Wow, that was quite hard this time!
creator: StefanoSpataro
date: 2015-11-09T21:57:14-00:00