EleutherAI / pythia

The hub for EleutherAI's work on interpretability and learning dynamics
Apache License 2.0
2.16k stars 156 forks source link

Issue while showering NLO events with NLO #165

Open rash-eng opened 1 month ago

rash-eng commented 1 month ago

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:

  Summary:
  Process p p > t t~ [QCD]
  Run at p-p collider (6500.0 + 6500.0 GeV)
  Number of events generated: 10000
  Total cross section: 6.808e+02 +- 4.8e+00 pb

  Scale variation (computed from LHE events):
      Dynamical_scale_choice -1 (envelope of 9 values):
          6.939e+02 pb +10.5% -12.1%

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, exiting

Error 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

comrademarvin commented 1 week 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?

rmahbubani commented 6 days ago

Hi aMC@NLO team, same problem here! Pythia8 showering works just fine when I do LO generation using the same model files.

rash-eng commented 5 days ago

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

Path to the extra-libraries*

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: @.***>

rmahbubani commented 4 days ago

Thanks for the tip Shilpa, but I do have all the extrapaths set, but still pythia8 doesn't compile in with aMCaNLO :*