OSError : [Errno 17] File exists

Asked by Liron Barak

Hi again,

I also have another directory in MG5_aMC_v2_1_1 where I make run_01 and when I want to run another run, instead of calling it run_02, I get:
INFO: Starting run
Error: cannot open display: localhost:26.0
Command "launch " interrupted with error:
OSError : [Errno 17] File exists: '/mnt/Lustre/agrp/liron/MadGraph/MG5_aMC_v2_1_1/chargedH4FTRY/Events/run_01'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/mnt/Lustre/agrp/liron/MadGraph/MG5_aMC_v2_1_1/chargedH4FTRY/run_01_tag_1_debug.log'.
Please attach this file to your report.
quit
INFO:

Any idea?

Many thanks
Liron

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
marco zaro Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi Liron,

is this a LO or NLO process?

Cheers,

Olivier
On Aug 16, 2014, at 10:07 PM, Liron Barak <email address hidden> wrote:

> New question #253190 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Hi again,
>
> I also have another directory in MG5_aMC_v2_1_1 where I make run_01 and when I want to run another run, instead of calling it run_02, I get:
> INFO: Starting run
> Error: cannot open display: localhost:26.0
> Command "launch " interrupted with error:
> OSError : [Errno 17] File exists: '/mnt/Lustre/agrp/liron/MadGraph/MG5_aMC_v2_1_1/chargedH4FTRY/Events/run_01'
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in '/mnt/Lustre/agrp/liron/MadGraph/MG5_aMC_v2_1_1/chargedH4FTRY/run_01_tag_1_debug.log'.
> Please attach this file to your report.
> quit
> INFO:
>
> Any idea?
>
> Many thanks
> Liron
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Liron Barak (lironbarak83) said :
#2

Hi Olivier,

It is an NLO process.

Best
Liron

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

Ok then this is probably linked to your other problem.

Will ask Marco to look at it.

Cheers,

Olivier

Revision history for this message
marco zaro (marco-zaro) said :
#4

Hi Liron,
can you please tell me the exact sequence of commends/run in order to be able to reproduce your error?
Cheers,

Marco

Revision history for this message
Liron Barak (lironbarak83) said :
#5

Hi Marco,

If I'm in bin and do ./generate_events but there is already run_01 directory in Events, it doesn't work.
What I do for now is to add "-n run_02".

Thanks
Liron

Revision history for this message
marco zaro (marco-zaro) said :
#6

how do you create the run_01 dir?
i mean, can you tell me the commands to have this error starting from a freshely exported process dir?

Thanks

Marco

On 19 Aug 2014, at 15:31, Liron Barak <email address hidden> wrote:

> Question #253190 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Liron Barak posted a new comment:
> Hi Marco,
>
> If I'm in bin and do ./generate_events but there is already run_01 directory in Events, it doesn't work.
> What I do for now is to add "-n run_02".
>
> Thanks
> Liron
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Liron Barak (lironbarak83) said :
#7

Hi,

I enter to the directory:
bin
I then type:
./generate_events -f
If there was no directory run_01 in Events, then it creates it and fill it with all the files:
alllogs_0.html alllogs_1.html alllogs_2.html events.lhe.gz res_0.txt res_1.txt run_34_tag_1_banner.txt RunMaterial.tar.gz summary.txt
If there is already that directory, then I get that error.
Unless I do
./generate_events -f -n run_02
Then I have no problem.

Thanks
Liron

Revision history for this message
marco zaro (marco-zaro) said :
#8

Hi Liron,
I cannot reproduce your error.
To do so i have taken a process (pp> zh [QCD]), and generate events twice
the first time it creates run_01, the second run_02,
and i do not get any error, so this bug looks very strange and not reproducible to me…
you are using 2.1.2, right?

Cheers,

Marco

On 19 Aug 2014, at 15:56, Liron Barak <email address hidden> wrote:

> Question #253190 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Liron Barak posted a new comment:
> Hi,
>
> I enter to the directory:
> bin
> I then type:
> ./generate_events -f
> If there was no directory run_01 in Events, then it creates it and fill it with all the files:
> alllogs_0.html alllogs_1.html alllogs_2.html events.lhe.gz res_0.txt res_1.txt run_34_tag_1_banner.txt RunMaterial.tar.gz summary.txt
> If there is already that directory, then I get that error.
> Unless I do
> ./generate_events -f -n run_02
> Then I have no problem.
>
> Thanks
> Liron
>
> --
> You received this question notification because you are a direct
> subscriber of the question.

Revision history for this message
Liron Barak (lironbarak83) said :
#9

Hi,

Yes, I have it in one directory, not sure why?!
If you have no idea how/why that thing can happen, I'll just make new directory and copy the Cards.

Best
Liron

Revision history for this message
marco zaro (marco-zaro) said :
#10

just another thing:
have you moved/copied the process directory after output?
Cheers,

Marco

Marco Zaro

On Tue, Aug 19, 2014 at 4:16 PM, Liron Barak <
<email address hidden>> wrote:

> Question #253190 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Liron Barak posted a new comment:
> Hi,
>
> Yes, I have it in one directory, not sure why?!
> If you have no idea how/why that thing can happen, I'll just make new
> directory and copy the Cards.
>
> Best
> Liron
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Liron Barak (lironbarak83) said :
#11

Hi,

No!
but I can tell you then starting new directory with the same process AND the same run_card and param_card works just fine.

Thanks
Liron

Revision history for this message
marco zaro (marco-zaro) said :
#12

and what if in the new dir you execute twice generate_events?
Marco

Marco Zaro

On Tue, Aug 19, 2014 at 5:36 PM, Liron Barak <
<email address hidden>> wrote:

> Question #253190 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Liron Barak posted a new comment:
> Hi,
>
> No!
> but I can tell you then starting new directory with the same process AND
> the same run_card and param_card works just fine.
>
> Thanks
> Liron
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Liron Barak (lironbarak83) said :
#13

You mean I do generate_events after I have there run_01? Then it makes the run_02 like in other directories.....
Only for that particular directory, it stopped doing it for some reason.

Thanks
Liron

Revision history for this message
marco zaro (marco-zaro) said :
#14

yes that is exactly what i was meaning...
ok, so, even if we do not know why, the problem is kind of solved, right?
Thanks
Marco

Marco Zaro

On Wed, Aug 20, 2014 at 11:12 AM, Liron Barak <
<email address hidden>> wrote:

> Question #253190 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/253190
>
> Liron Barak posted a new comment:
> You mean I do generate_events after I have there run_01? Then it makes
> the run_02 like in other directories.....
> Only for that particular directory, it stopped doing it for some reason.
>
> Thanks
> Liron
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Liron Barak (lironbarak83) said :
#15

Yes, I don't know why for that particular directory it doesn't work anymore.
But for the other directories it works.

Thanks
Liron

Can you help with this problem?

Provide an answer of your own, or ask Liron Barak for more information if necessary.

To post a message you must log in.