Comment 4 for bug 1931997

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

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