python3 issue with slurm cluster

Bug #1931997 reported by Olivier Mattelaer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Undecided
Unassigned

Bug Description

Hi,

when trying to generate events on the hpcc cluster (slurm) I end up with the following error:

INFO: Running Systematics computation
Command "generate_events run_01" interrupted with error:
TypeError : '<' not supported between instances of 'int' and 'str'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo

Cheers,
Kuntal

Revision history for this message
Kuntal Pal (kpal1995) wrote :

Here is the log file

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1931997] python3 issue with slurm cluster

Thanks,

You will find the associated patch here:

https://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/LTS_dev/revision/320 <https://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/LTS_dev/revision/320>

Cheers,

Olivier

> On 16 Jun 2021, at 10:56, Kuntal Pal <email address hidden> wrote:
>
> Here is the log file
>
> ** Attachment added: "run_01_tag_1_debug.log"
> https://bugs.launchpad.net/mg5amcnlo/+bug/1931997/+attachment/5504998/+files/run_01_tag_1_debug.log
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1931997
>
> Title:
> python3 issue with slurm cluster
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hi,
>
> when trying to generate events on the hpcc cluster (slurm) I end up
> with the following error:
>
> INFO: Running Systematics computation
> Command "generate_events run_01" interrupted with error:
> TypeError : '<' not supported between instances of 'int' and 'str'
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
>
>
> Cheers,
> Kuntal
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1931997/+subscriptions

Revision history for this message
Kuntal Pal (kpal1995) wrote :

Unfortunately the error remains after the patch though the log file shows error at a different place.

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

This one was already patched in my development version
the line was
  File "/rhome/kpal002/MG5_aMC_v3_1_0/madgraph/interface/madevent_interface.py", line 4410, in do_pythia8
was changed from
    n_cores = max(self.options['cluster_size'],1)
to
                    n_cores = max(int(self.options['cluster_size']),1)

Thanks,

Olivier

> On 17 Jun 2021, at 05:47, Kuntal Pal <email address hidden> wrote:
>
> Unfortunately the error remains after the patch though the log file
> shows error at a different place.
>
> ** Attachment added: "run_03_tag_1_debug.log"
> https://bugs.launchpad.net/mg5amcnlo/+bug/1931997/+attachment/5505165/+files/run_03_tag_1_debug.log
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1931997
>
> Title:
> python3 issue with slurm cluster
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hi,
>
> when trying to generate events on the hpcc cluster (slurm) I end up
> with the following error:
>
> INFO: Running Systematics computation
> Command "generate_events run_01" interrupted with error:
> TypeError : '<' not supported between instances of 'int' and 'str'
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
>
>
> Cheers,
> Kuntal
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1931997/+subscriptions

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

Other bug subscribers