Error while reading SLHA2 file in MG 2.5beta

Asked by Jack Y. Araz

Hi

I was trying to launch the model that I created from SARAH (works fine in previous version of MG5, importing as: import model <NAME> --modelname) However when I launch to create events for a specific model it couldn't read SLHA2 file created by SPheno (all spheno flags are changed for madgraph) Note that I also tried to import model with restricted parameter file (import model <NAME>-<restricted dat name>) However it gave me the same error. Do I need to run a specific script for SLHA2 format?

Thanks

Error detected in sub-command import model UMSSM-psi
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : Invalid restriction card (not same block)
     set(['ye', 'umix', 'minpar', 'snumix', 'uulmix', 'addpars', 'fwcoef', 'msu2', 'flavorkitqfv', 'nmssmrun', 'loopmsoft', 'gauge', 'lsp', 'msd2', 'chargemix', 'mv2', 'sminputs', 'msl2', 'udrmix', 'higgslhc14', 'nmnmix', 'tu', 'selmix', 'treenmssmrun', 'higgslhc13', 'nmamix', 'higgslhc8', 'loopnmssmrun', 'effhiggscouplings', 'udlmix', 'td', 'te', 'higgslhc7', 'usqmix', 'imfwcoef', 'uelmix', 'snurmix', 'dsqmix', 'msoft', 'higgsfcc100', 'phases', 'yd', 'spheno', 'angles', 'snulmix', 'tv', 'modsel', 'treemsoft', 'yu', 'mse2', 'yv', 'gaugegut', 'uurmix', 'decay', 'sphenolowenergy', 'nmhmix', 'extpar', 'vmix', 'msq2', 'mass', 'uermix', 'flavorkitlfv', 'xcharge', 'hmix']) != set(['imyu', 'imsnulmix', 'imyv', 'snumix', 'imuelmix', 'umix', 'imuurmix', 'imye', 'nmssmrun', 'nmamix', 'gauge', 'uulmix', 'imusqmix', 'nmhmix', 'effhiggscouplings', 'imnmssmrun', 'phases', 'decay', 'tv', 'nmnmix', 'tu', 'selmix', 'imnmnmix', 'imnmamix', 'dsqmix', 'imuulmix', 'imuermix', 'td', 'te', 'imtd', 'usqmix', 'imselmix', 'uelmix', 'snurmix', 'imsnumix', 'imudrmix', 'ye', 'yd', 'imnmhmix', 'imtv', 'imdsqmix', 'imtu', 'angles', 'sminputs', 'yu', 'imsnurmix', 'imvmix', 'imte', 'imudlmix', 'uurmix', 'udlmix', 'imumix', 'yv', 'vmix', 'udrmix', 'imphases', 'mass', 'imyd', 'uermix', 'snulmix', 'xcharge', 'hmix']).
     Missing block: imyu,imsnulmix,imyv,imuelmix,imuurmix,imye,imyd,imnmssmrun,imudlmix,imnmnmix,imnmamix,imuulmix,imuermix,imtd,imte,imselmix,imsnumix,imudrmix,imnmhmix,imtv,imtu,imsnurmix,imvmix,imumix,imusqmix,imphases,imdsqmix
     Unknown block : addpars,msoft,msu2,flavorkitqfv,loopmsoft,flavorkitlfv,lsp,msd2,chargemix,mv2,msl2,msq2,higgslhc14,minpar,treenmssmrun,higgslhc13,higgslhc8,higgslhc7,imfwcoef,spheno,fwcoef,higgsfcc100,modsel,mse2,gaugegut,sphenolowenergy,loopnmssmrun,extpar,treemsoft

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
Valentin Hirschi (valentin-hirschi) said :
#1

Even if you do not import your model with the suffix '-<restricted dat name>', MG5aMC will load the model with the restrict card called 'restrict_default.dat' if present in the UFO model directory.

If you want to make sure that you don't load any restriction card, then use 'import <modelname>-full'.

Now, it seems that your SARAH model does not define it's parameters (see file parameters.py in the UFO model) in accordance with SLHA2 or you Spheno spectrum output does not comply to it.
Not being a SUSY expert, I cannot say.

In any case, from a technical point of view, what you must do is make sure that the param_card you obtained from SPHENO lines up with what is expected from the UFO model generated by SARAH.
You can see directly what kind of param_card is expected by this model by looking at the file param_card.dat produced by running 'python write_param_card.py' in that UFO model.

Revision history for this message
Jack Y. Araz (jackaraz) said :
#2

The problem is, very same card and model is perfectly working in MG 2.4 but it doesn't work for MG 2.5. I'm running everything exactly the same way, where I'm importing model by 'import model UMSSM --modelname'.

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

Hi jackaraz,

I'm worried that it was indeed going trough in 2.4 but that your entry was just discarded and only default value was used.
From what I see from your message, the most reasonable behavior is indeed to crash since 2.4 can produce kind of un-expected results.

Cheers,

Olivier

Revision history for this message
Jack Y. Araz (jackaraz) said :
#4

Dear Oliver

Yes exactly,for instance some imaginary mixing martices were taken as default since SPheno was not able to calculate them the phase difference were given to the other matrices:

From the same run in MG2.4: 'WARNING: information about "imuurmix [3, 3]" is missing (full block missing) using default value: 0.0.'

or some of the decays which does not exist and shouldn't exist in my SLHA file:

From MG2.4: 'WARNING: information about "decay [1000012]" is missing using default value: 0.0. '

And this is stated in SARAH/SPheno manual as well in the section for MG5. But now it doesn't read it at all, not just imaginary matrices but none of the blocks. Isn't there any way to make it run, a script that can transfer SLHA2 to SLHA1 maybe?

Thanks
Best regards

Jack

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

Hi,

This has nothing to do with SLHA1/2.
I think the best would be to ask the SARAH/SPHENO author to produce/expect consistent input.
I'm going to consider add an option to allow to avoid the problem. But I'm not yet sure in which format it would be.
(I'm thinking about a new functions "update missing")

Cheers,

Olivier

Revision history for this message
Florian Staub (flstaub) said :
#6

Hi,

> I think the best would be to ask the SARAH/SPHENO author
> to produce/expect consistent input.

I'm sorry to say but I don't think the problem is on SARAH/SPheno side, but the MG SLHA reader does not follow the official SLHA guidelines (see 0801.0045):

1) Unknown blocks shall just be ignored
2) The block containing the imaginary parts (IMXYZ) of parameters need just to be given if CP violation is turned on via MODSEL 5, otherwise they are taken to be zero.

Of course, it's not a big deal to add a flag to SARAH/SPheno to write out always the zeros for the imaginary parts even if the user has turned off CPV. However, this blows up the spectrum file unnecessarily and I think it would be better to follow the SLHA conventions since they are there...

Best,
Florian

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

Hi,

> However, this blows up the spectrum file unnecessarily

This is obviously a matter taste, I personally prefer explicit rather than implicit.

In any case, I think that the having a lot of warning is worst than having longer param_card.
(and not having warning for missing parameter is certainly not an option).

> 1) Unknown blocks shall just be ignored

This is the case. A single warning is raise in that case, such that the user is aware that those information are unexpected
not used in the computation.

> 2) The block containing the imaginary parts (IMXYZ) of parameters need just to be given if CP violation is turned on via MODSEL 5, otherwise they are taken to be zero.

Such type of functionality is not supported by the UFO format.
In that type of model, we are not allowed to have optional parameter and even less optional parameter if some other parameter are at some given value.
We can clearly propose such extension by having one additional entry in the parameters.py, something like:
optional=EXPR
as a new entry in the parameters.py
(for example)
optional=’True’
optional=‘False’
optional=‘modsel==5’
What do you think of that option?

I’ll implement today a work-around independently of this UFO proposal.
I will simply introduce a new command [to the card editor option]
“update missing“ which will simply automatically write all the missing parameter to their default value in the current param_card.

Cheers,

Olivier

> On Sep 29, 2016, at 17:27, Florian Staub <email address hidden> wrote:
>
> Question #402462 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/402462
>
> Florian Staub posted a new comment:
> Hi,
>
>> I think the best would be to ask the SARAH/SPHENO author
>> to produce/expect consistent input.
>
> I'm sorry to say but I don't think the problem is on SARAH/SPheno side,
> but the MG SLHA reader does not follow the official SLHA guidelines (see
> 0801.0045):
>
> 1) Unknown blocks shall just be ignored
> 2) The block containing the imaginary parts (IMXYZ) of parameters need just to be given if CP violation is turned on via MODSEL 5, otherwise they are taken to be zero.
>
> Of course, it's not a big deal to add a flag to SARAH/SPheno to write
> out always the zeros for the imaginary parts even if the user has turned
> off CPV. However, this blows up the spectrum file unnecessarily and I
> think it would be better to follow the SLHA conventions since they are
> there...
>
> Best,
> Florian
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

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

Hi,

The command “update missing” has been pushed in the development version.
Running that command is (at least most of the time) suggested when running into that kind of problem.

Cheers,

Olivier

> On Sep 30, 2016, at 11:02, MATTELAER, OLIVIER P.C. <email address hidden> wrote:
>
> Hi,
>
>> However, this blows up the spectrum file unnecessarily
>
> This is obviously a matter taste, I personally prefer explicit rather than implicit.
>
> In any case, I think that the having a lot of warning is worst than having longer param_card.
> (and not having warning for missing parameter is certainly not an option).
>
>
>> 1) Unknown blocks shall just be ignored
>
> This is the case. A single warning is raise in that case, such that the user is aware that those information are unexpected
> not used in the computation.
>
>> 2) The block containing the imaginary parts (IMXYZ) of parameters need just to be given if CP violation is turned on via MODSEL 5, otherwise they are taken to be zero.
>
> Such type of functionality is not supported by the UFO format.
> In that type of model, we are not allowed to have optional parameter and even less optional parameter if some other parameter are at some given value.
> We can clearly propose such extension by having one additional entry in the parameters.py, something like:
> optional=EXPR
> as a new entry in the parameters.py
> (for example)
> optional=’True’
> optional=‘False’
> optional=‘modsel==5’
> What do you think of that option?
>
> I’ll implement today a work-around independently of this UFO proposal.
> I will simply introduce a new command [to the card editor option]
> “update missing“ which will simply automatically write all the missing parameter to their default value in the current param_card.
>
> Cheers,
>
> Olivier
>
>
>
>> On Sep 29, 2016, at 17:27, Florian Staub <email address hidden> wrote:
>>
>> Question #402462 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/402462
>>
>> Florian Staub posted a new comment:
>> Hi,
>>
>>> I think the best would be to ask the SARAH/SPHENO author
>>> to produce/expect consistent input.
>>
>> I'm sorry to say but I don't think the problem is on SARAH/SPheno side,
>> but the MG SLHA reader does not follow the official SLHA guidelines (see
>> 0801.0045):
>>
>> 1) Unknown blocks shall just be ignored
>> 2) The block containing the imaginary parts (IMXYZ) of parameters need just to be given if CP violation is turned on via MODSEL 5, otherwise they are taken to be zero.
>>
>> Of course, it's not a big deal to add a flag to SARAH/SPheno to write
>> out always the zeros for the imaginary parts even if the user has turned
>> off CPV. However, this blows up the spectrum file unnecessarily and I
>> think it would be better to follow the SLHA conventions since they are
>> there...
>>
>> Best,
>> Florian
>>
>> --
>> You received this question notification because you are an answer
>> contact for MadGraph5_aMC@NLO.
>

Revision history for this message
Florian Staub (fnstaub) said :
#9

Hi,

I need to come back to this topic because I recognised that there are new problems showing up with the SLHA interface:
MG is asking now for the Mass and Width of any particle in the model - even if is massless like the photon. Sorry, but that is quite annoying. MG ignores completely, if particles are defined in the UFO file with

(...
mass = Param.ZERO,
width = Param.ZERO,
...)

I made now a workaround on SARAH/SPheno side that this unnecessary information is written on demand to the SLHA file, but I want to encourage you to think again about this policy. You are losing for the MSSM/NMSSM any compatibility with the standard spectrum generators.

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

Hi,

That part was not done by design, it indeed does not make sense to require that.

This will be fixed in 2.5.3.

Cheers,

Olivier

Revision history for this message
Florian Staub (fnstaub) said :
#11

Thanks,
Florian

Can you help with this problem?

Provide an answer of your own, or ask Jack Y. Araz for more information if necessary.

To post a message you must log in.