A problem when installing pythia8

Asked by Maksym Ovchynnikov


I'm installing pythia8 package within MG5 interface. During installation an error occurs:

"...checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for sw_vers... no
checking whether the C++ compiler works... no
configure: error: in `/tmp/tmpnTHox2/LHAPDF-6.1.6':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.."

But I have already installed gcc-c++ compiler, and don't understand what is the reason for this... Could you please help?

Question information

English Edit question
MadGraph5_aMC@NLO Edit question
Valentin Hirschi Edit question
Last query:
Last reply:
Revision history for this message
Maksym Ovchynnikov (name-xxx) said :

Here is MG5_debug file:

"...ine 5668, in advanced_install
    raise self.InvalidCmd("Installation of %s failed."%tool_to_install)
InvalidCmd: Installation of lhapdf6 failed.
                          MadGraph5_aMC@NLO Options
        complex_mass_scheme : False
                      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
               stdout_level : 10 (user set)

                         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
                 eps_viewer : None
        exrootanalysis_path : ./ExRootAnalysis
              f2py_compiler : 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
          madanalysis5_path : /home/movchynnikov/Downloads/MG5/HEPTools/madanalysis5/madanalysis5 (user set)
           madanalysis_path : ./MadAnalysis
  mg5amc_py8_interface_path : None (user set)
                      ninja : ./HEPTools/lib
        output_dependencies : external
                      pjfry : None (user set)
            pythia-pgs_path : ./pythia-pgs
               pythia8_path : None (user set)
                    samurai : None
               syscalc_path : ./SysCalc
                    td_path : ./td
                text_editor : None
                thepeg_path : None (user set)
                    timeout : 60
                web_browser : None..."

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :

In the 'HEPTools' directory in the your MG5_aMC installation there is a 'pythia8' folder in which you will find the 'pythia8_installation.log' file which contains the exact './configure <options' line used for configuring pythia8 before installing it.
If a compiler is not specified there, then the default compiler symbols 'gcc, g++, etc... ' will be used and those must be functional.
If you have non-standard names instead, you must explicitly specified them as the option 'cpp_compiler' of MadGraph.

In all cases, if you believe the './configure' options specified by MadGraph to be sane, but it is still not accepted by Pythia8 configuration auto-tools, then you should contact Pythia8's authors.

Can you help with this problem?

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

To post a message you must log in.