can not find |cu|, segmentation fault

Asked by ayon patra

Hi,

I am trying to add anew model into calchep but am getting errors. I have tried multiple versions of calchep but getting errors in both of them. I am attaching details of the errors below.

Calchep 3.6.25

  I am trying to add a model into calchep with extra vector-like fermions X0 in an LR scenario. I have written the couplings of this extra fermion with Z_R and also all the couplings of Z_R with the SM fermions. My model files are "ok" when I check them in calchep. I try to generate a process like X0,X0 -> u,U and I get the diagram with Z_R mediator. After squaring the diagram when I try to do "symbolic calculation" or "make&launch n_calchep", it does not do anything just that calculation in progress. If I quit the program at that stage I get:

Font family '-adobe-courier-bold-r-normal--14-*' is empty
Write down your preferable font family in calchep.ini
Use ^+,^> to increase the font size and ^-,^< to decrease it
CalcHEP has finished with error code 80

If I try to do "make n_calchep", the program crashes with the following error message.

Font family '-adobe-courier-bold-r-normal--14-*' is empty
Write down your preferable font family in calchep.ini
Use ^+,^> to increase the font size and ^-,^< to decrease it
can not find |cu|
can not find |cu|
/home/ayon/Software/calchep_3.6.25/lib/n_calchep.o: In function `main':
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:156: undefined reference to `interface_ext'
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:157: undefined reference to `interface_ext'
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:164: undefined reference to `PtrInterface_ext'
collect2: error: ld returned 1 exit status
n_calchep is not created.

OR

Font family '-adobe-courier-bold-r-normal--14-*' is empty
Write down your preferable font family in calchep.ini
Use ^+,^> to increase the font size and ^-,^< to decrease it
/home/ayon/Software/calchep_3.6.25/lib/n_calchep.o: In function `main':
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:156: undefined reference to `interface_ext'
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:157: undefined reference to `interface_ext'
/home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:164: undefined reference to `PtrInterface_ext'
collect2: error: ld returned 1 exit status
n_calchep is not created.

Calchep 3.4.0

When I modify my files to run it with calchep 3.4.0 again I get "ok" while checking the model. Trying to run the same process I can again get till the squared diagram page. Now if I do "make&launch n_calchep" it crashes with the following error message:

Warning Graphical font not found : -adobe-courier-bold-r-normal--14-*
Font "fixed" is used instead
Text font not found : -adobe-courier-bold-r-normal--14-*
Font "fixed" is used instead
./calchep: line 46: 29611 Segmentation fault (core dumped) $CALCHEP/bin/s_calchep $*
CalcHEP has finished with error code 139

Thank you.

Question information

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

1) Font problem
Open file calchep.ini and write

fontFamily *

2) Before you try to compile process, check your model. Use menu

    Edit Model
           Check Model.

You should get some error message.

Best
    Alexander Pukhov

On 05/10/2017 12:44 PM, ayon patra wrote:
> New question #631931 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/631931
>
> Hi,
>
> I am trying to add anew model into calchep but am getting errors. I have tried multiple versions of calchep but getting errors in both of them. I am attaching details of the errors below.
>
> Calchep 3.6.25
>
> I am trying to add a model into calchep with extra vector-like fermions X0 in an LR scenario. I have written the couplings of this extra fermion with Z_R and also all the couplings of Z_R with the SM fermions. My model files are "ok" when I check them in calchep. I try to generate a process like X0,X0 -> u,U and I get the diagram with Z_R mediator. After squaring the diagram when I try to do "symbolic calculation" or "make&launch n_calchep", it does not do anything just that calculation in progress. If I quit the program at that stage I get:
>
> Font family '-adobe-courier-bold-r-normal--14-*' is empty
> Write down your preferable font family in calchep.ini
> Use ^+,^> to increase the font size and ^-,^< to decrease it
> CalcHEP has finished with error code 80
>
> If I try to do "make n_calchep", the program crashes with the following error message.
>
> Font family '-adobe-courier-bold-r-normal--14-*' is empty
> Write down your preferable font family in calchep.ini
> Use ^+,^> to increase the font size and ^-,^< to decrease it
> can not find |cu|
> can not find |cu|
> /home/ayon/Software/calchep_3.6.25/lib/n_calchep.o: In function `main':
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:156: undefined reference to `interface_ext'
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:157: undefined reference to `interface_ext'
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:164: undefined reference to `PtrInterface_ext'
> collect2: error: ld returned 1 exit status
> n_calchep is not created.
>
> OR
>
> Font family '-adobe-courier-bold-r-normal--14-*' is empty
> Write down your preferable font family in calchep.ini
> Use ^+,^> to increase the font size and ^-,^< to decrease it
> /home/ayon/Software/calchep_3.6.25/lib/n_calchep.o: In function `main':
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:156: undefined reference to `interface_ext'
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:157: undefined reference to `interface_ext'
> /home/ayon/Software/calchep_3.6.25/c_source/num/n_calchep.c:164: undefined reference to `PtrInterface_ext'
> collect2: error: ld returned 1 exit status
> n_calchep is not created.
>
>
> Calchep 3.4.0
>
> When I modify my files to run it with calchep 3.4.0 again I get "ok" while checking the model. Trying to run the same process I can again get till the squared diagram page. Now if I do "make&launch n_calchep" it crashes with the following error message:
>
> Warning Graphical font not found : -adobe-courier-bold-r-normal--14-*
> Font "fixed" is used instead
> Text font not found : -adobe-courier-bold-r-normal--14-*
> Font "fixed" is used instead
> ./calchep: line 46: 29611 Segmentation fault (core dumped) $CALCHEP/bin/s_calchep $*
> CalcHEP has finished with error code 139
>
> Thank you.
>
>
>
>

Revision history for this message
ayon patra (ayonpatra84) said :
#2

Hi,

  Thanks for the reply but I am not so much worried about the font as other processes run without the correct font.

  My main problem is that the process is not running. I have checked the model file using the Edit Model -> Check Model and it says "Model is ok" but still it does not compile as I had written above. I am not sure if I am doing something wrong or if it is a bug in Calchep.

Thank you.

Best Regards,
Ayon

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

ok, send me your model.

<email address hidden>

Best
    Alexander Pukhov

On 05/11/2017 03:28 PM, ayon patra wrote:
> Question #631931 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/631931
>
> Status: Answered => Open
>
> ayon patra is still having a problem:
> Hi,
>
> Thanks for the reply but I am not so much worried about the font as
> other processes run without the correct font.
>
> My main problem is that the process is not running. I have checked the
> model file using the Edit Model -> Check Model and it says "Model is ok"
> but still it does not compile as I had written above. I am not sure if I
> am doing something wrong or if it is a bug in Calchep.
>
> Thank you.
>
> Best Regards,
> Ayon
>

Revision history for this message
ayon patra (ayonpatra84) said :
#4

Problem has been solved. I was using g(m*) instead of G(m*) in the lagrangian file. Thanks a lot Alexander.

Regards,
Ayon