Issue with setting parameters inside mg5 run

Asked by Maksym Ovchynnikov

Hi! I am launching mg5 via a .txt file with the following commands:

launch dp-drell-yan
shower=pythia8
set nevents 500000
set Mdp 2

I.e.,

./mg5_aMC commands.txt

The initial run_card.dat contains the strings

     lhapdf = pdlabel1 ! PDF type for beam #1
     lhapdf = pdlabel2 ! PDF type for beam #
     315000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number

However, after setting nevents, the lines get destroyed:

     lhapdf = pdlabel1 ! PDF type for beam #1
     lhapdf = pdlabel2 ! PDF type for beam #2315000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number

which causes issues with using pdfs.

I am using some Ubuntu 20.XX.

Could you please tell me if this issue is universal, and if yes, what may be a possible workaround?

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

for which version of MG5aMC?
I think this should be fixed in all three latest bug fix version that are currently released.

Cheers,

Olivier

Revision history for this message
Maksym Ovchynnikov (name-xxx) said :
#2

Thanks Olivier Mattelaer, that solved my question.