CalcHep crashed with segmentation fault for some symbolic calculations

Asked by Nausheen Shah

I am trying to output symbolic cross-sections using the NMSSM model files. For some processes I can generate the Mathematica code perfectly fine (~o1, ~o1 -> t, T), but for others (which I am actually interested in), calchep dies, for example for (~o1, ~o1 -> h1, ha). For these same processes, I am able to produce Form or Reduce code without any problems. The error I get is

./calchep: line 50: 15392 Segmentation fault: 11 $CALCHEP/bin/s_calchep $*
CalcHEP has finished with error code 139

This was in particular with the model 6 (NMSSM(../spect.dat)+hgg).

Please help!

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Pukhov
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

It seems, I know about this bug.
Try to load file
*http://theory.sinp.msu.ru/~pukhov/math_out.c*
It has to be disposed in
*c_source/symb/out/*
To make changes active call
* make*
in
* c_source/symb*

If it does not help let me know, please, and I'll fix the bug.

Best
    Alexander Pukhov

On 12/15/2017 01:37 AM, Nausheen Shah wrote:
> New question #661788 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/661788
>
> I am trying to output symbolic cross-sections using the NMSSM model files. For some processes I can generate the Mathematica code perfectly fine (~o1, ~o1 -> t, T), but for others (which I am actually interested in), calchep dies, for example for (~o1, ~o1 -> h1, ha). For these same processes, I am able to produce Form or Reduce code without any problems. The error I get is
>
> ./calchep: line 50: 15392 Segmentation fault: 11 $CALCHEP/bin/s_calchep $*
> CalcHEP has finished with error code 139
>
> This was in particular with the model 6 (NMSSM(../spect.dat)+hgg).
>
> Please help!
>
>

Revision history for this message
Nausheen Shah (nausheen) said :
#2

Thank you for your fast response. Unfortunately it doesn't seem to have done anything.

I downloaded the new math_out.c file, saved it in c_source/symb/out/ (saved original file there as a txt file) and ran make in c_source/symb. Same error message.

Then I also did make clean and make again in the main calchep folder (making my workdir again etc), to see if that would help. Same error.

I should add, the symb1.m is created in the results folder but there is nothing written to it before the crash.

Revision history for this message
Nausheen Shah (nausheen) said :
#3

Also, I just looked at the diff between the original math_out.c file that was in my folder compared to the one I downloaded from the link you sent, and there doesn't seem to be any difference.

Revision history for this message
Best Alexander Pukhov (pukhov) said :
#4

OK,
       Try again
*http://theory.sinp.msu.ru/~pukhov/math_out.c
**http://theory.sinp.msu.ru/~pukhov/read_mdl.c

First one should be in c_source/symb/out
Second one in **c_source/symb
*
**read_mdl.c only improves numerical value for sqrt2.

*****math_out.c solves problem with definition of parameters

la1 -> slhaValFormat["EFFECTIVE_COUPLINGS",QSUSY,"L1%lf"]

Problem was caused by % inside text string. I don't see any way to
use such parameters in Mathematica.

Best
    Alexander Pukhov

***
On 12/15/2017 04:52 PM, Nausheen Shah wrote:
> Question #661788 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/661788
>
> Nausheen Shah gave more information on the question:
> Also, I just looked at the diff between the original math_out.c file
> that was in my folder compared to the one I downloaded from the link you
> sent, and there doesn't seem to be any difference.
>

Revision history for this message
Nausheen Shah (nausheen) said :
#5

Thanks Alexander Pukhov, that solved my question.