IOError : [Errno 2] No such file or directory

Bug #1219758 reported by liangshang
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Unassigned

Bug Description

liangshang@PARTICLE:~/MadGraph5_v1_5_12/my_second_mg5_run> ./bin/generate_events
launch in debug mode
For tab completion and history, install module readline.
************************************************************
* *
* W E L C O M E to M A D G R A P H 5 *
* M A D E V E N T *
* *
* * * *
* * * * * *
* * * * * 5 * * * * *
* * * * * *
* * * *
* *
* VERSION 5.1.5.12 *
* *
* The MadGraph Development Team - Please visit us at *
* https://server06.fynu.ucl.ac.be/projects/madgraph *
* *
* Type 'help' for in-line help. *
* *
************************************************************
load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
load configuration from /home/liangshang/MadGraph5_v1_5_12/input/mg5_configuration.txt
load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
Using default text editor "vi". Set another one in ./input/mg5_configuration.txtUsing default eps viewer "gv". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
generate_events
Which programs do you want to run?
  0 / auto : running existing card
  1 / parton : Madevent
  2 / pythia : MadEvent + Pythia.
  3 / pgs : MadEvent + Pythia + PGS.
 [0, 1, 2, 3, auto, parton, pythia, pgs][60s to answer]
>2
Will run in mode pythia
Command "generate_events " interrupted in sub-command:
"generate_events" with error:
IOError : [Errno 2] No such file or directory: '/home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/run_card_default.dat'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in 'ME5_debug'.
Please attach this file to your report.
quit

Related branches

Revision history for this message
liangshang (shlwell1988) wrote :
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1219758] [NEW] IOError : [Errno 2] No such file or directory
Download full text (6.2 KiB)

Hi,

I can't reproduce this problem.

Is this file exist?
> /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/run_card_default.dat
and those one:
> /home/liangshang/MadGraph5_v1_5_12/Template/Cards/run_card.dat
> /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/run_card.dat

Those files should be present. Did you remove some of them?
Please retry to generate the directory and/or reinstall MG5.

Cheers,

Olivier

On Sep 2, 2013, at 5:06 AM, liangshang <email address hidden> wrote:

> Public bug reported:
>
> liangshang@PARTICLE:~/MadGraph5_v1_5_12/my_second_mg5_run> ./bin/generate_events
> launch in debug mode
> For tab completion and history, install module readline.
> ************************************************************
> * *
> * W E L C O M E to M A D G R A P H 5 *
> * M A D E V E N T *
> * *
> * * * *
> * * * * * *
> * * * * * 5 * * * * *
> * * * * * *
> * * * *
> * *
> * VERSION 5.1.5.12 *
> * *
> * The MadGraph Development Team - Please visit us at *
> * https://server06.fynu.ucl.ac.be/projects/madgraph *
> * *
> * Type 'help' for in-line help. *
> * *
> ************************************************************
> load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
> load configuration from /home/liangshang/MadGraph5_v1_5_12/input/mg5_configuration.txt
> load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
> Using default text editor "vi". Set another one in ./input/mg5_configuration.txtUsing default eps viewer "gv". Set another one in ./input/mg5_configuration.txt
> Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
> generate_events
> Which programs do you want to run?
> 0 / auto : running existing card
> 1 / parton : Madevent
> 2 / pythia : MadEvent + Pythia.
> 3 / pgs : MadEvent + Pythia + PGS.
> [0, 1, 2, 3, auto, parton, pythia, pgs][60s to answer]
>> 2
> Will run in mode pythia
> Command "generate_events " interrupted in sub-command:
> "generate_events" with error:
> IOError : [Errno 2] No such file or directory: '/home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/run_card_default.dat'
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in 'ME5_debug'.
> Please attach this file to your report.
> quit
>
> ** Affects: madgraph5
> Importance: Undecided
> Status: New
>
> ** A...

Read more...

Changed in madgraph5:
status: New → Incomplete
Revision history for this message
Keith Pedersen (kpeders1) wrote :

I have this same problem (same error message). I have downloaded MadGraph5_v1.5.12.tar.gz twice. Neither *tar.gz ships with the file "Template/Cards/run_card_default.dat". I see 3 scenarios here:

(1) the file was accidentally left out of the *_ v1.5.12.tar.gz
(2) there is a bug in the source code that references the wrong file name
(3) the syntax of making a new process has changed.

Until this bug is fixed, Is there any way to get legacy distributions (i.e. v1.5.11?).

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1219758] IOError : [Errno 2] No such file or directory
Download full text (4.0 KiB)

Hi Keith, liangshang

Thanks I found a way to reproduce the problem.
The problem occurs ONLY if the generation of the directory is done like MG4
(i.e. doing cp -r Template NAME)
and not via the MG5 command line
(i.e. ./bin/mg5 proc_card.dat or interactive interface)

So this is a perfect time to pass to official MG5 methods and drops the MG4 retro-compatible method
of generation.

Cheers,

Olivier

Ok the problem occur only when generating processes in MG4 like way.

On Sep 13, 2013, at 12:50 AM, Keith Pedersen <email address hidden> wrote:

> I have this same problem (same error message). I have downloaded
> MadGraph5_v1.5.12.tar.gz twice. Neither *tar.gz ships with the file
> "Template/Cards/run_card_default.dat". I see 3 scenarios here:
>
> (1) the file was accidentally left out of the *_ v1.5.12.tar.gz
> (2) there is a bug in the source code that references the wrong file name
> (3) the syntax of making a new process has changed.
>
> Until this bug is fixed, Is there any way to get legacy distributions
> (i.e. v1.5.11?).
>
> --
> You received this bug notification because you are a member of MadTeam,
> which is subscribed to MadGraph5.
> https://bugs.launchpad.net/bugs/1219758
>
> Title:
> IOError : [Errno 2] No such file or directory
>
> Status in The MadGraph Matrix Element Generator version 5:
> Incomplete
>
> Bug description:
> liangshang@PARTICLE:~/MadGraph5_v1_5_12/my_second_mg5_run> ./bin/generate_events
> launch in debug mode
> For tab completion and history, install module readline.
> ************************************************************
> * *
> * W E L C O M E to M A D G R A P H 5 *
> * M A D E V E N T *
> * *
> * * * *
> * * * * * *
> * * * * * 5 * * * * *
> * * * * * *
> * * * *
> * *
> * VERSION 5.1.5.12 *
> * *
> * The MadGraph Development Team - Please visit us at *
> * https://server06.fynu.ucl.ac.be/projects/madgraph *
> * *
> * Type 'help' for in-line help. *
> * *
> ************************************************************
> load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
> load configuration from /home/liangshang/MadGraph5_v1_5_12/input/mg5_configuration.txt
> load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Cards/me5_configuration.txt
> Using default text editor "vi". Set another one in ./input/mg5_configuration.txtUsing default eps viewer "gv". Set another one in ./inpu...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi,

So this is going to be fixed for the next version of MG5: 1.5.13.

In attachment, you will find the patch which fix this behavior.

Cheers and thanks,

Olivier

Changed in madgraph5:
status: Incomplete → Fix Committed
Revision history for this message
liangshang (shlwell1988) wrote : 回复:[Bug 1219758] Re: IOError : [Errno 2] No such file or directory

Dear Olivier,

The problem occurs actually when the generation of the directory is done like MG4. I hope this will be fixed for the next version of MG5: 1.5.13 soon.

Regards,

Liang

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi Liang,

Sure this will be fixed for 1.5.13 version of the code.
Otherwise you can apply the patch associated to this bug report if you want to have it fixed in 1.5.12

Cheers,

Olivier

Revision history for this message
Keith Pedersen (kpeders1) wrote : Re: [Bug 1219758] IOError : [Errno 2] No such file or directory
Download full text (7.3 KiB)

Oliver,

Thanks. Sorry, I'm a n00b, so I just learned the MG4 syntax. I'll switch to the MG5 way, since I'm sure using the deprecated way will ensure that I encounter new "bugs" in the future.

Keith Pedersen

On Sep 13, 2013, at 4:06 AM, Olivier Mattelaer <email address hidden> wrote:

> Hi Keith, liangshang
>
> Thanks I found a way to reproduce the problem.
> The problem occurs ONLY if the generation of the directory is done like MG4
> (i.e. doing cp -r Template NAME)
> and not via the MG5 command line
> (i.e. ./bin/mg5 proc_card.dat or interactive interface)
>
> So this is a perfect time to pass to official MG5 methods and drops the MG4 retro-compatible method
> of generation.
>
> Cheers,
>
> Olivier
>
>
> Ok the problem occur only when generating processes in MG4 like way.
>
> On Sep 13, 2013, at 12:50 AM, Keith Pedersen <email address hidden>
> wrote:
>
>> I have this same problem (same error message). I have downloaded
>> MadGraph5_v1.5.12.tar.gz twice. Neither *tar.gz ships with the file
>> "Template/Cards/run_card_default.dat". I see 3 scenarios here:
>>
>> (1) the file was accidentally left out of the *_ v1.5.12.tar.gz
>> (2) there is a bug in the source code that references the wrong file name
>> (3) the syntax of making a new process has changed.
>>
>> Until this bug is fixed, Is there any way to get legacy distributions
>> (i.e. v1.5.11?).
>>
>> --
>> You received this bug notification because you are a member of MadTeam,
>> which is subscribed to MadGraph5.
>> https://bugs.launchpad.net/bugs/1219758
>>
>> Title:
>> IOError : [Errno 2] No such file or directory
>>
>> Status in The MadGraph Matrix Element Generator version 5:
>> Incomplete
>>
>> Bug description:
>> liangshang@PARTICLE:~/MadGraph5_v1_5_12/my_second_mg5_run> ./bin/generate_events
>> launch in debug mode
>> For tab completion and history, install module readline.
>> ************************************************************
>> * *
>> * W E L C O M E to M A D G R A P H 5 *
>> * M A D E V E N T *
>> * *
>> * * * *
>> * * * * * *
>> * * * * * 5 * * * * *
>> * * * * * *
>> * * * *
>> * *
>> * VERSION 5.1.5.12 *
>> * *
>> * The MadGraph Development Team - Please visit us at *
>> * https://server06.fynu.ucl.ac.be/projects/madgraph *
>> * *
>> * Type 'help' for in-line help. *
>> * *
>> ************************************************************
>> load configuration from /home/liangshang/MadGraph5_v1_5_12/my_second_mg5_run/Card...

Read more...

Changed in madgraph5:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.