ERROR in strfun

Asked by Yuchen Guo

Dear Experts,

We have implemented a new physics model in FeynRules. I can run some processes by the Interactive mode.
But when I using calchep_batch to scan the parameter, ERROR in strfun turns up.
The batch file is as follow:

Model: EIM
Model changed: True
Gauge: unitary
Process:e-,a->Z,L-

pdf1: ISR & Beamstrahlung
pdf2: Laser photons
p1: 500
p2: 500
Bunch x+y sizes (nm): 560
Bunch length (mm): 0.4
Number of particles: 2E+10

Parameter: clam=5000

Scan parameter: ML
Scan begin: 2050
Scan step size: 100
Scan steps: 5

Number of events (per run step): 0
Filename: ea_LZ
Max number of cpus: 2
nSess_1: 5
nCalls_1: 100000
nSess_2: 5
nCalls_2: 100000

Then shows
"ERROR in strfun
Error in calculation of cross section for e-,a->Z,L-
Please have a look at cs.o and cs.out in Processes/m4/Feynman/p1/single.
Killing all jobs and quitting. "

And in cs.out:

ERROR in strfun
CH Error 2

After this error happened, I come back to use the Interactive mode running the same thing (without scan),
and it works well. Could you tell me how to deal with this problem ?

Thank you in advance for your help.
Yuchen Guo

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 Pukhov (pukhov) said :
#1

I have tested it for SM
===================
Model: Standard Model(CKM=1)
Model changed: False
Gauge: Feynman
Process: A,e->W-,ne
pdf2: ISR & Beamstrahlung
pdf1: Laser photons

Bunch x+y sizes (nm): 560
Bunch length (mm): 0.4
Number of particles: 2E+10
=================

It seems, no problem with structure functions.
Have you success with batch in SM?

Best
     Alexander Pukhov

On 05/18/2017 10:47 AM, Yuchen Guo wrote:
> New question #632908 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/632908
>
> Dear Experts,
>
> We have implemented a new physics model in FeynRules. I can run some processes by the Interactive mode.
> But when I using calchep_batch to scan the parameter, ERROR in strfun turns up.
> The batch file is as follow:
>
> Model: EIM
> Model changed: True
> Gauge: unitary
> Process:e-,a->Z,L-
>
> pdf1: ISR & Beamstrahlung
> pdf2: Laser photons
> p1: 500
> p2: 500
> Bunch x+y sizes (nm): 560
> Bunch length (mm): 0.4
> Number of particles: 2E+10
>
> Parameter: clam=5000
>
> Scan parameter: ML
> Scan begin: 2050
> Scan step size: 100
> Scan steps: 5
>
> Number of events (per run step): 0
> Filename: ea_LZ
> Max number of cpus: 2
> nSess_1: 5
> nCalls_1: 100000
> nSess_2: 5
> nCalls_2: 100000
>
> Then shows
> "ERROR in strfun
> Error in calculation of cross section for e-,a->Z,L-
> Please have a look at cs.o and cs.out in Processes/m4/Feynman/p1/single.
> Killing all jobs and quitting. "
>
> And in cs.out:
>
> ERROR in strfun
> CH Error 2
>
> After this error happened, I come back to use the Interactive mode running the same thing (without scan),
> and it works well. Could you tell me how to deal with this problem ?
>
> Thank you in advance for your help.
> Yuchen Guo
>

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

Dear Yuchen,

there are two problems in your batch:

1. The scan statement is not correct:

Scan parameter: ML
etc

should be replaced with
Run parameter:ML
etc

please read manual on how to correctly use the option

2.
Scan begin: 2050
the initial value does not make sense since the collider energy is below the particle mass

These problems, however does not explain the problem with Structure function error you have.
We can not reproduce it.

To reproduce and solve your problem we need to know
1. The calchep version you are running
2. The model you are using

Looking forward to hear from you

Thank you
Sasha Belyaev

Revision history for this message
Yuchen Guo (lgguoyuchen) said :
#3

Dear Pukhov and Belyaev,

Thank you for your answers.
I tried the test batch which is offerd by Pukhov, and it worked well.
I also modify the scan statement:
================================
Model: EIM
Model changed: True
Gauge: unitary
Process:e-,a->L--,W+

pdf1: None
pdf2: Laser photons
p1: 500
p2: 500

Parameter: clam=5000
Run parameter: ML
Run begin: 500
Run step size: 10
Run steps: 10

Number of events (per run step): 1000
Filename: ea_LW
Max number of cpus: 12
nSess_1: 5
nCalls_1: 10000
nSess_2: 5
nCalls_2: 10000
================================
The error shows
"ERROR in strfun
Error in calculation of cross section for e-,a->W+,L--
Please have a look at cs.o and cs.out in Processes/m4/unitary/p1/single.
Killing all jobs and quitting."
================================

I think it may be some wrong in my model files.
I was also struck by the question of whether I can trust the results obtained by the Interactive mode.
I can run with this model well in the Interactive mode.

My calchep version is CalcHEP 3.6.28. The model I am using is a new model output by feynrules .

Thank you
Yuchen Guo

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

Dear Yuchen,

as I said in my previous message,

To reproduce and solve your problem we need to know
1. The calchep version you are running
2. The model you are using

as you have correctly mentioned, the problem looks like is related to your model files.
Please send them to us.

Yes, sure, you can trust interactive mode

Regards,
Sasha Belyaev

Revision history for this message
Yuchen Guo (lgguoyuchen) said :
#6

Dear Experts,

Sorry for late responses.
I revised my model files, it can generate events, but still report some errors:
(My calchep version is CalcHEP 3.6.28)

==============================================================
“calchep_batch version 1.37

Processing batch:
Progress information can be found in the html directory.
Simply open the following link in your browser:
file:///home/b806/work/calchep_3.6.28/2/html/index.html
You can also view textual progress reports in /home/b806/work/calchep_3.6.28/2/html/index.txt
 and the other .txt files in the html directory.
Events will be stored in the batch_results directory.

"gnuplot_instructions", line 8: warning: Skipping data file with no valid points

plot 'gnuplot_dat' using 1:2 with lines
                                       ^
"gnuplot_instructions", line 8: x range is invalid

"gnuplot_instructions", line 8: warning: Skipping data file with no valid points

plot 'gnuplot_dat' using 1:2 with lines
                                       ^
"gnuplot_instructions", line 8: x range is invalid
===========================================================

I send my model files to you. Please help me to solve these problems.

Thanks
Yuchen

Revision history for this message
Yuchen Guo (lgguoyuchen) said :
#7

Dear Experts,

Sorry for late responses.
I revised my model files, it can generate events, but still report some errors:
(My calchep version is CalcHEP 3.6.28)

==============================================================
“calchep_batch version 1.37

Processing batch:
Progress information can be found in the html directory.
Simply open the following link in your browser:
file:///home/b806/work/calchep_3.6.28/2/html/index.html
You can also view textual progress reports in /home/b806/work/calchep_3.6.28/2/html/index.txt
    and the other .txt files in the html directory.
Events will be stored in the batch_results directory.

"gnuplot_instructions", line 8: warning: Skipping data file with no valid points

plot 'gnuplot_dat' using 1:2 with lines
                                       ^
"gnuplot_instructions", line 8: x range is invalid

"gnuplot_instructions", line 8: warning: Skipping data file with no valid points

plot 'gnuplot_dat' using 1:2 with lines
                                       ^
"gnuplot_instructions", line 8: x range is invalid
===========================================================

I send my model files and batch file to you.
If you need more informations, please let me know.
Thank you for helping me to solve these problems.

Best regards,
Yuchen

At 2017-06-15 18:00:11, "Launchpad Janitor" <email address hidden> wrote:
>Your question #632908 on CalcHEP changed:
>https://answers.launchpad.net/calchep/+question/632908
>
> Status: Needs information => Expired
>
>Launchpad Janitor expired the question:
>This question was expired because it remained in the 'Needs information'
>state without activity for the last 15 days.
>
>--
>If you're still having this problem, you can reopen your question either
>by replying to this email or by going to the following page and
>entering more information about your problem:
>https://answers.launchpad.net/calchep/+question/632908
>
>You received this question notification because you asked the question.

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

We need the model from you

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

Could you send me your model, please, so I can reproduce your problem?
Please send the model to <email address hidden>

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

We did not receive anything from you
do you still have the problem?

Can you help with this problem?

Provide an answer of your own, or ask Yuchen Guo for more information if necessary.

To post a message you must log in.