compilation error on lepcoll branch

Bug #1983026 reported by Olivier Mattelaer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
marco zaro

Bug Description

Hi Marco,

When compiling the lepcoll branch, I do have the following crash (with gcc10)

     genps_fks.f:679:132:

       679 | $ tau_born, ycm_born, ycmhat, xjac)
           | 1
     Error: Type mismatch in argument 'rnd2_in' at (1); passed LOGICAL(4) to REAL(8)
     make: *** [genps_fks.o] Error 1

in this case (especially since the line number might not match the "official" version:
line 679 is the following:

         else ! this is for dressed ee collisions
            call generate_ee_tau_y(rndx(1), one_body, totmass,
     $ stot, nt_channel, qmass(-ns_channel-1),qwidth(-ns_channel-1),
     $ cBW(-ns_channel-1),cBW_mass(-1, -ns_channel-1),
     $ cBW_width(-1,-ns_channel-1),
     $ tau_born, ycm_born, ycmhat, xjac)

Revision history for this message
marco zaro (marco-zaro) wrote : Re: [Bug 1983026] [NEW] compilation error on lepcoll branch

Hi Olivier,
I think this is OK in 3.4.1. There, the corresponding lines are

         *else* ! this is for dressed ee collisions

            call generate_ee_tau_y(x(ndim*-*4), x(ndim*-*3), one_body,

      $ stot, nt_channel, qmass(*-*ns_channel*-*1),qwidth(*-*
ns_channel*-*1),

      $ cBW(*-*ns_channel*-*1),cBW_mass(*-*1, *-*ns_channel*-*1),

      $ cBW_width(*-*1,*-*ns_channel*-*1),

      $ tau_born, ycm_born, ycmhat, xjac0)

            ! for non-physical configurations, xjac=-1000

In the code snipped you provided, likely the second random number is
missing before one_body
Cheers,

Marco Zaro

On Thu, Jul 28, 2022 at 3:15 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Public bug reported:
>
> Hi Marco,
>
> When compiling the lepcoll branch, I do have the following crash (with
> gcc10)
>
> genps_fks.f:679:132:
>
> 679 | $ tau_born, ycm_born, ycmhat, xjac)
> |
>
> 1
> Error: Type mismatch in argument 'rnd2_in' at (1); passed
> LOGICAL(4) to REAL(8)
> make: *** [genps_fks.o] Error 1
>
> in this case (especially since the line number might not match the
> "official" version:
> line 679 is the following:
>
> else ! this is for dressed ee collisions
> call generate_ee_tau_y(rndx(1), one_body, totmass,
> $ stot, nt_channel,
> qmass(-ns_channel-1),qwidth(-ns_channel-1),
> $ cBW(-ns_channel-1),cBW_mass(-1, -ns_channel-1),
> $ cBW_width(-1,-ns_channel-1),
> $ tau_born, ycm_born, ycmhat, xjac)
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Assignee: marco zaro (marco-zaro)
> Status: New
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1983026
>
> Title:
> compilation error on lepcoll branch
>
> Status in MadGraph5_aMC@NLO:
> New
>
> Bug description:
> Hi Marco,
>
> When compiling the lepcoll branch, I do have the following crash (with
> gcc10)
>
> genps_fks.f:679:132:
>
> 679 | $ tau_born, ycm_born, ycmhat, xjac)
> |
>
> 1
> Error: Type mismatch in argument 'rnd2_in' at (1); passed
> LOGICAL(4) to REAL(8)
> make: *** [genps_fks.o] Error 1
>
> in this case (especially since the line number might not match the
> "official" version:
> line 679 is the following:
>
> else ! this is for dressed ee collisions
> call generate_ee_tau_y(rndx(1), one_body, totmass,
> $ stot, nt_channel,
> qmass(-ns_channel-1),qwidth(-ns_channel-1),
> $ cBW(-ns_channel-1),cBW_mass(-1, -ns_channel-1),
> $ cBW_width(-1,-ns_channel-1),
> $ tau_born, ycm_born, ycmhat, xjac)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mg5amcnlo/+bug/1983026/+subscriptions
>
>

Changed in mg5amcnlo:
status: New → Fix Released
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.