Can't download td for mac.

Asked by Goutam Das

Can anyone help me how to get td for mac os x 10.7 with the instruction of installing it ? MadAnalisis is installed by the command mg5> install MadAnlysis. But this does not install td in mac. Also in the wiki page linux and win versions are available but when I try to download it for mac it says 'you don't have the permission '. Could you guys please help me out?

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 Goutam,

In principle td is install at the same time as MadAnalysis when you do install MadAnalysis.
I just try on 10.8.2 and it works with no problem.

I update the link in the wiki page, to put a direct link on the intel version of td.
For convenience, this is the direct link:
http://theory.fnal.gov/people/parke/TD/td_mac_intel.tar.gz
the executable in this .tar.gz is td_mac_intel
and need to be renamed as td in place in the MG5 directory in a directory named td.

Cheers,

Olivier

Revision history for this message
Goutam Das (gkdgoutam) said :
#2

Hi Olivier,

Thanks for your fast reply. Yes, now I can download it from this direct link .I have gone through the readme_intel.txt and followed the instructions. Its working. Here in mac I have to put the command ./td plots.top and I got the postscript unlike LINUX where I had to specify ./td -d postscript plots.top . Anyway thanks again. Great job.

Bye,
Goutam

Revision history for this message
Goutam Das (gkdgoutam) said :
#3

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
Goutam Das (gkdgoutam) said :
#4

Hi,
     ./td plots.top is also working for LINUX and output is a plots.ps file.

Bye Goutam

Revision history for this message
Ennio Salvioni (esalvioni) said :
#5

Hi,

I am trying to install MadAnalysis on Yosemite, but I get the error message reported below about the installation of td. I tried to download td for mac from the direct link above (http://theory.fnal.gov/people/parke/TD/td_mac_intel.tar.gz), but 'I don't have the permission.'
Can you please suggest how to proceed?
Thanks,
Ennio

%%%%%%%%%

MG5_aMC>install MadAnalysis
Downloading http://madgraph.hep.uiuc.edu/Downloads/MadAnalysis_V1.1.8.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 43575 100 43575 0 0 89814 0 --:--:-- --:--:-- --:--:-- 89660
compile MadAnalysis. This might takes a while.
gfortran -O -w -ffixed-line-length-132 -c plot_events.f
gfortran -O -w -ffixed-line-length-132 -c dbook.f
gfortran -O -w -ffixed-line-length-132 -c rw_events.f
gfortran -O -w -ffixed-line-length-132 -c kin_func.f
gfortran -O -w -ffixed-line-length-132 -c set_cuts.f
gfortran -O -w -ffixed-line-length-132 -o plot_events plot_events.o dbook.o rw_events.o kin_func.o set_cuts.o
Compilation succeeded
[Errno 17] File exists: '/Users/enniosalvioni/Desktop/MG5_aMC_v2_2_3/td'
Downloading TD for Mac
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 237 100 237 0 0 1711 0 --:--:-- --:--:-- --:--:-- 1717
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Command "install MadAnalysis " interrupted in sub-command:
"install MadAnalysis" with error:
IOError : [Errno 2] No such file or directory: '/Users/enniosalvioni/Desktop/MG5_aMC_v2_2_3/td/td_mac_intel'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'MG5_debug'.
Please attach this file to your report.

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

Hi,

Indeed that link is now a dead link.

Please replace the line

target = 'http://theory.fnal.gov/people/parke/TD/td_mac_intel.tar.gz'

with

target = 'https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/TopDrawer/td_mac_intel.tar.gz'

in the file

madgraph/interface/madgraph_interface.py

and try to reinstall MadAnalysis

Cheers,

Olivier

On 09 Apr 2015, at 19:26, Ennio Salvioni <email address hidden> wrote:

> Question #221263 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/221263
>
> Ennio Salvioni posted a new comment:
> Hi,
>
> I am trying to install MadAnalysis on Yosemite, but I get the error message reported below about the installation of td. I tried to download td for mac from the direct link above (http://theory.fnal.gov/people/parke/TD/td_mac_intel.tar.gz), but 'I don't have the permission.'
> Can you please suggest how to proceed?
> Thanks,
> Ennio
>
> %%%%%%%%%
>
> MG5_aMC>install MadAnalysis
> Downloading http://madgraph.hep.uiuc.edu/Downloads/MadAnalysis_V1.1.8.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 43575 100 43575 0 0 89814 0 --:--:-- --:--:-- --:--:-- 89660
> compile MadAnalysis. This might takes a while.
> gfortran -O -w -ffixed-line-length-132 -c plot_events.f
> gfortran -O -w -ffixed-line-length-132 -c dbook.f
> gfortran -O -w -ffixed-line-length-132 -c rw_events.f
> gfortran -O -w -ffixed-line-length-132 -c kin_func.f
> gfortran -O -w -ffixed-line-length-132 -c set_cuts.f
> gfortran -O -w -ffixed-line-length-132 -o plot_events plot_events.o dbook.o rw_events.o kin_func.o set_cuts.o
> Compilation succeeded
> [Errno 17] File exists: '/Users/enniosalvioni/Desktop/MG5_aMC_v2_2_3/td'
> Downloading TD for Mac
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 237 100 237 0 0 1711 0 --:--:-- --:--:-- --:--:-- 1717
> tar: Unrecognized archive format
> tar: Error exit delayed from previous errors.
> Command "install MadAnalysis " interrupted in sub-command:
> "install MadAnalysis" with error:
> IOError : [Errno 2] No such file or directory: '/Users/enniosalvioni/Desktop/MG5_aMC_v2_2_3/td/td_mac_intel'
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Ennio Salvioni (esalvioni) said :
#7

Hi Olivier,

thanks, that solved my problem. Now td is installed and running.

When trying to generate DJR plots, I now get exactly the error described in #3 of question 244129. I will try to follow the instructions found there.

Thanks again, cheers,

Ennio