error when running with a script

Asked by Eleni Vryonidou

Hi guys,

I tried to do some NLO runs using a script and doing ./bin/aMCatNLO script

where my script starts like this:

launch
  set ctg 0.1e-08
  set cft 2.0

launch
  set cft -2.0

The first run finishes but the second crashes saying:

OSError : [Errno 17] File exists: '/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/Events/run_13'

I attach below the debug file.

Thanks,

Eleni

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 5.2.3.0.beta *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch
launch
Traceback (most recent call last):
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 879, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 654, in do_import
    self.import_command_file(args[1])
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 1042, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 919, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/extended_cmd.py", line 872, in onecmd_orig
    return func(arg, **opt)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/amcatnlo_run_interface.py", line 1200, in do_launch
    self.compile(mode, options)
  File "/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/bin/internal/amcatnlo_run_interface.py", line 3669, in compile
    os.mkdir(pjoin(self.me_dir, 'Events', self.run_name))
OSError: [Errno 17] File exists: '/nfs/home/fynu/evryonidou/2.3/ttZ_nlo/Events/run_13'

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
marco zaro Edit question
Solved by:
marco zaro
Solved:
Last query:
Last reply:
Revision history for this message
marco zaro (marco-zaro) said :
#1

Ciao Eleni,
can you check the name of the folder created by the first run?
Do you run another instance in the same time?

Cheers,

Marco

Revision history for this message
Eleni Vryonidou (evryonidou) said :
#2

Ciao Marco,

the first run is run_13. So it tries to replace that.

As far as I know, no.

Eleni

> On 24 Jun 2015, at 16:21, marco zaro <email address hidden> wrote:
>
> Your question #268503 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/268503
>
> Status: Open => Needs information
>
> marco zaro requested more information:
> Ciao Eleni,
> can you check the name of the folder created by the first run?
> Do you run another instance in the same time?
>
> Cheers,
>
> Marco
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/mg5amcnlo/+question/268503
>
> You received this question notification because you asked the question.

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

Ciao Eleni,
can you confirm that it works once the fix of rev414 is applied?
Cheers,

Marco

Revision history for this message
Eleni Vryonidou (evryonidou) said :
#4

Ciao Marco,

it works fine now. Thanks.

Eleni

> On 24 Jun 2015, at 19:01, marco zaro <email address hidden> wrote:
>
> Your question #268503 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/268503
>
> Status: Open => Answered
>
> marco zaro proposed the following answer:
> Ciao Eleni,
> can you confirm that it works once the fix of rev414 is applied?
> Cheers,
>
> Marco
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/mg5amcnlo/+question/268503/+confirm?answer_id=2
>
> 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/mg5amcnlo/+question/268503
>
> You received this question notification because you asked the question.

Revision history for this message
Eleni Vryonidou (evryonidou) said :
#5

Thanks marco zaro, that solved my question.