"ValueError: need more than 5 values to unpack"

Asked by juyepes on 2017-11-04

Hi,

My question is similar to ---> https://answers.launchpad.net/mg5amcnlo/+question/288319

In my case I get: "ValueError: need more than 5 values to unpack" with

****************************************************************************

results.dat ----> end code not correct 2

****************************************************************************

input_app.txt --->

         1000 5 3 !Number of events and max and min iterations
  0.1 !Accuracy
  2 !Grid Adjustment 0=none, 2=adjust
  1 !Suppress Amplitude 1=yes
  0 !Helicity Sum/event 0=exact
        1

*****************************************************************************

log.txt --->

 Process in group number 1
 No PDF is used, alpha_s(MZ) from param_card is used
 Value of alpha_s from param_card: 0.11839999999999999
 The default order of alpha_s running is fixed to 2
 Define smin to 0.0000000000000000
 *****************************************************
 * MadGraph/MadEvent *
 * -------------------------------- *
 * http://madgraph.hep.uiuc.edu *
 * http://madgraph.phys.ucl.ac.be *
 * http://madgraph.roma2.infn.it *
 * -------------------------------- *
 * *
 * PARAMETER AND COUPLING VALUES *
 * *
 *****************************************************

  External Params
  ---------------------------------

 mdl_gULDLW = 1.0000000000000000
 mdl_gULBLW = 1.0000000000000000
 mdl_gULULZ = 1.0000000000000000
 mdl_gULDLWR = 1.0000000000000000
 mdl_gURDRWR = 1.0000000000000000
 mdl_gULULZR = 1.0000000000000000
 mdl_gDLDLZR = 1.0000000000000000
 mdl_gURURZR = 1.0000000000000000
 mdl_gDRDRZR = 1.0000000000000000
 mdl_gNLeLWR = 1.0000000000000000
 mdl_gNReRWR = 1.0000000000000000
 mdl_gNLNLZR = 1.0000000000000000
 mdl_geLeLZR = 1.0000000000000000
 mdl_gNRNRZR = 1.0000000000000000
 mdl_geReRZR = 1.0000000000000000
 mdl_aqL = 4.0000000000000000
 mdl_aqR = 0.50000000000000000
 mdl_apsiL = 4.0000000000000000
 mdl_apsiR = 0.50000000000000000
 mdl_aupsiL = 0.50000000000000000
 mdl_aupsiR = 0.50000000000000000
 mdl_aqpsiL = 4.0000000000000000
 mdl_aqpsiR = 0.50000000000000000
 mdl_etaL = 0.50000000000000000
 mdl_etaR = 0.50000000000000000
 mdl_etatildeL = 0.50000000000000000
 mdl_etatildeR = 0.50000000000000000
 mdl_Xi = 1.0000000000000000
 aEWM1 = 127.90000000000001
 mdl_Gf = 1.1663700000000000E-005
 aS = 0.11839999999999999
 mdl_ymb = 4.7000000000000002
 mdl_ymt = 172.00000000000000
 mdl_ymtau = 1.7769999999999999
 mdl_gL = 0.65000000000000002
 mdl_ff = 1.0000000000000000
 mdl_NPscale = 1.0000000000000000
 mdl_MZ = 91.187600000000003
 mdl_MTA = 1.7769999999999999
 mdl_MT = 172.00000000000000
 mdl_MB = 4.7000000000000002
 mdl_MUp = 7.6499999999999997E-003
 mdl_MCp = 3.8100000000000001
 mdl_MTp = 516.00000000000000
 mdl_MDp = 1.5120000000000000E-002
 mdl_MSp = 0.30299999999999999
 mdl_MBp = 14.100000000000000
 mdl_MH = 125.00000000000000
 mdl_WZ = 2.4952000000000001
 mdl_WW = 2.0850000000000000
 mdl_WT = 1.5083359999999999
 mdl_WTp = 3.0166729999999999
 mdl_WH = 4.0699999999999998E-003
  Internal Params
  ---------------------------------

 mdl_gR = 0.65000000000000002
 mdl_MZ__exp__2 = 8315.1783937600012
 mdl_MZ__exp__4 = 69142191.720053151
 mdl_sqrt__2 = 1.4142135623730951
 mdl_MH__exp__2 = 15625.000000000000
 mdl_complexi = ( 0.0000000000000000 , 1.0000000000000000 )
 mdl_aEW = 7.8186082877247844E-003
 mdl_MW = 79.824359746197842
 mdl_sqrt__aEW = 8.8422894590285753E-002
 mdl_ee = 0.31345100004952897
 mdl_MW__exp__2 = 6371.9284088904105
 mdl_sw2 = 0.23369913342182447
 mdl_c2w = 0.53260173315635106
 mdl_sqrt__sw2 = 0.48342438232036300
 mdl_csc2w = 1.1815219520369844
 mdl_cscw = 2.0685758446856841
 mdl_ct2w = 0.62928063941717305
 mdl_ctw = 1.0342879223428421
 mdl_cw = 0.87538612427783857
 mdl_s2w = 0.84636599284166125
 mdl_secw = 1.1423530397228574
 mdl_sw = 0.48342438232036300
 mdl_tw = 0.55224131261981146
 mdl_g1 = 0.35807170271074895
 mdl_gw = 0.64839716719502682
 mdl_vev = 246.22056907348590
 mdl_vev__exp__2 = 60624.568634871241
 mdl_lam = 0.12886689630821144
 mdl_yb = 2.6995322804122722E-002
 mdl_yt = 0.98791394091683138
 mdl_ytau = 1.0206529494239589E-002
 mdl_muH = 88.388347648318444
  Internal Params evaluated point by point
  ----------------------------------------

 mdl_sqrt__aS = 0.34409301068170506
  Couplings of Fermion-vector_CHM
  ---------------------------------

         GC_1 = -0.00000E+00 -0.70711E+00

 Collider parameters:
 --------------------

 Running at e e machine @ 8000.0000000000000 GeV
 PDF set = none
 alpha_s(Mz)= 0.1184 running at 2 loops.
 alpha_s(Mz)= 0.1184 running at 2 loops.
 Renormalization scale set on event-by-event basis
 Factorization scale set on event-by-event basis

 getting user params
Enter number of events and max and min iterations:
 Number of events and iterations 1000 5 3
Enter desired fractional accuracy:
 Desired fractional accuracy: 0.10000000000000001
Enter 0 for fixed, 2 for adjustable grid:
Suppress amplitude (0 no, 1 yes)?
 Using suppressed amplitude.
Exact helicity sum (0 yes, n = number/event)?
 Explicitly summing over helicities
Enter Configuration Number:
Running Configuration Number: 1
 Not subdividing B.W.
 Attempting mappinvarients 1 3
 Completed mapping 3
 about to integrate -1 1000 5 3 -1 1
 Using non-zero grid deformation.
 -1 dimensions 1000 events 2 invarients 5 iterations 1 config(s), (0.99)
 Using h-tuple random number sequence.
 fail to read data
 Error opening grid
 Using Uniform Grid! 12
 Using uniform alpha 1.0000000000000000
 Grid defined OK
 Set CM energy to 8000.00
 Mapping Graph 1 to config 1
 Masses: 0.172E+03 0.141E+02 0.798E+02
   1

 ********************************************
 * You are using the DiscreteSampler module *
 * part of the MG5_aMC framework *
 * Author: Valentin Hirschi *
 ********************************************

  Particle 3
      Et > 0.0
       E > 0.0
     Eta < -1.0
   xqcut: 0.0
 alpha_s for scale 7999.9991559628625 is 7.0902756902507302E-002
At line 199 of file ranmar.f
Fortran runtime error: Index '0' of dimension 1 of array 'ranu' below lower bound of 1

ls status:
ftn25
input_app.txt
log.txt
results.dat
run1_app.log

****************************************************************************

Could kindly suggest me how to solve it? Does it have to do with fixing the energy? Could you point it out ?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2017-11-04
Last reply:
2017-11-04

Hi,

This reminds me an old bug that I have already fixes. Can you confirm that you are working with the latest version of the code?

Cheers,

Olivier

> On Nov 4, 2017, at 01:43, juyepes <email address hidden> wrote:
>
> New question #660321 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/660321
>
> Hi,
>
> My question is similar to ---> https://answers.launchpad.net/mg5amcnlo/+question/288319
>
> In my case I get: "ValueError: need more than 5 values to unpack" with
>
> ****************************************************************************
>
> results.dat ----> end code not correct 2
>
> ****************************************************************************
>
> input_app.txt --->
>
> 1000 5 3 !Number of events and max and min iterations
> 0.1 !Accuracy
> 2 !Grid Adjustment 0=none, 2=adjust
> 1 !Suppress Amplitude 1=yes
> 0 !Helicity Sum/event 0=exact
> 1
>
> *****************************************************************************
>
> log.txt --->
>
> Process in group number 1
> No PDF is used, alpha_s(MZ) from param_card is used
> Value of alpha_s from param_card: 0.11839999999999999
> The default order of alpha_s running is fixed to 2
> Define smin to 0.0000000000000000
> *****************************************************
> * MadGraph/MadEvent *
> * -------------------------------- *
> * http://madgraph.hep.uiuc.edu *
> * http://madgraph.phys.ucl.ac.be *
> * http://madgraph.roma2.infn.it *
> * -------------------------------- *
> * *
> * PARAMETER AND COUPLING VALUES *
> * *
> *****************************************************
>
> External Params
> ---------------------------------
>
> mdl_gULDLW = 1.0000000000000000
> mdl_gULBLW = 1.0000000000000000
> mdl_gULULZ = 1.0000000000000000
> mdl_gULDLWR = 1.0000000000000000
> mdl_gURDRWR = 1.0000000000000000
> mdl_gULULZR = 1.0000000000000000
> mdl_gDLDLZR = 1.0000000000000000
> mdl_gURURZR = 1.0000000000000000
> mdl_gDRDRZR = 1.0000000000000000
> mdl_gNLeLWR = 1.0000000000000000
> mdl_gNReRWR = 1.0000000000000000
> mdl_gNLNLZR = 1.0000000000000000
> mdl_geLeLZR = 1.0000000000000000
> mdl_gNRNRZR = 1.0000000000000000
> mdl_geReRZR = 1.0000000000000000
> mdl_aqL = 4.0000000000000000
> mdl_aqR = 0.50000000000000000
> mdl_apsiL = 4.0000000000000000
> mdl_apsiR = 0.50000000000000000
> mdl_aupsiL = 0.50000000000000000
> mdl_aupsiR = 0.50000000000000000
> mdl_aqpsiL = 4.0000000000000000
> mdl_aqpsiR = 0.50000000000000000
> mdl_etaL = 0.50000000000000000
> mdl_etaR = 0.50000000000000000
> mdl_etatildeL = 0.50000000000000000
> mdl_etatildeR = 0.50000000000000000
> mdl_Xi = 1.0000000000000000
> aEWM1 = 127.90000000000001
> mdl_Gf = 1.1663700000000000E-005
> aS = 0.11839999999999999
> mdl_ymb = 4.7000000000000002
> mdl_ymt = 172.00000000000000
> mdl_ymtau = 1.7769999999999999
> mdl_gL = 0.65000000000000002
> mdl_ff = 1.0000000000000000
> mdl_NPscale = 1.0000000000000000
> mdl_MZ = 91.187600000000003
> mdl_MTA = 1.7769999999999999
> mdl_MT = 172.00000000000000
> mdl_MB = 4.7000000000000002
> mdl_MUp = 7.6499999999999997E-003
> mdl_MCp = 3.8100000000000001
> mdl_MTp = 516.00000000000000
> mdl_MDp = 1.5120000000000000E-002
> mdl_MSp = 0.30299999999999999
> mdl_MBp = 14.100000000000000
> mdl_MH = 125.00000000000000
> mdl_WZ = 2.4952000000000001
> mdl_WW = 2.0850000000000000
> mdl_WT = 1.5083359999999999
> mdl_WTp = 3.0166729999999999
> mdl_WH = 4.0699999999999998E-003
> Internal Params
> ---------------------------------
>
> mdl_gR = 0.65000000000000002
> mdl_MZ__exp__2 = 8315.1783937600012
> mdl_MZ__exp__4 = 69142191.720053151
> mdl_sqrt__2 = 1.4142135623730951
> mdl_MH__exp__2 = 15625.000000000000
> mdl_complexi = ( 0.0000000000000000 , 1.0000000000000000 )
> mdl_aEW = 7.8186082877247844E-003
> mdl_MW = 79.824359746197842
> mdl_sqrt__aEW = 8.8422894590285753E-002
> mdl_ee = 0.31345100004952897
> mdl_MW__exp__2 = 6371.9284088904105
> mdl_sw2 = 0.23369913342182447
> mdl_c2w = 0.53260173315635106
> mdl_sqrt__sw2 = 0.48342438232036300
> mdl_csc2w = 1.1815219520369844
> mdl_cscw = 2.0685758446856841
> mdl_ct2w = 0.62928063941717305
> mdl_ctw = 1.0342879223428421
> mdl_cw = 0.87538612427783857
> mdl_s2w = 0.84636599284166125
> mdl_secw = 1.1423530397228574
> mdl_sw = 0.48342438232036300
> mdl_tw = 0.55224131261981146
> mdl_g1 = 0.35807170271074895
> mdl_gw = 0.64839716719502682
> mdl_vev = 246.22056907348590
> mdl_vev__exp__2 = 60624.568634871241
> mdl_lam = 0.12886689630821144
> mdl_yb = 2.6995322804122722E-002
> mdl_yt = 0.98791394091683138
> mdl_ytau = 1.0206529494239589E-002
> mdl_muH = 88.388347648318444
> Internal Params evaluated point by point
> ----------------------------------------
>
> mdl_sqrt__aS = 0.34409301068170506
> Couplings of Fermion-vector_CHM
> ---------------------------------
>
> GC_1 = -0.00000E+00 -0.70711E+00
>
> Collider parameters:
> --------------------
>
> Running at e e machine @ 8000.0000000000000 GeV
> PDF set = none
> alpha_s(Mz)= 0.1184 running at 2 loops.
> alpha_s(Mz)= 0.1184 running at 2 loops.
> Renormalization scale set on event-by-event basis
> Factorization scale set on event-by-event basis
>
>
> getting user params
> Enter number of events and max and min iterations:
> Number of events and iterations 1000 5 3
> Enter desired fractional accuracy:
> Desired fractional accuracy: 0.10000000000000001
> Enter 0 for fixed, 2 for adjustable grid:
> Suppress amplitude (0 no, 1 yes)?
> Using suppressed amplitude.
> Exact helicity sum (0 yes, n = number/event)?
> Explicitly summing over helicities
> Enter Configuration Number:
> Running Configuration Number: 1
> Not subdividing B.W.
> Attempting mappinvarients 1 3
> Completed mapping 3
> about to integrate -1 1000 5 3 -1 1
> Using non-zero grid deformation.
> -1 dimensions 1000 events 2 invarients 5 iterations 1 config(s), (0.99)
> Using h-tuple random number sequence.
> fail to read data
> Error opening grid
> Using Uniform Grid! 12
> Using uniform alpha 1.0000000000000000
> Grid defined OK
> Set CM energy to 8000.00
> Mapping Graph 1 to config 1
> Masses: 0.172E+03 0.141E+02 0.798E+02
> 1
>
> ********************************************
> * You are using the DiscreteSampler module *
> * part of the MG5_aMC framework *
> * Author: Valentin Hirschi *
> ********************************************
>
> Particle 3
> Et > 0.0
> E > 0.0
> Eta < -1.0
> xqcut: 0.0
> alpha_s for scale 7999.9991559628625 is 7.0902756902507302E-002
> At line 199 of file ranmar.f
> Fortran runtime error: Index '0' of dimension 1 of array 'ranu' below lower bound of 1
>
> ls status:
> ftn25
> input_app.txt
> log.txt
> results.dat
> run1_app.log
>
> ****************************************************************************
>
> Could kindly suggest me how to solve it? Does it have to do with fixing the energy? Could you point it out ?
>
> Thanks
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

juyepes (juyepes1985) said : #2

Working with version 2.5.5.

Hope you could guide me !

juyepes (juyepes1985) said : #3

I must say that I am running

t bp~ > w+

where bp~ is a new bottom partner heavier than the SM one. I assigned it the PDG number 8880013. Don't know if the latter might be the cause

Hi,

What are you trying to do?
We can not integrate such process since it is over constrain (3 degree of freedom associated to the w+ and 4 constaint from energy-momentum conservation). So it make perfect sense that the code crash in this case.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask juyepes for more information if necessary.

To post a message you must log in.