Problem in generating events

Asked by luca

Hi,
sorry to bother you. I tried to generate events with MadGraph but i get this error and the process is aborted. I’ve attached the log file. If you’ll be able to help it would be great. I’m working with my laptop (macOS), not with the desktop (linux) which works just fine.
Kind Regards
Luca

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
                              Run Options
                              -----------
               stdout_level : 20 (user set)

                         MadEvent Options
                         ----------------
     automatic_html_opening : False (user set)
        notification_center : True
          cluster_temp_path : None
             cluster_memory : None (user set)
               cluster_size : 100
              cluster_queue : None (user set)
                    nb_core : 4 (user set)
               cluster_time : 4 (user set)
                   run_mode : 2

                      Configuration Options
                      ---------------------
                text_editor : None
         cluster_local_path : None (user set)
      cluster_status_update : (600, 30)
               pythia8_path : None (user set)
                  hwpp_path : None (user set)
            pythia-pgs_path : /Users/Luca/Desktop/MG5_aMC_v2_4_3/pythia-pgs (user set)
                    td_path : /Users/Luca/Desktop/MG5_aMC_v2_4_3/td (user set)
               delphes_path : None (user set)
                thepeg_path : None (user set)
               cluster_type : condor
        exrootanalysis_path : None (user set)
                 eps_viewer : None
                web_browser : None
               syscalc_path : None (user set)
           madanalysis_path : /Users/Luca/Desktop/MG5_aMC_v2_4_3/MadAnalysis (user set)
                     lhapdf : lhapdf-config
              f2py_compiler : None
                 hepmc_path : None (user set)
         cluster_retry_wait : 300
           fortran_compiler : None
                auto_update : 7 (user set)
           cluster_nb_retry : 1
                    timeout : 60
               cpp_compiler : None

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

Hi,

Most of us are running on mac, so they are not intrinsic problem on running on this os.
Now you have a compilation error.

Please go to the directory that can not compile and type make in it.
the error message should indicate what the problem is.
(if you update xcode recently it might be a license problem for example)

Cheers,

Olivier

Revision history for this message
luca (mantani) said :
#2

This is the message i get when i type the command "launch" on MG5.

MadGraph5Error: A compilation Error occurs when trying to compile /Users/Luca/Desktop/MG5_aMC_v2_4_3/prova/Source.

The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
    gfortran -lc++ -mmacosx-version-min=10.7 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf
    ld: library not found for -lcrt1.10.6.o
    collect2: error: ld returned 1 exit status
    make: *** [../bin/internal/combine_events] Error 1

Cheers
Luca

Revision history for this message
luca (mantani) said :
#3

This is the message i get when i type the command "launch" on MG5.

MadGraph5Error: A compilation Error occurs when trying to compile /Users/Luca/Desktop/MG5_aMC_v2_4_3/prova/Source.

The compilation fails with the following output message:
    gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
    gfortran -lc++ -mmacosx-version-min=10.7 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf
    ld: library not found for -lcrt1.10.6.o
    collect2: error: ld returned 1 exit status
    make: *** [../bin/internal/combine_events] Error 1

Cheers
Luca

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

you can run on your machine the following command:
xcode-select —install

Cheers,

Olivier
> On Oct 25, 2016, at 15:47, luca <email address hidden> wrote:
>
> Question #403205 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403205
>
> Status: Answered => Open
>
> luca is still having a problem:
> This is the message i get when i type the command "launch" on MG5.
>
> MadGraph5Error: A compilation Error occurs when trying to compile
> /Users/Luca/Desktop/MG5_aMC_v2_4_3/prova/Source.
>
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o combine_events.o combine_events.f
> gfortran -lc++ -mmacosx-version-min=10.7 -o ../bin/internal/combine_events combine_events.o rw_events.o ranmar.o kin_functions.o open_file.o rw_routines.o alfas_functions.o setrun.o -L../lib/ -lmodel -lpdf
> ld: library not found for -lcrt1.10.6.o
> collect2: error: ld returned 1 exit status
> make: *** [../bin/internal/combine_events] Error 1
>
> Cheers
> Luca
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

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

To post a message you must log in.