The file bin/generate_events isn't executable.

Asked by Giulia Gonella

I download the file madevent.tar.gz and open it. When I have to run the executable file "bin/generate_events" I find out it is not executable, and so I have a "permission denied".
The steps I follow are:

tar -xvf madevent.tar.gz
cd Cards/
ln -s proc_card_mg5.dat run_card_default.dat
cd ..
./bin/generate_events

It all works well until the last row where I find the alert.
I've already tried to make the file executable manually but it doesn't work anyway.

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,

My first advise would be to do the following instead:
> tar -xzpvf madevent.tar.gz

(the p is important otherwise you will loose permission of many files)

> cd Cards/
> ln -s proc_card_mg5.dat run_card_default.dat
> cd ..

Why did you do that? this sounds very weird to me.

Otherwise if you run the following this might solves your problem (such that you don't have to un-tar a second time your files)
chmod +x bin/*
chmod +x bin/internal/*

If none of the above works, could you give me the log that you see on your screen?

Cheers,

Olivier

On Sep 4, 2013, at 3:51 PM, Giulia Gonella <email address hidden> wrote:

> New question #235154 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/235154
>
> I download the file madevent.tar.gz and open it. When I have to run the executable file "bin/generate_events" I find out it is not executable, and so I have a "permission denied".
> The steps I follow are:
>
> tar -xvf madevent.tar.gz
> cd Cards/
> ln -s proc_card_mg5.dat run_card_default.dat
> cd ..
> ./bin/generate_events
>
> It all works well until the last row where I find the alert.
> I've already tried to make the file executable manually but it doesn't work anyway.
>
> Thank you!
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Giulia Gonella (gonellagiulia) said :
#2

Hi,

thank you for your answer.
I guess I've managed to understand the problem: the file system I'm working on is mounted without the permission to make the file executable. So I'll mount it again. In fact the generate_events runs in a different file system.

Thanks again!

Revision history for this message
Giulia Gonella (gonellagiulia) said :
#3

Hi,

thank you for your answer.
I guess I've managed to understand the problem: the file system I'm working
on is mounted without the permission to make the file executable. So I'll
mount it again. In fact the generate_events runs in a different file system.

Thanks again!

__________________________________________

Giulia Gonella

2013/9/4 Olivier Mattelaer <email address hidden>

> Your question #235154 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/235154
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi,
>
> My first advise would be to do the following instead:
> > tar -xzpvf madevent.tar.gz
>
> (the p is important otherwise you will loose permission of many files)
>
> > cd Cards/
> > ln -s proc_card_mg5.dat run_card_default.dat
> > cd ..
>
> Why did you do that? this sounds very weird to me.
>
> Otherwise if you run the following this might solves your problem (such
> that you don't have to un-tar a second time your files)
> chmod +x bin/*
> chmod +x bin/internal/*
>
> If none of the above works, could you give me the log that you see on
> your screen?
>
> Cheers,
>
> Olivier
>
>
> On Sep 4, 2013, at 3:51 PM, Giulia Gonella <
> <email address hidden>> wrote:
>
> > New question #235154 on MadGraph5:
> > https://answers.launchpad.net/madgraph5/+question/235154
> >
> > I download the file madevent.tar.gz and open it. When I have to run the
> executable file "bin/generate_events" I find out it is not executable, and
> so I have a "permission denied".
> > The steps I follow are:
> >
> > tar -xvf madevent.tar.gz
> > cd Cards/
> > ln -s proc_card_mg5.dat run_card_default.dat
> > cd ..
> > ./bin/generate_events
> >
> > It all works well until the last row where I find the alert.
> > I've already tried to make the file executable manually but it doesn't
> work anyway.
> >
> > Thank you!
> >
> > --
> > You received this question notification because you are a member of
> > MadTeam, which is an answer contact for MadGraph5.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/madgraph5/+question/235154/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/madgraph5/+question/235154
>
> You received this question notification because you asked the question.
>