command : "display diagrams " is not working

Asked by shibasipu

Dear Olivier,
                          I am generating a toy process e- e+ > z h in MG5 (latest version). Now I want to see the diagram. After generating the process, when I am giving the "display diagram" command, it is giving the following message.
MG5_aMC> display diagrams
Drawing Process: e- e+ > z h WEIGHTED=4 @1
Wrote file /tmp/diagrams_1_emep_zh.eps
open /tmp/diagrams_1_emep_zh.eps
time to draw 0.00802206993103
MG5_aMC>No protocol specified

** (evince:8195): WARNING **: Could not open X display
Cannot parse arguments: Cannot open display:
 display diagrams
Drawing Process: e- e+ > z h WEIGHTED=4 @1
Wrote file /tmp/diagrams_1_emep_zh.eps
open /tmp/diagrams_1_emep_zh.eps
time to draw 0.00455117225647
MG5_aMC>No protocol specified

** (evince:8203): WARNING **: Could not open X display
Cannot parse arguments: Cannot open display:

Please suggest some help.

Regards,
Shiba

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
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Your evince program fails to display the information to your screen since it can not open x display.

Do you run in ssh mode? if yes do you have graphical output allowed?
Otherwise this is an evince problem. please configure madgraph to use another program to open an eps file since yours seems buggy.

Cheers,
Olivier

> On Dec 21, 2015, at 07:52, shibasipu <email address hidden> wrote:
>
> New question #279760 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/279760
>
> Dear Olivier,
> I am generating a toy process e- e+ > z h in MG5 (latest version). Now I want to see the diagram. After generating the process, when I am giving the "display diagram" command, it is giving the following message.
> MG5_aMC> display diagrams
> Drawing Process: e- e+ > z h WEIGHTED=4 @1
> Wrote file /tmp/diagrams_1_emep_zh.eps
> open /tmp/diagrams_1_emep_zh.eps
> time to draw 0.00802206993103
> MG5_aMC>No protocol specified
>
> ** (evince:8195): WARNING **: Could not open X display
> Cannot parse arguments: Cannot open display:
> display diagrams
> Drawing Process: e- e+ > z h WEIGHTED=4 @1
> Wrote file /tmp/diagrams_1_emep_zh.eps
> open /tmp/diagrams_1_emep_zh.eps
> time to draw 0.00455117225647
> MG5_aMC>No protocol specified
>
> ** (evince:8203): WARNING **: Could not open X display
> Cannot parse arguments: Cannot open display:
>
> Please suggest some help.
>
>
> Regards,
> Shiba
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Sarah (sarahwarad) said :
#2

Good morning Olivier I have the same problem and I am working on ssh. How can I have graphical output ?

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

On my mac, I never succeed to have graphics over ssh.
You need to install a X11 compatible library on your mac and then connect with "ssh -X"
(but even with those two steps it fails for me)

For linux, the x11 library is quite standard, so you typically do not need to install those.

But those are more question for your local IT expert than question for me.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.