Permission problem while installing delphes in madgraph

Asked by Caue Evangelista

Hi, all!

I have MG5 v2.6.0 installed in my machine and I want to install Delphes. After using the "install Delphes" instruction I received some "Permission denied" messages:

MG5_aMC>install Delphes
   You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/MinBias.pileup’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example3.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example4.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_ATLAS.tcl’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_CMS.tcl’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.cpp’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example5.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/CaloGrid.cpp’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/ProcessingTime.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/DelphesBrowser.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/EventDisplay.C’: Permission denied

There's is a way in which I can perfom this instruction as a "sudo user" or something like that?

Thank you!!!

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,

We do not support sudo/root installation.
You can technically run mg5 as sudo andf then type "install Delphes".
But this is fully at your own risk. (in the past "install update" was doing a "rm -rf /" command).
Obviously if you are going to try and that you face such huge issue do not hesitate to tell us and we will try to fix it for future version.

Cheers,

Olivier

> On 28 Nov 2019, at 00:08, Caue Evangelista <email address hidden> wrote:
>
> New question #686319 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/686319
>
> Hi, all!
>
> I have MG5 v2.6.0 installed in my machine and I want to install Delphes. After using the "install Delphes" instruction I received some "Permission denied" messages:
>
> MG5_aMC>install Delphes
> You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/MinBias.pileup’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example3.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example4.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_ATLAS.tcl’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_CMS.tcl’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.cpp’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example5.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/CaloGrid.cpp’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/ProcessingTime.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/DelphesBrowser.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/EventDisplay.C’: Permission denied
>
>
>
> There's is a way in which I can perfom this instruction as a "sudo user" or something like that?
>
> Thank you!!!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Caue Evangelista (ecaue) said :
#2

Thanks Olivier Mattelaer, that solved my question.