GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] dec13p1 fairsoft and evt-gen incompatible
[FIXED] dec13p1 fairsoft and evt-gen incompatible [message #16903] Wed, 02 July 2014 14:06 Go to next message
Stefan Pflueger is currently offline  Stefan Pflueger
Messages: 99
Registered: February 2012
continuous participant
From: *kph.uni-mainz.de
Hi,

I just installed the dec13p1 external packages and the pandaroot trunk and there was a problem in EvtGen, due to a renaming of the Pythia8 directory inside the externals build directory (changed from pythia8 to Pythia8). Then includes in a few files do not work anymore. I'm not sure why the external package changed this name... In principle the name should be changed back inside fairsoft unless there is some reason behind it. Maybe a fairsoft person can comment on this.

The following 3 files are affected:

Index: pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaEngine.hh
===================================================================
--- pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaEngine.hh (revision 25489)
+++ pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaEngine.hh (working copy)
@@ -29,8 +29,8 @@
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtVector4R.hh"

-#include "pythia8/Pythia.h"
-#include "pythia8/ParticleData.h"
+#include "Pythia8/Pythia.h"
+#include "Pythia8/ParticleData.h"

#include <string>
#include <vector>
Index: pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaRandom.hh
===================================================================
--- pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaRandom.hh (revision 25489)
+++ pgenerators/EvtGen/EvtGen/R01-03-00/EvtGenExternal/EvtPythiaRandom.hh (working copy)
@@ -24,7 +24,7 @@

#include "EvtGenBase/EvtRandom.hh"

-#include "pythia8/Basics.h"
+#include "Pythia8/Basics.h"

class EvtPythiaRandom : public Pythia8::RndmEngine {

Index: pgenerators/EvtGen/EvtGen/R01-03-00/src/EvtGenExternal/EvtPythiaEngine.c pp
===================================================================
--- pgenerators/EvtGen/EvtGen/R01-03-00/src/EvtGenExternal/EvtPythiaEngine.c pp (revision 25489)
+++ pgenerators/EvtGen/EvtGen/R01-03-00/src/EvtGenExternal/EvtPythiaEngine.c pp (working copy)
@@ -29,8 +29,6 @@
#include "EvtGenBase/EvtExtGeneratorCommandsTable.hh"
#include "EvtGenExternal/EvtPythia6CommandConverter.hh"

-#include "pythia8/Event.h"
-
#include <iostream>
#include <sstream>

[Updated on: Wed, 10 September 2014 12:40] by Moderator

Report message to a moderator

Re: dec13p1 fairsoft and evt-gen incompatible [message #16904 is a reply to message #16903] Wed, 02 July 2014 14:08 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 140.181.11*
This we know. But dec13 has more serious problems.
The solution is a symbolic kink of pythia8 with Pythia8

[Updated on: Wed, 02 July 2014 14:38]

Report message to a moderator

Re: dec13p1 fairsoft and evt-gen incompatible [message #16907 is a reply to message #16903] Wed, 02 July 2014 16:10 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: 46.114.21*
Hi,

the name was changed by the authors of the program. The new Root versiown only works with the new pythia8 version, so unfortunately you have to deal with both versions of the path name if you want to support old and new versions of the external packages.

Ciao

Florian
Re: dec13p1 fairsoft and evt-gen incompatible [message #16909 is a reply to message #16907] Wed, 02 July 2014 16:22 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 140.181.11*
Dear Florian,
would it be possible to add in the configuration script something like:

cd $SIMPATH/include
ln -s Pythia8 pythia8


?
This should be enough.


Re: dec13p1 fairsoft and evt-gen incompatible [message #17268 is a reply to message #16909] Wed, 10 September 2014 12:39 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *lnf.infn.it
However I fixed it.
Previous Topic: [FIXED] Possible bug in PndEmcClusterMoments.cxx
Next Topic: [FIXED] Segmentation violation during drawing geometry
Goto Forum:
  


Current Time: Sat Nov 23 01:04:04 CET 2024

Total time taken to generate the page: 0.00712 seconds