topdrawer

Asked by Gabriele Ferretti on 2011-09-03

Hi,
I have been trying to generate the plots automatically as described in
http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Main/FAQ-IT-5
but the Linux version of td that I found in
http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer
does not seem to work.
(I am running a Ubuntu11.04 on a VirtualBox)

What I did was to create a directory td in the main MadGraph directory and then put td into it (after changing the preferences to executable)
I thought those were the instructions but clearly I am missing something...

Thanks for you \infty patience!
Gabriele

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Olivier Mattelaer Edit question
Last query:
2011-09-06
Last reply:
2011-09-06

Hi Gabriele,

I tested on Mac, and the instructions are working just fine.
So could you check that
1) td working:
(what's happening when you are trying to execute directly td.)
2) If the file MadAnalysis/plot_events
exists and is executable
what's happen when you executate ./MadAnalysis/plot_events

Let me know the results,

Olivier

Gabriele Ferretti (ferretti-o) said : #2

Hi Oliver,
thanks for your answer.

This is bizarre... here is what's happening:
MadAnalysis/plot_events works fine and I get a .top file but:

when I simply execute ./td in the right directory the bash tells me "No such file or directory"
But it is there!

* I tried changing names to both file and directory but to no avail.
 (There is, after all, a "td" command in my version of Ubuntu who wants me to download a program called textdraw which I guess has nothing to do with this.)

* tab completion works so the OS knows the file is there. If I change priority from rwx to rw- it tells me "Permission denied" as it should.

* I showed it to a student who knows Linux better than me (easily done) and he has no idea either...

Cheers
Gabriele

So could you try the following command:
./td -d postscript plots.top

maybe the 'no such file' is that in linux version it expect's an argument.

Let me know .

Olivier

Gabriele Ferretti (ferretti-o) said : #4

Unfortunately it's not that simple :(
(I even tried moving plots.top to the /td directory)

Probably this is an important clue...

when I launch a process after having generated it and saved it as MG output file, after answering whether I want to edit or not the cards it says: "failed to create drawable".

Then Firefox opens and the whole system hangs.
The actual ME process starts only *after* I shut down Firefox.
It wasn't doing that before. Before it was not opening Firefox automatically, I guess because I had not installed MadAnalysis yet.

I run make and everything is up to date.

Could it be that td does not work on 64bit architectures?

I tried changing to gnuplot in the /MadAnalysis/ma_card.dat but it did not help. (How do I do that?)

Cheers
Gabriele

This is a cut and paste of the error message I get:

A PDF is used, so alpha_s(MZ) is going to be modified
 Old value of alpha_s from param_card: 0.11799999999999995
 New value of alpha_s from PDF cteq6l1: 0.13000000000000000
 Results.dat xsec = 943.84000000000003
 Found 1 subprocesses
 SubProcess/Channel kept read xsec
P0_qq_ll/G1/ 904 904 0.235E+03
P0_qq_ll/G2/ 1988 1988 0.944E+03
 Found 1044 events writing first 1000
 Unweighting selected 1000 events.
Truncated 0.00% of cross section
putting the banner
Creating Plots
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 53: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
csplit: `/ NEW PLOT/': match not found on repetition 10
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
/home/gabriele/MadGraph5_v1_3_12/test2/bin/plot: line 62: /home/gabriele/MadGraph5_v1_3_12/td/td: No such file or directory
EPSTOSMTH 2.8, 2006/05/09 - Copyright 1998-2001 by Sebastian Rahtz et al.
!!! Error: 'ma_plot???.ps' does not exist!
EPSTOSMTH 2.8, 2006/05/09 - Copyright 1998-2001 by Sebastian Rahtz et al.
!!! Error: 'DJR?.ps' does not exist!
Storing files
P0_qq_ll
Storing Events
Storing files

Then I have no idea...

I'll point this subject to Rikkert (the original author of MadAnalysis) I might maybe know a bit on the version of td that you can use.
Maybe one solution is to not use the pre-compile version available on our website.
http://sourceforge.net/projects/topdrawer/

But all the version didn't seem to work... So I cann't ensure that this will help at all.
I hope that Rik will have more idea.

Cheers,

Olivier

Gabriele Ferretti (ferretti-o) said : #6

Thanks for trying Oliver!
Hopefully my future questions will have something to do with physics...
Cheers
Gabriele

On 9/5/2011 6:06 PM, Olivier Mattelaer wrote:
> Your question #170007 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/170007
>
> Olivier Mattelaer posted a new comment:
> Then I have no idea...
>
> I'll point this subject to Rikkert (the original author of MadAnalysis) I might maybe know a bit on the version of td that you can use.
> Maybe one solution is to not use the pre-compile version available on our website.
> http://sourceforge.net/projects/topdrawer/
>
> But all the version didn't seem to work... So I cann't ensure that this will help at all.
> I hope that Rik will have more idea.
>
> Cheers,
>
> Olivier
>

Rikkert Frederix (frederix) said : #7

Dear Gabriele,

So, it really looks like topdrawer ("td") is not working on your system. Where did you get your version from? Did you download it from the madgraph wiki, http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer (the linux version)?

Kind regards,
Rikkert

Gabriele Ferretti (ferretti-o) said : #8

Hi Rikkert,
Jepp, that's the site. I tried everything even changing the browser for the download.
As I said I am running Ubuntu 11.04 64bit on a Virtualbox.

I would like to give it a last shot before changing OS:

two last things:

1) I as forced to change g77 or f77 to gfortran in a couple of make files when I first compiled the MG package because I couldn't find a good 77 compiler for Ubunto (that's already strange but true...). It shouldn't matter right? Anyway the

2) As I mentioned above:
when I launch a process after having generated it and saved it as MG output file, after answering whether I want to edit or not the cards it says: "failed to create drawable".

Then Firefox opens and the whole system hangs.
The actual ME process starts only *after* I shut down Firefox.

Does it help?

Cheers
Gabriele

Gabriele Ferretti (ferretti-o) said : #9

Good news :)
it *was* a compatibility issue between td and the 64bit Ubuntu architecture.
By installing the compatibility library
ia32-libs
we finally got the darn thing to work.

The hero of the situation was one of our graduate students Christian von
Shultz! Thanks!

You may want to link this info to the twiki. I doubt I am the only one
with this problem.

You can set the problem->solved
Cheers
Gabriele

On 9/6/2011 10:15 AM, Rikkert Frederix wrote:
> Your question #170007 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/170007
>
> Status: Open => Needs information
>
> Rikkert Frederix requested more information:
> Dear Gabriele,
>
> So, it really looks like topdrawer ("td") is not working on your system.
> Where did you get your version from? Did you download it from the
> madgraph wiki,
> http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer (the
> linux version)?
>
> Kind regards,
> Rikkert
>

Thanks a lot.

I will update the wiki with this information.

Murugesh Duraisamy (duraism) said : #11

I am also facing same problem now in 32 bit and 64 bit Ubuntu11.04 computers . I did all the things as suggested by the manual
I can not see the output plots. Can I see these plots using root?

Thanks
Murugesh

In fact, a group is working on a new version of MadAnalysis using root, this is currently in alpha version but that will be a solution. A second solution might be indeed to convert your event in root (via ExRootAnalysis) and then use root to create the plots, but for the creation of the plots, you will need to create your own code for ;ost of the part.

Murugesh Duraisamy (duraism) said : #13

Thanks Oliver, Good New will wait for MadAnalysis using root.

Cheers
Murugesh