Scan syntax seemingly not working in MadGraph 2.2.3

Asked by pvischia

Hi,

I did put the few files I will be referring to at the link: http://vischia.web.cern.ch/vischia/madgraphIssue/

I want to simulate ee --> h1 Z --> bbar Z events at an e+e- collider, in the 2HDM type II model. You can find the directory containing the model at the given link.

I want to make a scan over tanbeta, and modify the sinbma from 0.1 to 1.

What I do is outlined in the setCards.sh script you can find at the given link.

Briefly, I run mg5_aMC on the proc_card.dat, I copy the madspin card at the output directory (because somehow madgraph does not pick up the existence of madspin_card.dat in the directory I run proc_card.dat from), then I edit the param_card.dat file that has been created in the output directory (Rui/Cards/param_card.dat) for adding the scan, resulting in having the lines

Block frblock
    1 scan:[1, 2, 3] # tanbeta
    2 1.0 # sinbma

in the file (you can find the resulting Rui/Cards/param_card.dat at the given link under the name resulting_param_card.dat), and then i cd into the output directory and run generate_events.

Unfortunately, after opening the web page and while compiling the code, madgraph fails with the following error:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
   gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
     ../param_card.inc:11.6:
         Included at param_read.inc:5:
         Included at rw_para.f:25:

           MDL_TANBETA = SCAN:[1, 2, 3]
           1
     Error: Unclassifiable statement at (1)
     makefile:23: recipe for target 'rw_para.o' failed
     make[1]: *** [rw_para.o] Error 1
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Does anyone have any hint on how can I solve this? I searched several times but could not find a solution.

I am really stuck.

Thanks in advance for any suggestion!

Best regards,
Pietro

Question information

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

Hi,

This syntax was introduced in 2.3.3.

So you can either update your version of MG5, or not using the scan function and follow the instructions here:
https://answers.launchpad.net/mg5amcnlo/+faq/2186

Cheers,

Olivier

> On Feb 25, 2016, at 00:32, pvischia <email address hidden> wrote:
>
> New question #286764 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/286764
>
> Hi,
>
> I did put the few files I will be referring to at the link: http://vischia.web.cern.ch/vischia/madgraphIssue/
>
> I want to simulate ee --> h1 Z --> bbar Z events at an e+e- collider, in the 2HDM type II model. You can find the directory containing the model at the given link.
>
> I want to make a scan over tanbeta, and modify the sinbma from 0.1 to 1.
>
> What I do is outlined in the setCards.sh script you can find at the given link.
>
> Briefly, I run mg5_aMC on the proc_card.dat, I copy the madspin card at the output directory (because somehow madgraph does not pick up the existence of madspin_card.dat in the directory I run proc_card.dat from), then I edit the param_card.dat file that has been created in the output directory (Rui/Cards/param_card.dat) for adding the scan, resulting in having the lines
>
> Block frblock
> 1 scan:[1, 2, 3] # tanbeta
> 2 1.0 # sinbma
>
> in the file (you can find the resulting Rui/Cards/param_card.dat at the given link under the name resulting_param_card.dat), and then i cd into the output directory and run generate_events.
>
> Unfortunately, after opening the web page and while compiling the code, madgraph fails with the following error:
>
> """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o rw_para.o rw_para.f
> ../param_card.inc:11.6:
> Included at param_read.inc:5:
> Included at rw_para.f:25:
>
> MDL_TANBETA = SCAN:[1, 2, 3]
> 1
> Error: Unclassifiable statement at (1)
> makefile:23: recipe for target 'rw_para.o' failed
> make[1]: *** [rw_para.o] Error 1
> """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
>
>
> Does anyone have any hint on how can I solve this? I searched several times but could not find a solution.
>
> I am really stuck.
>
> Thanks in advance for any suggestion!
>
> Best regards,
> Pietro
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
pvischia (pietro-vischia) said :
#2

Dammit, I overlooked the "How to make a parameter scan", I did read 2.2.3 instead of 2.3.3.

My apologies for the noise :(

With 2.3.3 indeed it does work fine.

Thanks!

Best,
Pietro