Survey ceases working after many generations
While parallelizing MG5 to generate many different samples, I find that it will eventually cease working entirely. It generates many, many processes and events successfully, but then it suddenly stops working. Processes that began running survey before this cutoff will continue generating events successfully. However, all new attempts to generate anything meet with the errors below, always in survey.
My kludge to solve this problem so far is that I simply unzip a new version of MG5, swap in the model files, scripts and event folders. The new version will run without any issues for a few hundred processes before it craps out as well. I first encountered this in MG5_v1.4.3, it has happened thrice now in v1.4.5 as well. The kludge is time consuming and will grow more tedious as time rolls on. Any idea how to prevent this from happening? If not, do you have any idea how to do a kludge to move a fix (repaired files, or whatever) into the old MG5 directory as that would be much less tedious than moving all of my model files, scripts, data, etc. into a new MG5 folder?
My apologies if someone has asked about this before. I did not find it.
Thank you!
Jared
Screen output for a sample generation:
*******
* *
* W E L C O M E to M A D G R A P H 5 *
* *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 1.4.5 2012-04-20 *
* *
* The MadGraph Development Team - Please visit us at *
* https:/
* *
* Type 'help' for in-line help. *
* Type 'tutorial' to learn how MG5 works *
* *
*******
load MG5 configuration from input/mg5_
Using default text editor "vi". Set another one in ./input/
Using default eps viewer "gv". Set another one in ./input/
Using default web browser "firefox". Set another one in ./input/
Loading default model: sm
INFO: Restrict model sm with file models/
INFO: Run "set stdout_level DEBUG" before import for more information.
INFO: Change particles name to pass to MG5 convention
Defined multiparticle p = g u c d s u~ c~ d~ s~
Defined multiparticle j = g u c d s u~ c~ d~ s~
Defined multiparticle l+ = e+ mu+
Defined multiparticle l- = e- mu-
Defined multiparticle vl = ve vm vt
Defined multiparticle vl~ = ve~ vm~ vt~
mg5>generate p p > t t~
INFO: Checking for minimal orders which gives processes.
INFO: Please specify coupling orders to bypass this step.
INFO: Trying coupling order WEIGHTED=2
INFO: Trying process: g g > t t~ WEIGHTED=2
INFO: Process has 3 diagrams
INFO: Trying process: u u~ > t t~ WEIGHTED=2
INFO: Process has 1 diagrams
INFO: Trying process: u c~ > t t~ WEIGHTED=2
INFO: Trying process: c u~ > t t~ WEIGHTED=2
INFO: Trying process: c c~ > t t~ WEIGHTED=2
INFO: Process has 1 diagrams
INFO: Trying process: d d~ > t t~ WEIGHTED=2
INFO: Process has 1 diagrams
INFO: Trying process: d s~ > t t~ WEIGHTED=2
INFO: Trying process: s d~ > t t~ WEIGHTED=2
INFO: Trying process: s s~ > t t~ WEIGHTED=2
INFO: Process has 1 diagrams
INFO: Process u~ u > t t~ added to mirror process u u~ > t t~
INFO: Process c~ c > t t~ added to mirror process c c~ > t t~
INFO: Process d~ d > t t~ added to mirror process d d~ > t t~
INFO: Process s~ s > t t~ added to mirror process s s~ > t t~
5 processes with 7 diagrams generated in 0.087 s
Total: 5 processes with 7 diagrams
mg5>output test123456
INFO: initialize a new directory: test123456
INFO: remove old information in test123456
INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: g g > t t~ WEIGHTED=2
INFO: Processing color information for process: g g > t t~ WEIGHTED=2
INFO: Generating Helas calls for process: u u~ > t t~ WEIGHTED=2
INFO: Processing color information for process: u u~ > t t~ WEIGHTED=2
INFO: Generating Helas calls for process: c c~ > t t~ WEIGHTED=2
INFO: Combining process with u u~ > t t~ WEIGHTED=2
INFO: Generating Helas calls for process: d d~ > t t~ WEIGHTED=2
INFO: Combining process with u u~ > t t~ WEIGHTED=2
INFO: Generating Helas calls for process: s s~ > t t~ WEIGHTED=2
INFO: Combining process with u u~ > t t~ WEIGHTED=2
INFO: Creating files in directory P0_gg_ttx
INFO: Generating Feynman diagrams for Process: g g > t t~ WEIGHTED=2
INFO: Finding symmetric diagrams for subprocess group gg_ttx
INFO: Creating files in directory P0_qq_ttx
INFO: Generating Feynman diagrams for Process: u u~ > t t~ WEIGHTED=2
INFO: Finding symmetric diagrams for subprocess group qq_ttx
History written to /cms/data27/
Generated helas calls for 2 subprocesses (4 diagrams) in 0.030 s
Wrote files for 16 helas calls in 1.924 s
Export UFO model to MG4 format
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates VVV1 routines
save configuration file to /cms/data27/
INFO: Use Fortran compiler gfortran
INFO: Generate jpeg diagrams
INFO: Generate web pages
Output to directory /cms/data27/
Type "launch" to generate events from this process, or see
/cms/data27/
Run "open index.html" to see more information about this process.
mg5>launch
*******
* *
* W E L C O M E to M A D G R A P H 5 *
* M A D E V E N T *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 1.4.5 2012-04-20 *
* *
* The MadGraph Development Team - Please visit us at *
* https:/
* *
* Type 'help' for in-line help. *
* *
*******
load configuration from test123456/
Using default text editor "vi". Set another one in ./input/
generate_events run_01
Will run in mode parton
Do you want to edit one cards (press enter to bypass editing)?
1 / param : param_card.dat (be carefull about parameter consistency, especially widths)
2 / run : run_card.dat
Path to a valid card.
[0, done, 1, param, 2, run, enter path][20s to answer]
0
Generating 10000 events with run name run_01
survey run_01
compile directory
gen_ximprove.f: In program `gen_ximprove':
gen_ximprove.f:84:
call get_integer(
1 2
Invalid token at (2) in expression or subexpression at (1)
gen_ximprove.f:89:
Character constant at (1) has no closing quote at (2) [info -f g77 M LEX]
gen_ximprove.f: In subroutine `write_bash':
gen_ximprove.f:239:
double precision xsec(lmaxconfigs), xerru(lmaxconfi
Invalid declaration of or reference to symbol `lmaxc' at (^) [initially seen at (^)]
gen_ximprove.f:239:
double precision xsec(lmaxconfigs), xerru(lmaxconfi
Invalid form for type-declaration statement at (^)
gen_ximprove.f:217:
subroutine write_bash(
gen_ximprove.f:259: (continued):
xt(j)= sqrt((xerru(
Invalid declaration of or reference to symbol `xerrc' at (2) [initially seen at (1)]
gen_ximprove.f:197: warning:
call write_bash(
1
gen_ximprove.f:217: (continued):
subroutine write_bash(
Argument #3 (named `xerrc') of `write_bash' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
gen_ximprove.f: In subroutine `write_gen':
gen_ximprove.f:488:
double precision goal_lum, xlum(lmaxconfigs), xsec(lmaxconfig
gen_ximprove.f:497: (continued):
double precision xt(lmaxconfigs+
Invalid declaration of or reference to symbol `xt' at (2) [initially seen at (1)]
gen_ximprove.f:514:
goal_lum = goal_lum/
^
Invalid form for GO TO statement at (^)
gen_ximprove.f:270: warning:
call sort2(xt,io,ng)
1
gen_ximprove.f:537: (continued):
call sort2(xt,io,ng)
2
Argument #1 of `sort2' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
gen_ximprove.f:549:
Null element at (1) for array reference at (2)
gen_ximprove.f:549:
Invalid token at (2) in expression or subexpression at (1)
gen_ximprove.f:572:
npfile = 0
^
Invalid declaration of or reference to symbol `npfile' at (^) [initially seen at (^)]
gen_ximprove.f:592:
Character constant at (1) has no closing apostrophe at (2)
gen_ximprove.f:466:
subroutine write_gen(
gen_ximprove.f:727: (continued):
end
2
Invalid declaration of or reference to symbol `xtot' at (2) [initially seen at (1)]
gen_ximprove.f:208: warning:
call write_gen(
gen_ximprove.f:466: (continued):
subroutine write_gen(
Argument #6 (named `xtot') of `write_gen' is one type at (2) but is some other type at (1) [info -f g77 M GLOBALS]
gen_ximprove.f:549: confused by earlier errors, bailing out
make: *** [gen_ximprove.o] Error 1
Error make ../bin/
Command "generate_events run_01" interrupted with error:
MadEventError : Impossible to compile
Please report this bug on https:/
More information is found in '/cms/data27/
Please attach this file to your report.
quit
mg5>Xlib: connection to "localhost:12.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to "localhost:12.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: cannot open display: localhost:12.0
Xlib: connection to "localhost:12.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Traceback (most recent call last):
writting history and quit on KeyboardInterrupt
File "bin/mg5", line 58, in <module>
subprocess.
File "/cms/base/
return Popen(*popenargs, **kwargs).wait()
File "/cms/base/
pid, sts = _eintr_
File "/cms/base/
return func(*args)
KeyboardInterrupt
Here is the debug log
[jaevans@hexcms test123456]$ cat run_01_
#******
#* MadGraph/MadEvent 5 *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 1.4.5 2012-04-20 *
#* *
#* The MadGraph Development Team - Please visit us at *
#* https:/
#* *
#******
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#******
generate_events run_01
Traceback (most recent call last):
File "/cms/data27/
return cmd.Cmd.
File "/cms/base/
return func(arg)
File "/cms/data27/
postcmd=False)
File "/cms/data27/
stop = cmd.Cmd.
File "/cms/base/
return func(arg)
File "/cms/data27/
self.
File "/cms/data27/
raise MadEventError, 'Impossible to compile'
MadEventError: Impossible to compile
Value of current Options:
exrootana
automatic_
ignore_
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Johan Alwall
- Solved:
- Last query:
- Last reply: