Error in Madgraph

Asked by satendra kumar

Dear All,

Could you please tell me how to fix the following issue:

Fortran runtime error:

^[[1;31mCommand "import /home/BaradhwajC_grp/satendrak/Research17/BG_Full/BG_PP_Zp.dat" interrupted in sub-command:
"multi_run 3" with error:
ValueError : could not convert string to float:
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in '/home/BaradhwajC_grp/satendrak/Research17/BG_Full/BG_Full_PP_Zp/run_01_0_tag_1_debug.log'.
Please attach this file to your report.^[[0m

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Could you copy paste the content of your debug file?

Cheers,

Olivier

Revision history for this message
satendra kumar (satendra-kumar301) said :
#3

multi_run 3

Traceback (most recent call last):

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1438, in onecmd

    return self.onecmd_orig(line, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1392, in onecmd_orig

    return func(arg, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/master_interface.py",
line 269, in do_import

    self.cmd.do_import(self, *args, **opts)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/madgraph_interface.py",
line 5119, in do_import

    self.import_command_file(args[1])

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1580, in import_command_file

    self.exec_cmd(line, precmd=True)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1465, in exec_cmd

    stop = Cmd.onecmd_orig(current_interface, line, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1392, in onecmd_orig

    return func(arg, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/madevent_interface.py",
line 2555, in do_multi_run

    self.exec_cmd('generate_events %s_%s -f' % (main_name, i),
postcmd=False)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1465, in exec_cmd

    stop = Cmd.onecmd_orig(current_interface, line, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1392, in onecmd_orig

    return func(arg, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/madevent_interface.py",
line 2125, in do_generate_events

    self.exec_cmd('refine %s' % nb_event, postcmd=False)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1465, in exec_cmd

    stop = Cmd.onecmd_orig(current_interface, line, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py",
line 1392, in onecmd_orig

    return func(arg, **opt)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/madevent_interface.py",
line 3114, in do_refine

    cross, error = self.make_make_all_html_results()

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py",
line 672, in make_make_all_html_results

    return sum_html.make_all_html_results(self, folder_names, jobs)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py",
line 742, in make_all_html_results

    Presults = collect_result(cmd, folder_names=folder_names, jobs=jobs)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py",
line 710, in collect_result

    P_comb.add_results(name, pjoin(P_path,name,'results.dat'), mfactor)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py",
line 412, in add_results

    oneresult.read_results(filepath)

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py",
line 303, in read_results

    data = [secure_float(d) for d in line.split()]

  File
"/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py",
line 300, in secure_float

    return float(m.group(1))*10**(float(m.group(2)))

ValueError: could not convert string to float:

On Sat, Sep 23, 2017 at 4:47 PM, Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #658549 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/658549
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Could you copy paste the content of your debug file?
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/mg5amcnlo/+question/658549/+
> confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/mg5amcnlo/+question/658549
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#4

Hi,

Can you send the full file?
I need to reproduce this error in order to be able to help you with this.

If you do not want to share those information, then you can edit
/opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_aMC_v2_6_0/madgraph/madevent/sum_html.py
at line 300
and before that line add a "print line"
and then rerun your code, to see why the code is crashing.

Cheers,

Olivier

Revision history for this message
satendra kumar (satendra-kumar301) said :
#5

Dear Olivier,

Please find the attached file.

Thanks,
SK

On Mon, Sep 25, 2017 at 3:34 AM, Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #658549 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/658549
>
> Status: Open => Needs information
>
> Olivier Mattelaer requested more information:
> Hi,
>
> Can you send the full file?
> I need to reproduce this error in order to be able to help you with this.
>
> If you do not want to share those information, then you can edit
> /opt/baradwaj_grp_sw/satendrak/ROOT/softwares/MG5_
> aMC_v2_6_0/madgraph/madevent/sum_html.py
> at line 300
> and before that line add a "print line"
> and then rerun your code, to see why the code is crashing.
>
> Cheers,
>
> Olivier
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/mg5amcnlo/+question/658549
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#6

Hi,

Attachement does not go trough via email (and are not allowed for question).
If you want to attach a file, please create a bug report and not a question.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.