WARNING: invalid set command WHP auto and WARNING: invalid set command MHP auto

Asked by WANLUN XU

Hello,editor,
  I run the script file BGtt.txt in Madgraph and there have a wrong about this operation,our script file BGtt.txt as follows:
       launch BGtt -i
       multi_run 10
       1
       2
       set MHP 800
       set WHP auto
       done
  run way is ./MG5_aMC_v3.4.1/MG5_aMC_v3_4_1/bin/mg5_aMC BGtt.txt and it tell us about this operation have WARNING, which the warning as follows :
      WARNING: invalid set command WHP auto and WARNING: invalid set command MHP auto
    I don't know how to solve this problem. can you give me a advice,thank you!

Question information

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

Hi,

Looks like the code does not find MHP and WHP as part of the parameter that can be updated within the param_card.dat.
So the question is what is the model that you use? Or more exactly, what is the param_card that you have to edit.

Now I'm confused about multiple things in your code:
1) You are using "1" and "2" in your script, this is dangerous since those options are intended as shortcut for interactive session and not as entry for script. While your script is working for a given version of MG5aMC, we do not guarantee that the meaning of "1" and "2" will not change in future version. Actually, already today some of the meaning of number can depend of the tools installed on the computer and therefore this is not reproducible if you provide the code to someone else.

2) You do not use the "done" keyword afer the "2" which means that madgraph has to guess when you pass from the first question to the second. This is certainly not a problem at all, it is supported and will stay supported. However, what confuse me is that this should trigger a warning such that "set MHP 800" is invalid and will be kept for the next question. If you do not see this warning, it might be because you are running the code like this "./bin/mg5_aMC < BGtt.txt", which will prevent the automatic detection of the end of the first loop and therere you should have warning about the two lines.

3) the second warning that you report "WARNING: invalid set command MHP auto" is not consistent with your above script.
First "auto" is not a valid entry for MHP (technically, this is a pure guess since I do not know the model) and second you do not set the value to "auto" in your script.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask WANLUN XU for more information if necessary.

To post a message you must log in.