Purpose of vendor/ ?

Asked by Joshua Ellis

In MadGraph 2.5.2, it seems like there was a change to the `install` command.

For example, running `install ninja` will download the HEPToolsInstaller. Why then is there `vendor/ninja.tar.gz`?

Are the tools in `vendor` used anymore, or should they be deleted?

It would be good if there was a README inside `vendor/` describing what each of them do, what their upstream URL, and how they should be installed (if at all). Is it just a matter of extracting them and then running `make`?

Question information

Language:
English Edit question
Status:
Expired
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,

This ninja.tar.gz is used if the user is not online when it is asked for installing that code.
i.e. this is used by the offline installer of the tools. We found more secure and stable to use the online installer so in most of the case those files are not used at all.

Cuttools and IREGI are mandatory, while ninja, collier (and other loop reduction tools) are optional. The first time that the user need to install some loop reduction tools, we will ask him which one he want to use (he can also choose between online and offline installation) and we will install them.

Note that except in case of problem, you do not have to compile anything by hand.
The advised way to install such program is to do "install XXXX"

Cheers,

Olivier

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

Hi,

This ninja.tar.gz is used if the user is not online when it is asked for installing that code.
i.e. this is used by the offline installer of the tools. We found more secure and stable to use the online installer so in most of the case those files are not used at all.

Cuttools and IREGI are mandatory, while ninja, collier (and other loop reduction tools) are optional. The first time that the user need to install some loop reduction tools, we will ask him which one he want to use (he can also choose between online and offline installation) and we will install them.

Note that except in case of problem, you do not have to compile anything by hand.
The advised way to install such program is to do "install XXXX"

Cheers,

Olivier

Revision history for this message
Joshua Ellis (jp-ellis) said :
#3

Thanks,

Unfortunately, I am not prompted at all whether I want to use the online installer or not, it always default to the online one. Furthermore, it always downloads the HEPToolsInstaller. This is an issue since Arch Linux (and soon Ubuntu, Debian and probably many other Linux distributions) has /usr/bin/python directing to python3. Although I have patched MadGraph so that it calls Python2 instead, I am unable to path the HEPToolsInstaller as it gets overwritten every time.

I have tried disconnecting myself entirely from the internet, and instead of prompting me for an offline installation, I get:

```
Error detected in "install oneloop"
write debug file MG5_debug
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : Impossible to connect any of us servers.
                 Please check your internet connection or retry later
```

As a result, I am resorting to installing everything manually.

Also, you mention that it is advised to just run `install XXXX`; however, the following do not work:

- `install CutTools`
- `install DiscreteSampler`
- `install IREGI`
- `install ply`
- `install SMWidth`
- `install StdHEP`

In fact, of everything in `vendor/`, only Collier, ninja and OneLoop seem to be installable.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.