Open rash-eng opened 1 month ago
" HepMC/IO_BaseClass.h: No such file or directory 23 | #include "HepMC/IO_BaseClass.h" "
I am experiencing the same issues when simply compiling pythia with HepMC2 and including in a main.
Have you perhaps been able to solve it?
Hi aMC@NLO team, same problem here! Pythia8 showering works just fine when I do LO generation using the same model files.
Hii,
The issue was solved for me. The problem was not with linking of pythia8 with Hepmc, the actual issue was the path in the shower card as:
*EXTRAPATHS = ../lib /home/shilpa/dellnewlaptop/Projects/MG5_aMC_v3_5_4/HEPTools/hepmc/lib /home/shilpa/dellnewlaptop/Projects/MG5_aMC_v3_5_4/HEPTools/pythia8/lib l,-rpath,/home/shilpa/dellnewlaptop/Projects/MG5_aMC_v3_5_4/HEPTools/pythia8/lib /home/shilpa/dellnewlaptop/Projects/MG5_aMC_v3_5_4/HEPTools/zlib/lib l,-rpath,/home/shilpa/dellnewlaptop/Projects/MG5_aMC_v3_5_4/HEPTools/zlib/lib
You can check if it works for you as well.
Thanks Shilpa Jangid APCTP Researcher
On Wed, Jul 24, 2024 at 12:29 AM rmahbubani @.***> wrote:
Hi @.*** team, same problem here! Pythia8 showering works just fine when I do LO generation using the same model files.
— Reply to this email directly, view it on GitHub https://github.com/EleutherAI/pythia/issues/165#issuecomment-2245563851, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJF5NACQJZ3UDRV53JYNVL3ZNZZEFAVCNFSM6AAAAABJJVZFLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGU3DGOBVGE . You are receiving this because you authored the thread.Message ID: @.***>
Thanks for the tip Shilpa, but I do have all the extrapaths set, but still pythia8 doesn't compile in with aMCaNLO :*
I tried to shower events for the NLO process p p > t t~ [QCD]. But I am getting the following error.
INFO: Generating events INFO: Idle: 0, Running: 3, Completed: 2 [ current time: 10h38 ] INFO: Idle: 0, Running: 2, Completed: 3 [ current time: 10h38 ] INFO: Idle: 0, Running: 1, Completed: 4 [ 3.8s ] INFO: Idle: 0, Running: 0, Completed: 5 [ 3.9s ] sum of cpu time of last step: 0 second INFO: Doing reweight INFO: Idle: 0, Running: 2, Completed: 3 [ current time: 10h39 ] INFO: Idle: 0, Running: 1, Completed: 4 [ 0.16s ] INFO: Idle: 0, Running: 0, Completed: 5 [ 0.17s ] INFO: Collecting events INFO:
INFO: The /home/shilpa/projects/MG5_aMC_v3_5_4/my_ttbar_nlo/Events/run_02/events.lhe.gz file has been generated.
INFO: Events generated reweight -from_cards decay_events -from_cards INFO: Preparing MCatNLO run INFO: Using LHAPDF v6.5.4 interface for PDFs INFO: Compiling MCatNLO for PYTHIA8... USING PYTHIA 8.3xy g++ -std=c++11 -O -I/home/shilpa/projects/MG5_aMC_v3_5_4/HEPTools/pythia8/include \ -I/home/shilpa/projects/MG5_aMC_v3_5_4/my_ttbar_nlo/MCatNLO/include Pythia83.cc -o Pythia8.exe \ -L/home/shilpa/projects/MG5_aMC_v3_5_4/HEPTools/pythia8/lib -lpythia8 \ Error: cannot find valid configuration for Pythia 8 -L../lib -Lror: -Lnnot -Lnd -Llid -Lnfiguration -Lr -Lthia \
In file included from Pythia83.cc:4: /home/shilpa/projects/MG5_aMC_v3_5_4/HEPTools/pythia8/include/Pythia8Plugins/HepMC2.h:23:10: fatal error: HepMC/IO_BaseClass.h: No such file or directory 23 | #include "HepMC/IO_BaseClass.h" | ^
~~~~~ compilation terminated. make: *** [Makefile:56: Pythia83] Error 1 Pythia8 compilation did not succeed, exitingError detected in "launch" write debug file /home/shilpa/projects/MG5_aMC_v3_5_4/my_ttbar_nlo/run_02_tag_1_debug.log If you need help with this issue, please, contact us on https://answers.launchpad.net/mg5amcnlo str : Compilation failed, check /home/shilpa/projects/MG5_aMC_v3_5_4/my_ttbar_nlo/mcatnlo.log for details
Does anyone know what could be happening? Thanks