Issue with standalone_cpp subroutine

Asked by Javier

Dear Madgraph,

I have been using Madgraph (subroutine standalone_cpp) to get the squared matrix elements for a SUSY UFO model for dark matter. However I got an error.

I did this:

Import model MSSM_UFO2 --modelname
generate n1 n1 > h1 h1
output standalone_cpp nnhh

and, I got:

MG5_aMC>import model MSSM_UFO2/ --modelname
Kept definitions of multiparticles p / j / l+ / l- / vl / vl~ unchanged
Defined multiparticle all = g a nu1 nu2 nu3 nu1bar nu2bar nu3bar go sd1 sd2 sd3 sd4 sd5 sd6 su1 su2 su3 su4 su5 su6 sd1c sd2c sd3c sd4c sd5c sd6c su1c su2c su3c su4c su5c su6c d1 d2 d3 u1 u2 u3 d1bar d2bar d3bar u1bar u2bar u3bar sv1 sv2 sv3 se1 se2 se3 se4 se5 se6 h1 h2 ah2 hm2c z wmc sv1c sv2c sv3c se1c se2c se3c se4c se5c se6c hm2 wm n1 n2 n3 n4 c1bar c2bar e1 e2 e3 c1 c2 e1bar e2bar e3bar
MG5_aMC>generate n1 n1 > h1 h1
INFO: Checking for minimal orders which gives processes.
INFO: Please specify coupling orders to bypass this step.
INFO: Trying process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 WEIGHTED<=4 @1
INFO: Process has 10 diagrams
1 processes with 10 diagrams generated in 0.879 s
Total: 1 processes with 10 diagrams
MG5_aMC>output standalone_cpp nnhh
INFO: Creating subdirectories in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh
INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 WEIGHTED<=4 @1
INFO: Processing color information for process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 @1
INFO: Creating files in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh/SubProcesses/P1_Sigma_MSSM_UFO2_n1n1_h1h1
INFO: Created files CPPProcess.h and CPPProcess.cc in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh/SubProcesses/P1_Sigma_MSSM_UFO2_n1n1_h1h1/.
Generated helas calls for 1 subprocesses (10 diagrams) in 0.014 s
Error detected in "output standalone_cpp nnhh"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : Only support for SLHA blocks with 1 or 2 indices

Nonetheless, when I did the same but with output "standalone" only (no "_cpp") everything works well. It is also ok when I used without standalone subrutine.

I would very appreciate your help in fixing this error.

Best regards,

Javier.

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

Hi,

Not sure how complicated it is to fix this.
My C++ knowledge might be an issue here.
The easiest might be to change the model to avoid external block of parameter with 3 index.

Cheers,

Olivier

> On 26 Aug 2021, at 18:35, Javier <email address hidden> wrote:
>
> New question #698522 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/698522
>
> Dear Madgraph,
>
> I have been using Madgraph (subroutine standalone_cpp) to get the squared matrix elements for a SUSY UFO model for dark matter. However I got an error.
>
> I did this:
>
> Import model MSSM_UFO2 --modelname
> generate n1 n1 > h1 h1
> output standalone_cpp nnhh
>
> and, I got:
>
> MG5_aMC>import model MSSM_UFO2/ --modelname
> Kept definitions of multiparticles p / j / l+ / l- / vl / vl~ unchanged
> Defined multiparticle all = g a nu1 nu2 nu3 nu1bar nu2bar nu3bar go sd1 sd2 sd3 sd4 sd5 sd6 su1 su2 su3 su4 su5 su6 sd1c sd2c sd3c sd4c sd5c sd6c su1c su2c su3c su4c su5c su6c d1 d2 d3 u1 u2 u3 d1bar d2bar d3bar u1bar u2bar u3bar sv1 sv2 sv3 se1 se2 se3 se4 se5 se6 h1 h2 ah2 hm2c z wmc sv1c sv2c sv3c se1c se2c se3c se4c se5c se6c hm2 wm n1 n2 n3 n4 c1bar c2bar e1 e2 e3 c1 c2 e1bar e2bar e3bar
> MG5_aMC>generate n1 n1 > h1 h1
> INFO: Checking for minimal orders which gives processes.
> INFO: Please specify coupling orders to bypass this step.
> INFO: Trying process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 WEIGHTED<=4 @1
> INFO: Process has 10 diagrams
> 1 processes with 10 diagrams generated in 0.879 s
> Total: 1 processes with 10 diagrams
> MG5_aMC>output standalone_cpp nnhh
> INFO: Creating subdirectories in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh
> INFO: Organizing processes into subprocess groups
> INFO: Generating Helas calls for process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 WEIGHTED<=4 @1
> INFO: Processing color information for process: n1 n1 > h1 h1 BSM<=1 HIG<=1 HIW<=1 @1
> INFO: Creating files in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh/SubProcesses/P1_Sigma_MSSM_UFO2_n1n1_h1h1
> INFO: Created files CPPProcess.h and CPPProcess.cc in directory /home/javier/Documentos/MG5_aMC_v2_9_4/nnhh/SubProcesses/P1_Sigma_MSSM_UFO2_n1n1_h1h1/.
> Generated helas calls for 1 subprocesses (10 diagrams) in 0.014 s
> Error detected in "output standalone_cpp nnhh"
> write debug file MG5_debug
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : Only support for SLHA blocks with 1 or 2 indices
>
>
> Nonetheless, when I did the same but with output "standalone" only (no "_cpp") everything works well. It is also ok when I used without standalone subrutine.
>
> I would very appreciate your help in fixing this error.
>
> Best regards,
>
> Javier.
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Javier (mossbauer00) said :
#2

Dear Olivier,

This error is in the block of effective coupling between Higgs - Photons / gluons generated in SARAH - SPheno. For my work, I do not need this vertices so I eliminated all this part (from parameters.py, couplings.py and vectices.py) and now everything works well.

Thanks a lot.

Revision history for this message
Javier (mossbauer00) said :
#3

Thanks Olivier Mattelaer, that solved my question.