Error in the calculating process(about cross section)

Asked by Dontlearnphysics on 2021-05-05

Hi,
    I'm new in the madgraph. I need to get a cross section of the higgs particles, so I use the following code:
    import model sm
    generate b~ b > z h
    output bbzh
    launch bbzh
    Then I found that I can get three diagrams but no results. That is to say in the interface named "Results in the sm for b b z h", there only was the collider. Then I return to the original interface, the following notes appeared.

Error detected in "generate_events run_01"
write debug file /home/hbg/Downloads/MG5_aMC_v3.1.0/MG5_aMC_v3_1_0/bin/bbzh/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
str : A compilation Error occurs when trying to compile /home/hbg/Downloads/MG5_aMC_v3.1.0/MG5_aMC_v3_1_0/bin/bbzh/SubProcesses/P1_bxb_zh.
 The compilation fails with the following output message:
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
     gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
     gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -lbias -lstdc++
     /usr/bin/ld: cannot find -lstdc++
     collect2: error: ld returned 1 exit status
     make: *** [makefile:53: madevent_forhel] Error 1

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo

     If somebody can give me the specific instructions of the process of getting the cross section, I will be very very grateful

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

Looks like you are missing the standard library for C linking.
Please be sure that such basic library to be installed (they typically are by default but on Mac where those are not needed)

Cheers,

Olivier

> On 5 May 2021, at 04:30, Dontlearnphysics <email address hidden> wrote:
>
> New question #696917 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/696917
>
> Hi,
> I'm new in the madgraph. I need to get a cross section of the higgs particles, so I use the following code:
> import model sm
> generate b~ b > z h
> output bbzh
> launch bbzh
> Then I found that I can get three diagrams but no results. That is to say in the interface named "Results in the sm for b b z h", there only was the collider. Then I return to the original interface, the following notes appeared.
>
> Error detected in "generate_events run_01"
> write debug file /home/hbg/Downloads/MG5_aMC_v3.1.0/MG5_aMC_v3_1_0/bin/bbzh/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> str : A compilation Error occurs when trying to compile /home/hbg/Downloads/MG5_aMC_v3.1.0/MG5_aMC_v3_1_0/bin/bbzh/SubProcesses/P1_bxb_zh.
> The compilation fails with the following output message:
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c driver.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c myamp.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c genps.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c get_color.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cuts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c cluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c reweight.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c setscales.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c idenparts.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c dummy_fct.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
> gfortran -w -fPIC -O -ffixed-line-length-132 -w -c matrix1_orig.f -I../../Source/
> gfortran -o madevent_forhel driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o dummy_fct.o auto_dsig.o auto_dsig1.o matrix1_orig.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib -lbias -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> collect2: error: ld returned 1 exit status
> make: *** [makefile:53: madevent_forhel] Error 1
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
>
> If somebody can give me the specific instructions of the process of getting the cross section, I will be very very grateful
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Dontlearnphysics (learnphysics1) said :
#2

I don't know how to install the standard library for C linking. But I installed gcc ,g++ and build-essential. The problem still be there.

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

Please ask your local iT then.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.