Display Diagrams Not Working

Asked by User New

Hello,

I am trying to generate a process in MadGraph. After I generate it, I want to display diagrams. However, I get this error:

Total: 4 processes with 4 diagrams
MG5_aMC>display diagrams
Drawing Process: u u~ > z > mu+ mu- WEIGHTED<=4 @1
Wrote file /tmp/diagrams_1_uux_z_mupmum.eps
open /tmp/diagrams_1_uux_z_mupmum.eps
Drawing Process: c c~ > z > mu+ mu- WEIGHTED<=4 @1
Wrote file /tmp/diagrams_1_ccx_z_mupmum.eps
open /tmp/diagrams_1_ccx_z_mupmum.eps
Drawing Process: d d~ > z > mu+ mu- WEIGHTED<=4 @1
Unhandled exception in thread started by <function call at 0x7fbbb476bc08>Wrote file /tmp/diagrams_1_ddx_z_mupmum.eps

Traceback (most recent call last):
open /tmp/diagrams_1_ddx_z_mupmum.eps
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
Drawing Process: s s~ > z > mu+ mu- WEIGHTED<=4 @1
    Unhandled exception in thread started by <function call at 0x7fbbb476bc08>
Traceback (most recent call last):
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
        errread, errwrite)
errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
Wrote file /tmp/diagrams_1_ssx_z_mupmum.eps
    open /tmp/diagrams_1_ssx_z_mupmum.eps
    raise child_exception
time to draw 0.063835144043
raise child_exception
OSErrorOSError: [Errno 2] No such file or directory: [Errno 2] No such file or directory
MG5_aMC>
Unhandled exception in thread started by <function call at 0x7fbbb476bc08>
Traceback (most recent call last):
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Unhandled exception in thread started by <function call at 0x7fbbb476bc08>
Traceback (most recent call last):
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I then need to ctrl+c to finish the error or then it just gets hung up. How can I fix it. I do I have XMing and I click on it before displaying the diagrams but I still get the error. Here is how my MadGraph is configured:

************************************************************
* *
* W E L C O M E to *
* M A D G R A P H 5 _ a M C @ N L O *
* *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 2.6.6 2018-06-28 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* and *
* http://amcatnlo.web.cern.ch/amcatnlo/ *
* *
* Type 'help' for in-line help. *
* Type 'tutorial' to learn how MG5 works *
* Type 'tutorial aMCatNLO' to learn how aMC@NLO works *
* Type 'tutorial MadLoop' to learn how MadLoop works *
* *
************************************************************
load MG5 configuration from input/mg5_configuration.txt
None does not seem to correspond to a valid fastjet-config executable (v3+). We will use fjcore instead.
 Please set the 'fastjet'variable to the full (absolute) /PATH/TO/fastjet-config (including fastjet-config).
 MG5_aMC> set fastjet /PATH/TO/fastjet-config

lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
Note that you can still compile and run aMC@NLO with the built-in PDFs
 MG5_aMC> set lhapdf /PATH/TO/lhapdf-config

Specified text editor emacs not valid.
Using default text editor "vi". Set another one in ./input/mg5_configuration.txt
No valid web browser found. Please set in ./input/mg5_configuration.txt
Loading default model: sm
INFO: Restrict model sm with file models/sm/restrict_default.dat .
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~
Defined multiparticle all = g u c d s u~ c~ d~ s~ a ve vm vt e- mu- ve~ vm~ vt~ e+ mu+ t b t~ b~ z w+ h w- ta- ta+

Can you please help me fix the problem? Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
User New (usersnamemg) said :
#1

If I try display diagrams with the tutorial I get this error:

return Popen(*popenargs, **kwargs).wait()
MG5_aMC> File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Unhandled exception in thread started by <function call at 0x7f1daca8bc08>
Traceback (most recent call last):
  File "/usr/lib/python2.7/subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
tutorial stop

Revision history for this message
User New (usersnamemg) said :
#3

Also,

Is it possible to get the mg5_configuration text for Madgraph version 2.6.6
I was fixing some of my preferences on it and I am not sure if I created a bug while looking around the .txt file because now I am not able to display graphs.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#4

Hi,

We do not officially support MG. I would like to support it but I'm still waiting that the university answer my request for the license...
So I;m afraid that I'm not able to help in this case.
Concerning the mg5_configuration.txt the default file is a file with only commented line.
But you can file the default content here:
https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.7/view/head:/input/.mg5_configuration_default.txt

Cheers,

Olivier

Revision history for this message
User New (usersnamemg) said :
#5

Do you know where I could get my question answered? I am not sure if it is the way I installed MadGraph with python 3.7 or python 2.7?

Revision history for this message
User New (usersnamemg) said :
#6

I thought I was asking a question under MadGraph. I have also been seeing questions on MadGraph here. I am not quite sure where I should ask my question

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10

For the windows, you can only hope that some other faced the same error and know how to fix it.
But the users running on windows are typically phd student at the begining for their Phd with not that much experience.

For your second question, MG5aMC is currently only compatible with python2.7 (compatibility with 3.7 should be release around the beginning of next year).

Cheers,

Olivier

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#11

Sorry.

I answer too fast the first question.
I meant that we do not support Windows (we do indeed support MG5aMC on Mac/Linux)

Cheers,

Olivier

> On 4 Oct 2019, at 20:37, User New <email address hidden> wrote:
>
> Question #684675 on MadGraph5_aMC@NLO changed:
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fmg5amcnlo%2F%2Bquestion%2F684675&amp;data=02%7C01%7C%7C0103a6f4200d44083fd808d748f9e707%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637058110500309265&amp;sdata=8oW%2FIZ0uhZ1bqhOhfBgIe0Z4sCo%2BajM9T%2B5rvnr%2BKLs%3D&amp;reserved=0
>
> User New gave more information on the question:
> I thought I was asking a question under MadGraph. I have also been
> seeing questions on MadGraph here. I am not quite sure where I should
> ask my question
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask User New for more information if necessary.

To post a message you must log in.