About Madspin

Asked by QiurongMou

Dear Mad team,
When I run a process with Madspin on,it turn out to be that
{
reweight -from_cards
decay_events -from_cards
Error detected in "generate_events run_02"
write debug file /home/phy/MG5_aMC_v2_3_3/test2/run_02_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
MadGraph5Error : Can't load MadSpin
             The variable mg5_path might not be correctly configured.
quit
INFO:

INFO:
}
What should I do for that.Forgive that I'm a new bee in this field.
Thanks,
Qiurong

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Dear Qiurong,

MadSpin need to have a full installation of MG5 on your system.
Looks like the code failed to find such installation.

You should be able to provide the correct path to mg5 in the file
Cards/me5_configuration.txt (at the end of the file)

If that path is correctly defined then we need to check what is the value used:

if you do ./bin/madevent
then type
display options[‘mg5_path’]
what does it returned?

(on my system it returns)
> Value of Internal Variable:
> GLOBAL:
> Variable options['mg5_path'] is not a global variable
> LOCAL:
> type : <type 'str'>
> str : /Users/omatt/Documents/eclipse/plugin_mode
> DOC : str(object='') -> string
>
> Return a nice string representation of the object.
> If the argument is a string, the return value is the same object.
> EXTERNAL:
> Variable options[‘mg5_path'] is not a external variable

Cheers,

Olivier

> On May 6, 2016, at 03:02, QiurongMou <email address hidden> wrote:
>
> New question #293355 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/293355
>
> Dear Mad team,
> When I run a process with Madspin on,it turn out to be that
> {
> reweight -from_cards
> decay_events -from_cards
> Error detected in "generate_events run_02"
> write debug file /home/phy/MG5_aMC_v2_3_3/test2/run_02_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/madgraph5
> MadGraph5Error : Can't load MadSpin
> The variable mg5_path might not be correctly configured.
> quit
> INFO:
>
> INFO:
> }
> What should I do for that.Forgive that I'm a new bee in this field.
> Thanks,
> Qiurong
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
QiurongMou (qiurongmou) said :
#2

Dear Olivier,

I checked that my path of madspin was correct,
when I type
display options mg5_path
it returned
{
 Run Options
                              -----------
               stdout_level : None

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None
               cluster_size : 100
              cluster_queue : madgraph
                    nb_core : 2 (user set)
               cluster_time : None
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /home/phy/MG5_aMC_v2_3_3/pythia-pgs (user set)
                    td_path : None (user set)
               delphes_path : /home/phy/MG5_aMC_v2_3_3/Delphes (user set)
                thepeg_path : None (user set)
               cluster_type : condor
        exrootanalysis_path : None (user set)
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : None (user set)
                     lhapdf : lhapdf-config
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 0 (user set)
           cluster_nb_retry : 1
                    timeout : 60
               cpp_compiler : None

}
when I type
display variable mg5_path
it returned
{
Value of Internal Variable:
GLOBAL:
Variable mg5_path is not a global variable
LOCAL:
Variable mg5_path is not a local variable
EXTERNAL:
Variable mg5_path is not a external variable
}
What shou I do?

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Sorry my fault the correct syntax is

display variable options[‘mg5_path’]

Cheers,

Olivier

> On May 7, 2016, at 03:22, QiurongMou <email address hidden> wrote:
>
> Question #293355 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293355
>
> Status: Answered => Open
>
> QiurongMou is still having a problem:
> Dear Olivier,
>
> I checked that my path of madspin was correct,
> when I type
> display options mg5_path
> it returned
> {
> Run Options
> -----------
> stdout_level : None
>
> MadEvent Options
> ----------------
> automatic_html_opening : False (user set)
> notification_center : True
> cluster_temp_path : None
> cluster_memory : None
> cluster_size : 100
> cluster_queue : madgraph
> nb_core : 2 (user set)
> cluster_time : None
> run_mode : 2
>
> Configuration Options
> ---------------------
> text_editor : None
> cluster_local_path : /cvmfs/cp3.uclouvain.be/madgraph/
> cluster_status_update : (600, 30)
> pythia8_path : None (user set)
> hwpp_path : None (user set)
> pythia-pgs_path : /home/phy/MG5_aMC_v2_3_3/pythia-pgs (user set)
> td_path : None (user set)
> delphes_path : /home/phy/MG5_aMC_v2_3_3/Delphes (user set)
> thepeg_path : None (user set)
> cluster_type : condor
> exrootanalysis_path : None (user set)
> eps_viewer : None
> web_browser : None
> syscalc_path : None (user set)
> madanalysis_path : None (user set)
> lhapdf : lhapdf-config
> f2py_compiler : None
> hepmc_path : None (user set)
> cluster_retry_wait : 300
> fortran_compiler : None
> auto_update : 0 (user set)
> cluster_nb_retry : 1
> timeout : 60
> cpp_compiler : None
>
> }
> when I type
> display variable mg5_path
> it returned
> {
> Value of Internal Variable:
> GLOBAL:
> Variable mg5_path is not a global variable
> LOCAL:
> Variable mg5_path is not a local variable
> EXTERNAL:
> Variable mg5_path is not a external variable
> }
> What shou I do?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
QiurongMou (qiurongmou) said :
#4

Hi Olivier,
I put the correct syntax,and have the same result.
{
Value of Internal Variable:
GLOBAL:
Variable options['mg5_path'] is not a global variable
LOCAL:
    type : <type 'str'>
    str : /home/phy/MG5_aMC_v2_3_3
    DOC : str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
EXTERNAL:
Variable options['mg5_path'] is not a external variable
}
Qiurong

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

Thanks

so this sounds something more complicated. Can I ask you to try
2.4.0.beta?
 https://launchpad.net/mg5amcnlo/2.0/2.3.0/+download/MG5_aMC_v2.4.0.beta.tar.gz

This kind of remind me an old thread which means that it might be fixed in that version.

Thanks,

Olivier

Revision history for this message
QiurongMou (qiurongmou) said :
#6

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
QiurongMou (qiurongmou) said :
#7

Dear Olivier, <br/>May I ask you another question?<br/>In the first question I asked you for ggF to generate the H &gt; WW &gt;vl vl channel's signal.<br/>You have told me that import the model loop_qcd_qed <br/>generate g g &gt; h [QCD]<br/>and set MadSpin on,<br/>then set spinmode None<br/>decay h &gt; vl vl~/z[QCD] in the madspin.card<br/><br/>But I'm doubut that wether the decay belong to the WW&gt;vlvl~,what's more W is charged if it decay into vl/vl~ will company with a l+/l- .At there you seems to not consider the pilot process,I want to know that if there exists some error?And if I set the ebeam at 13TeV,is that still represent the ebeam of proton?<br/>Waiting for you response.<br/>Thanks,<br/>Qiurong
At 2016-05-08 09:50:22, "牟秋蓉" <15223743819@163.com> wrote:
>Dear Olivier,<br/>Thankyou very much.Taht solved my problem.
>At 2016-05-08 01:27:29, "Olivier Mattelaer" <email address hidden> wrote:
>>Your question #293355 on MadGraph5_aMC@NLO changed:
>>https://answers.launchpad.net/mg5amcnlo/+question/293355
>>
>> Status: Open => Answered
>>
>>Olivier Mattelaer proposed the following answer:
>>Thanks
>>
>>so this sounds something more complicated. Can I ask you to try
>>2.4.0.beta?
>> https://launchpad.net/mg5amcnlo/2.0/2.3.0/+download/MG5_aMC_v2.4.0.beta.tar.gz
>>
>>This kind of remind me an old thread which means that it might be fixed
>>in that version.
>>
>>Thanks,
>>
>>Olivier
>>
>>--
>>If this answers your question, please go to the following page to let us
>>know that it is solved:
>>https://answers.launchpad.net/mg5amcnlo/+question/293355/+confirm?answer_id=4
>>
>>If you still need help, you can reply to this email or go to the
>>following page to enter your feedback:
>>https://answers.launchpad.net/mg5amcnlo/+question/293355
>>
>>You received this question notification because you asked the question.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#8

Could you re-ask your question, for some reason, you have a lot of formatting issue.

Cheers,

Olivier

Revision history for this message
QiurongMou (qiurongmou) said :
#9

Dear Olivier,
I'm sorry about that my formatt bothered you.

In the first question I asked you for ggF to generate the H > WW >vl vl channel's signal.
You have told me that import the model loop_qcd_qed
generate g g>h [QCD]
and set MadSpin on,
then set spinmode None
decay h > vl vl~/z[QCD] in the madspin.card

But I'm doubut that wether the decay belong to the WW>vlvl~,and what's more W is charged if it decay into vl/vl~ will company with a l+/l- .At there you seems to not consider the pilot process,I want to know that if there exists some error?And if I set the ebeam at 13TeV,is that still represent the ebeam of proton?
Waiting for you response.
Thanks,
Qiurong

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10

I think that I understand your question.

In your other thread you ask for the Higgs decay in two neutrino via 2 W bosons.
The only way to do that is via a (QED) W loop. Is that not the decay that you wanted?
Did you wanted the 4 body decay instead.
In that case in MadSpin, you can ask for
H > vl vl~ l l~ / Z
(and you are not force to use the loop_qcd_qed_sm model)
As for the other syntax the Higgs will always be onshell.

ebeam1 and ebeam2 are the total energy of the first/second beam.
If you set lpp1/lpp2 to 1 then this is the energy of a proton beam.

Revision history for this message
QiurongMou (qiurongmou) said :
#11

Thankyou very much,Olivier,I think I should have a try use the strategy you said.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#12

Can you help with this problem?

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

To post a message you must log in.