Problem with n_calchep

Asked by Jorge Romao on 2020-05-09

Dear Alexander

Thanks for your answer. But I still think there is a problem. In fact if I "Make&Launch n_calchep" I get that message but "n_calchep" is created and runs with no problem.

However if instead of "Make&Launch _ncalchep" I just do "Make n_calchep" the windows opens but it crashes with

PROCESS: Z->2*x
Segmentation fault (core dumped)

(I was just doing the default process eE-> mM)

This did not happen in previous versions.

Best

Jorge

Question information

Language:
English Edit question
Status:
Answered
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#1

Dear Jorge,

thanks  we will check this and let you know.

You are working with SM, right?

Which operation system do you have?

Cheers,

Sasha

On 09/05/2020 19:27, Jorge Romao wrote:
> New question #690582 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/690582
>
> Dear Alexander
>
> Thanks for your answer. But I still think there is a problem. In fact if I "Make&Launch n_calchep" I get that message but "n_calchep" is created and runs with no problem.
>
> However if instead of "Make&Launch _ncalchep" I just do "Make n_calchep" the windows opens but it crashes with
>
> PROCESS: Z->2*x
> Segmentation fault (core dumped)
>
> (I was just doing the default process eE-> mM)
>
> This did not happen in previous versions.
>
> Best
>
> Jorge
>
--
______________________________________________________________________
Prof. Alexander S Belyaev (<email address hidden>)
https://www.hep.phys.soton.ac.uk/content/alexander-belyaev

School of Physics & Astronomy, University of Southampton
Office 5047, SO17 1BJ, TEL: +44 23805 98509, FAX: +44 23805 93910
.....................................................................
Particle Physics Department, Rutherford Appleton Laboratory
Didcot, OX11 0QX, TEL: +44 12354 45562, FAX: +44 12354 46733
.....................................................................
CERN, CH-1211 Geneva 23, Switzerland
Office 40/1-B20, Mailbox: E27910, TEL: +41 2276 71642
______________________________________________________________________

Revision history for this message
Jorge Romao (jorge-romao-y) said :
#2

Hi Sasha

Yes with SM. I am teaching and I use CalcHEP in the class. It is very
useful, thanks for the good work.

Best

Jorge

On 09/05/20 19:44, Alexander Belyaev wrote:
> Your question #690582 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/690582
>
> Status: Open => Answered
>
> Alexander Belyaev proposed the following answer:
> Dear Jorge,
>
> thanks  we will check this and let you know.
>
> You are working with SM, right?
>
> Which operation system do you have?
>
> Cheers,
>
> Sasha
>
>
> On 09/05/2020 19:27, Jorge Romao wrote:
>> New question #690582 on CalcHEP:
>> https://answers.launchpad.net/calchep/+question/690582
>>
>> Dear Alexander
>>
>> Thanks for your answer. But I still think there is a problem. In fact if I "Make&Launch n_calchep" I get that message but "n_calchep" is created and runs with no problem.
>>
>> However if instead of "Make&Launch _ncalchep" I just do "Make n_calchep" the windows opens but it crashes with
>>
>> PROCESS: Z->2*x
>> Segmentation fault (core dumped)
>>
>> (I was just doing the default process eE-> mM)
>>
>> This did not happen in previous versions.
>>
>> Best
>>
>> Jorge
>>

--
Address:

Instituto Superior Tecnico
Departamento de Fisica
Av. Rovisco Pais, 1
1049-001 Lisboa, Portugal

Tel. +351 21 841 7778 (Office)
Fax +351 21 841 9143 (Dep. de Fisica)
e-mail: <email address hidden>
homepage: http://porthos.tecnico.ulisboa.pt/~romao

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#4

Sear Jorge,
could you check,pleae if the problem is solved in the latest CalcHEP version.
Sorry for slow reply,
Regards,
Sasha

Revision history for this message
Jorge Romao (jorge-romao-y) said :
#5

Dear Sasha

Thanks for your email. However it did not solved the problem. I
downloaded version 3.8.5. I run e E -> m M. I got:

$ ./calchep
ar: creating ld1.a
ar: creating lib_0.a
results/n_calchep is generated
n_calchep is created
$
$ cd results/
$ ./n_calchep
PROCESS: Z->2*x
Segmentation fault (core dumped)

It is better than before. I got

PROCESS: Z->2*xSegmentation fault (core dumped)

when choosing  Make n_calchep. Now it crashes when I try to run inside
results

However choosing  Make&Launch n_calchep works fine (as before)

Best

Jorge

On 14/07/20 15:15, Alexander Belyaev wrote:
> Your question #690582 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/690582
>
> Status: Expired => Answered
>
> Alexander Belyaev changed the question status:
> Sear Jorge,
> could you check,pleae if the problem is solved in the latest CalcHEP version.
> Sorry for slow reply,
> Regards,
> Sasha
>

--
Address:

Instituto Superior Tecnico
Departamento de Fisica
Av. Rovisco Pais, 1
1049-001 Lisboa, Portugal

Tel. +351 21 841 7778 (Office)
Fax +351 21 841 9143 (Dep. de Fisica)
e-mail: <email address hidden>
homepage: http://porthos.tecnico.ulisboa.pt/~romao

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#6

Thanks Jorge,

will take a close look now.

Cheers,

Sasha

On 2020-07-14 15:55, Jorge Romao wrote:
> Question #690582 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/690582
>
> Status: Answered => Open
>
> Jorge Romao is still having a problem:
> Dear Sasha
>
> Thanks for your email. However it did not solved the problem. I
> downloaded version 3.8.5. I run e E -> m M. I got:
>
> $ ./calchep
> ar: creating ld1.a
> ar: creating lib_0.a
> results/n_calchep is generated
> n_calchep is created
> $
> $ cd results/
> $ ./n_calchep
> PROCESS: Z->2*x
> Segmentation fault (core dumped)
>
> It is better than before. I got
>
> PROCESS: Z->2*xSegmentation fault (core dumped)
>
> when choosing  Make n_calchep. Now it crashes when I try to run inside
> results
>
> However choosing  Make&Launch n_calchep works fine (as before)
>
> Best
>
> Jorge
>
>
> On 14/07/20 15:15, Alexander Belyaev wrote:
>> Your question #690582 on CalcHEP changed:
>> https://answers.launchpad.net/calchep/+question/690582
>>
>> Status: Expired => Answered
>>
>> Alexander Belyaev changed the question status:
>> Sear Jorge,
>> could you check,pleae if the problem is solved in the latest CalcHEP version.
>> Sorry for slow reply,
>> Regards,
>> Sasha
>>
--
______________________________________________________________________
Prof. Alexander S Belyaev (<email address hidden>)
https://www.hep.phys.soton.ac.uk/content/alexander-belyaev

School of Physics & Astronomy, University of Southampton
Office 5047, SO17 1BJ, TEL: +44 23805 98509, FAX: +44 23805 93910
.....................................................................
Particle Physics Department, Rutherford Appleton Laboratory
Didcot, OX11 0QX, TEL: +44 12354 45562, FAX: +44 12354 46733
.....................................................................
CERN, CH-1211 Geneva 23, Switzerland
Office 40/1-B20, Mailbox: E27910, TEL: +41 2276 71642
______________________________________________________________________

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#7

Two further questions:

1. Do you run this on Mac ?

2. Do you have problem if you run this
process using calchep_batch

Cheers,
Sasha

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

I have checked that  all  3 ways to generate n_calchep

      Make&Launch n_calchep

     Make n_calchep

     C-compiler

create identical n_calchep files.  One can create n_calchep using one
way,  move it to work directory and after that generate another
n_calchep using another way.

diff n_calchep  results/n_calchep

shows nothing that tells us that the  files are identical.

So, the problem probably cause by the way how you launch  the program. I
thing if you call a  'working' n_calchep   directly from ./result it
also will crash.

If so. More likely your shell contains  variable  CALCHEP. ./calchep
and ./calchep_batch  overwrites  this variable in a proper way and
n_calchep works.   Otherwise ./n_calchep uses a wrong path which is not
active now.

Please check my  hypothesis.

n_calchep has to work properly  even if CALCHEP variable  is not
defined. It keeps a path to  mother code.  It checks  CALCHEP in
environment for the case of absence of   mother code.

Best

    Alexander Pukhov

On 14.07.2020 17:55, Jorge Romao wrote:
> Question #690582 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/690582
>
> Status: Answered => Open
>
> Jorge Romao is still having a problem:
> Dear Sasha
>
> Thanks for your email. However it did not solved the problem. I
> downloaded version 3.8.5. I run e E -> m M. I got:
>
> $ ./calchep
> ar: creating ld1.a
> ar: creating lib_0.a
> results/n_calchep is generated
> n_calchep is created
> $
> $ cd results/
> $ ./n_calchep
> PROCESS: Z->2*x
> Segmentation fault (core dumped)
>
> It is better than before. I got
>
> PROCESS: Z->2*xSegmentation fault (core dumped)
>
> when choosing  Make n_calchep. Now it crashes when I try to run inside
> results
>
> However choosing  Make&Launch n_calchep works fine (as before)
>
> Best
>
> Jorge
>
>
> On 14/07/20 15:15, Alexander Belyaev wrote:
>> Your question #690582 on CalcHEP changed:
>> https://answers.launchpad.net/calchep/+question/690582
>>
>> Status: Expired => Answered
>>
>> Alexander Belyaev changed the question status:
>> Sear Jorge,
>> could you check,pleae if the problem is solved in the latest CalcHEP version.
>> Sorry for slow reply,
>> Regards,
>> Sasha
>>

Can you help with this problem?

Provide an answer of your own, or ask Jorge Romao for more information if necessary.

To post a message you must log in.