AlreadyRunning error after the first run at NLO

Bug #2033757 reported by marco zaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
New
Undecided
Unassigned

Bug Description

Hi,
I am experiencing a strange bug.
Generate any process at NLO, then run twice with
./bin/generate_events NLO
the first time will go through.
The second there will be an "AlreadyRunning" error raised by treatcards.

It is there also in 3.5.2.

Cheers,

Marco

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

Hi Marco,

I do not reproduce the error.
Did you edit the card between the two runs?
Do you have a debug file?

I guess that the issue is that the cards are updated (in a way) but that the code does not launch directly the handling of the card and that this one is trigger via the compilation of the Source directory.

Cheers,

Olivier

Revision history for this message
marco zaro (marco-zaro) wrote : Re: [Bug 2033757] AlreadyRunning error after the first run at NLO
Download full text (4.0 KiB)

yes, I change any parameter in the run_card, for example.

This is the debug

Command "launch NLO" interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/Source.
 The compilation fails with the following output message:
     ../bin/aMCatNLO treatcards run
     Running MG5 in debug mode
     No module named 'madgraph'
     DEBUG: No hepmc reader since No module named 'madgraph' [lhe_parser.py at line 49]
     INFO: ************************************************************
     * *
     * W E L C O M E to M A D G R A P H 5 *
     * a M C @ N L O *
     * *
     * * * *
     * * * * * *
     * * * * * 5 * * * * *
     * * * * * *
     * * * *
     * *
     * VERSION 5.3.5.1 *
     * *
     * The MadGraph5_aMC@NLO Development Team - Find us at *
     * http://amcatnlo.cern.ch *
     * *
     * Type 'help' for in-line help. *
     * *
     ************************************************************
     Traceback (most recent call last):
       File "/Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/Source/../bin/aMCatNLO", line 185, in <module>
         cmd_line = cmd_interface.aMCatNLOCmdShell()
       File "/Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/bin/internal/amcatnlo_run_interface.py", line 1502, in __init__
         CmdExtended.__init__(self, me_dir, options, *completekey, **stdin)
       File "/Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/bin/internal/amcatnlo_run_interface.py", line 297, in __init__
         super(CmdExtended, self).__init__(me_dir, options, *arg, **opt)
       File "/Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/bin/internal/common_run_interface.py", line 711, in __init__
         raise AlreadyRunning(message)
     internal.common_run_interface.AlreadyRunning: Another instance of the program is currently running.
                     (for this exact same directory) Please wait that this is instance is
                     closed. If no instance is running, you can delete the file
                     /Users/marcozaro/Physics/MadGraph/mg5amcnlo/PROCNLO_loop_sm_8/RunWeb and try again.
     make: *** [run_card.inc] Error 1

> On 1 Sep 2023, at 17:05, Olivier Mattelaer <email address hidden> wrote:
>
> Hi Marco,
>
> I do not reproduce the error.
> Did you edit the card between the two runs?
> Do you have a d...

Read more...

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

Hi,

I have tested a fix in 3.5.2 but this is not something that is easy to trigger (I did succeed to trigger it once and not anymore since my patch, but not 100% sure what is going on)

Olivier

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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