using PPPC4DMID requires scipy module. Please install it

Bug #1907549 reported by 'Abdurrahman Hanafi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadDM
New
Undecided
Daniele Massaro

Bug Description

I already installed the scipy module but still get this error.

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.8.2 2020-10-30 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set group_subprocesses Auto
set ignore_six_quark_processes False
set max_t_for_channel 99
set loop_optimized_output True
set low_mem_multicore_nlo_generation False
set default_unset_couplings 99
set zerowidth_tchannel True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
import model DMsimp_s_spin0
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
define darkmatter ~xd
define darkmatter xd
import model /home/abdurahman/Downloads/MG5_aMC_v2_8_2/models/DMsimp_s_spin0__COMPLEX
define p = 21 2 4 1 3 -2 -4 -1 -3 # pass to 4 flavors
define j = p
generate relic_density
add indirect_detection
output Example_1
launch Example_1
launch Example_1
launch Example_1
launch Example_1
launch Example_1
launch Example_1
launch Example_1
launch Example_1
Traceback (most recent call last):
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1541, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_interface.py", line 752, in do_launch
    self._MDM.exec_cmd('launch ' + line.replace(args[1], ''))
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1570, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/madgraph/interface/extended_cmd.py", line 1490, in onecmd_orig
    return func(arg, **opt)
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_run_interface.py", line 872, in do_launch
    self.launch_indirect(force)
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_run_interface.py", line 1161, in launch_indirect
    self.calculate_fluxes() # calculating dPhidE
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_run_interface.py", line 1495, in calculate_fluxes
    Phi = self.Phi(chan= spec) # Phi takes care of the J factor so it is calculate at earth!
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_run_interface.py", line 1563, in Phi
    integrate_dNdE = aux.integrate( self.dNdE_int , grid , channel = chan ) # the last are the arguments of the function
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/auxiliary.py", line 20, in integrate
    (start_pt+end_pt), **kwargs) + integrand(end_pt, **kwargs))
  File "/home/abdurahman/Downloads/MG5_aMC_v2_8_2/PLUGIN/maddm/maddm_run_interface.py", line 1545, in dNdE_int
    return np.interp(energy, E, dNdE )
  File "/home/abdurahman/.local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1412, in interp
    return interp_func(x, xp, fp, left, right)
ValueError: array of sample points is empty
                          MadGraph5_aMC@NLO Options
                          ----------------
        complex_mass_scheme : False
    default_unset_couplings : 99
                      gauge : unitary
         group_subprocesses : Auto
  ignore_six_quark_processes : False
           loop_color_flows : False
      loop_optimized_output : True
  low_mem_multicore_nlo_generation : False
     max_npoint_for_channel : 0
          max_t_for_channel : 99
               stdout_level : 20 (user set)
         zerowidth_tchannel : True

                         MadEvent Options
                          ----------------
     automatic_html_opening : True
                    nb_core : None
        notification_center : True
                   run_mode : 2

                      Configuration Options
                      ---------------------
                        OLP : MadLoop
                    amcfast : amcfast-config
                   applgrid : applgrid-config
                auto_update : 7
         cluster_local_path : None
           cluster_nb_retry : 1
              cluster_queue : None (user set)
         cluster_retry_wait : 300
               cluster_size : 100
      cluster_status_update : (600, 30)
          cluster_temp_path : None
               cluster_type : condor
                    collier : ./HEPTools/lib
               cpp_compiler : None
             crash_on_error : False
               delphes_path : ./Delphes
                dragon_path : /home/abdurahman/Downloads/MG5_aMC_v2_8_2/HEPTools/dragon (user set)
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : None
          f2py_compiler_py2 : None
          f2py_compiler_py3 : None
                    fastjet : None (user set)
           fortran_compiler : None
                      golem : None (user set)
                 hepmc_path : None (user set)
                  hwpp_path : None (user set)
                     lhapdf : lhapdf-config
                 lhapdf_py2 : /home/abdurahman/Downloads/MG5_aMC_v2_8_2/HEPTools/lhapdf6/bin/lhapdf-config (user set)
                 lhapdf_py3 : None
          madanalysis5_path : None (user set)
           madanalysis_path : ./MadAnalysis
       maddm_first_indirect : False (user set)
  mg5amc_py8_interface_path : /home/abdurahman/Downloads/MG5_aMC_v2_8_2/HEPTools/MG5aMC_PY8_interface (user set)
                      ninja : ./HEPTools/lib
        output_dependencies : external
             pppc4dmid_path : /home/abdurahman/Downloads/MG5_aMC_v2_8_2/PPPC4DMID (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : /home/abdurahman/Downloads/MG5_aMC_v2_8_2/HEPTools/pythia8 (user set)
                    samurai : None

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1907549] [NEW] using PPPC4DMID requires scipy module. Please install it

I do not think that this is a scipy issue.
did you modify any of the card from their default?
Could you give more details on the change you did (or attach the cards)?

Thanks,

Olivier

> On 10 Dec 2020, at 09:36, 'Abdurrahman Hanafi <email address hidden> wrote:
>
> import model DMsimp_s_spin0
> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
> define j = p
> define darkmatter ~xd
> define darkmatter xd
> import model /home/abdurahman/Downloads/MG5_aMC_v2_8_2/models/DMsimp_s_spin0__COMPLEX
> define p = 21 2 4 1 3 -2 -4 -1 -3 # pass to 4 flavors
> define j = p
> generate relic_density
> add indirect_detection

Revision history for this message
'Abdurrahman Hanafi (rammykay) wrote :
Download full text (9.6 KiB)

I don't know which card folder that you mean, so I attached the link to
both card that I can found in the output file, 1 from card in output and 1
from indirect in output and I did not change anything in the both card.
 Cards and Indirect files.zip
<https://drive.google.com/file/d/1y1BNjPRhW0EAKLb4zQ618uFnYN75oNnD/view?usp=drive_web>

On Fri, 11 Dec 2020 at 05:20, Olivier Mattelaer <email address hidden>
wrote:

> I do not think that this is a scipy issue.
> did you modify any of the card from their default?
> Could you give more details on the change you did (or attach the cards)?
>
> Thanks,
>
> Olivier
>
> > On 10 Dec 2020, at 09:36, 'Abdurrahman Hanafi <
> <email address hidden>> wrote:
> >
> > import model DMsimp_s_spin0
> > define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
> > define j = p
> > define darkmatter ~xd
> > define darkmatter xd
> > import model
> /home/abdurahman/Downloads/MG5_aMC_v2_8_2/models/DMsimp_s_spin0__COMPLEX
> > define p = 21 2 4 1 3 -2 -4 -1 -3 # pass to 4 flavors
> > define j = p
> > generate relic_density
> > add indirect_detection
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1907549
>
> Title:
> using PPPC4DMID requires scipy module. Please install it
>
> Status in MadDM:
> New
>
> Bug description:
> I already installed the scipy module but still get this error.
>
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.8.2 2020-10-30 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #************************************************************
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set max_t_for_channel 99
> set loop_optimized_output True
> set low_mem_multicore_nlo_generation False
> set default_unset_couplings 99
> set zerowidth_tchannel True
> set loop_color_flows False
> set gauge unitary
> set complex_mas...

Read more...

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :
Download full text (17.9 KiB)

Could you attach the tarball to this bug report (or send it to me by email) since I have issue with google drive (looks like I can not download your file)

Cheers,

Olivier

> On 14 Dec 2020, at 09:59, 'Abdurrahman Hanafi <email address hidden> wrote:
>
> I don't know which card folder that you mean, so I attached the link to
> both card that I can found in the output file, 1 from card in output and 1
> from indirect in output and I did not change anything in the both card.
> Cards and Indirect files.zip
> <https://drive.google.com/file/d/1y1BNjPRhW0EAKLb4zQ618uFnYN75oNnD/view?usp=drive_web>
>
> On Fri, 11 Dec 2020 at 05:20, Olivier Mattelaer <email address hidden>
> wrote:
>
>> I do not think that this is a scipy issue.
>> did you modify any of the card from their default?
>> Could you give more details on the change you did (or attach the cards)?
>>
>> Thanks,
>>
>> Olivier
>>
>>> On 10 Dec 2020, at 09:36, 'Abdurrahman Hanafi <
>> <email address hidden>> wrote:
>>>
>>> import model DMsimp_s_spin0
>>> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
>>> define j = p
>>> define darkmatter ~xd
>>> define darkmatter xd
>>> import model
>> /home/abdurahman/Downloads/MG5_aMC_v2_8_2/models/DMsimp_s_spin0__COMPLEX
>>> define p = 21 2 4 1 3 -2 -4 -1 -3 # pass to 4 flavors
>>> define j = p
>>> generate relic_density
>>> add indirect_detection
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1907549
>>
>> Title:
>> using PPPC4DMID requires scipy module. Please install it
>>
>> Status in MadDM:
>> New
>>
>> Bug description:
>> I already installed the scipy module but still get this error.
>>
>>
>> #************************************************************
>> #* MadGraph5_aMC@NLO *
>> #* *
>> #* * * *
>> #* * * * * *
>> #* * * * * 5 * * * * *
>> #* * * * * *
>> #* * * *
>> #* *
>> #* *
>> #* VERSION 2.8.2 2020-10-30 *
>> #* *
>> #* The MadGraph5_aMC@NLO Development Team - Find us at *
>> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
>> #* *
>> #************************************************************
>> #* *
>> #* Command File for MadGraph5_aMC@NLO *
>> #* *
>> #* run as ./bin/mg5_aMC filename *
>> #* *
>> #************************************************************
>> set gro...

Revision history for this message
'Abdurrahman Hanafi (rammykay) wrote :

here is the files

Revision history for this message
'Abdurrahman Hanafi (rammykay) wrote :

here another cards file

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

Hi Daniele,

I remember that you speak about a PPPC bug that you fixed in 3.1. Is this the same bug?

Olivier

Changed in maddm:
assignee: nobody → Daniele Massaro (dmassaro)
Revision history for this message
Daniele Massaro (dmassaro) wrote :

Hi,

can you try the process with the new version of MadDM (3.1)?
You can download it from the MadGraph prompt, by typing 'install maddm'. You need to update MadGraph at least to version 2.8.2 and you need to use Python 2.7.

Cheers.
--
Daniele

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.