generate jpeg diagrams

Asked by Kentarou Mawatari

Hi MG5aMC developers,

I reinstalled MG5aMC into osx10.11, where I cannot have jpeg files for diagrams.
Which command does MG5aMC use to convert from ps to jpg?

thanks,
Kentarou

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi Kentarou,

I see those lines in the code:
system “/bin/bash -c \"nice gs \-sDEVICE\=jpeg \-sOutputFile\=matrix$imatrix\%00d.jpg \-q \-dNOPAUSE \-dBATCH matrix-1.ps\"";
  system “rm -f matrix-1.ps”;

so the program seems to be gs

[@Oliviers-MacBook-Pro 2.3.4]$ which gs
/usr/local/bin/gs

Cheers,

Olivier

> On Dec 22, 2015, at 11:22, Kentarou Mawatari <email address hidden> wrote:
>
> New question #279899 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/279899
>
> Hi MG5aMC developers,
>
> I reinstalled MG5aMC into osx10.11, where I cannot have jpeg files for diagrams.
> Which command does MG5aMC use to convert from ps to jpg?
>
> thanks,
> Kentarou
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Kentarou Mawatari (kentarou-mawatari) said :
#2

Thanks Olivier Mattelaer, that solved my question.