Compilation error due to Fastjet

Asked by matteo maltoni

Dear MadGraph experts,

I downloaded Fastjet 3.4.0 and tried to launch a NLO+PS generation (with Pythia8) of p p > z j [QCD].
An error occurs during the compilation of subprocesses:

Command "launch auto " interrupted with error:
Exception : fct <function compile_dir at 0x7f1fad31ef70> does not return 0:
  A compilation Error occurs when trying to compile /home/matteo/Scrivania/MG5_aMC_v3_1_0/bin/pp_zj/SubProcesses/P0_gd_zd.
 The compilation fails with the following output message:
     g++ -O -I/usr/local/include -c -I. fastjetfortran_madfks_full.cc
     fastjetfortran_madfks_full.cc:30:10: fatal error: fastjet/ClusterSequence.hh: No such file o directory
        30 | #include "fastjet/ClusterSequence.hh"
           | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
     compilation terminated.
     make: *** [makefile:86: fastjetfortran_madfks_full.o] Errore 1

 Please try to fix this compilations issue and retry.

From the debug file you can find below, you can see I already set the path to fastjet-config; the ClusterSequence.hh file is in fastjet-3.4.0/include/fastjet/.

Do you know where the error may be?
I'll be glad to provide any other documentation you need.

Best,

Matteo

Here's the debug file:

launch auto
Traceback (most recent call last):
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/various/cluster.py", line 812, in wait
    use_lock = self.lock.wait(300)
  File "/usr/lib/python3.8/threading.py", line 558, in wait
    signaled = self._cond.wait(timeout)
  File "/usr/lib/python3.8/threading.py", line 306, in wait
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/interface/extended_cmd.py", line 1544, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/interface/extended_cmd.py", line 1493, in onecmd_orig
    return func(arg, **opt)
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/interface/amcatnlo_run_interface.py", line 1779, in do_launch
    self.compile(mode, options)
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/interface/amcatnlo_run_interface.py", line 5345, in compile
    compile_cluster.wait(self.me_dir, update_status)
  File "/home/matteo/Scrivania/MG5_aMC_v3_1_0/madgraph/various/cluster.py", line 850, in wait
    raise Exception(self.fail_msg)
Exception: fct <function compile_dir at 0x7f1fad31ef70> does not return 0:
 A compilation Error occurs when trying to compile /home/matteo/Scrivania/MG5_aMC_v3_1_0/bin/pp_zj/SubProcesses/P0_gd_zd.
The compilation fails with the following output message:
    g++ -O -I/usr/local/include -c -I. fastjetfortran_madfks_full.cc
    fastjetfortran_madfks_full.cc:30:10: fatal error: fastjet/ClusterSequence.hh: File o directory non esistente
       30 | #include "fastjet/ClusterSequence.hh"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [makefile:86: fastjetfortran_madfks_full.o] Errore 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
Value of current Options:
             pythia8_path : /home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/pythia8
                hwpp_path : None
              thepeg_path : None
               hepmc_path : None
         madanalysis_path : None
        madanalysis5_path : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : None
      exrootanalysis_path : None
             syscalc_path : None
                  timeout : 60
              web_browser : None
               eps_viewer : None
              text_editor : None
         fortran_compiler : None
            f2py_compiler : None
        f2py_compiler_py2 : None
        f2py_compiler_py3 : None
             cpp_compiler : None
              auto_update : 7
             cluster_type : condor
            cluster_queue : None
    cluster_status_update : (600, 30)
                  fastjet : /home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/fastjet-3.4.0/fastjet-config
                    golem : None
                  samurai : None
                    ninja : /home/matteo/3.0.4/HEPTools/lib
                  collier : None
                   lhapdf : /home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/lhapdf6_py3/bin/lhapdf-config
                 pineappl : pineappl
               lhapdf_py2 : None
               lhapdf_py3 : /home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/lhapdf6_py3/bin/lhapdf-config
        cluster_temp_path : None
mg5amc_py8_interface_path : /home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/MG5aMC_PY8_interface
       cluster_local_path : None
                      OLP : MadLoop
         cluster_nb_retry : 1
       cluster_retry_wait : 300
             cluster_size : 100
      output_dependencies : external
           crash_on_error : False
       auto_convert_model : False
       group_subprocesses : Auto
ignore_six_quark_processes : False
low_mem_multicore_nlo_generation : False
      complex_mass_scheme : False
include_lepton_initiated_processes : False
                    gauge : unitary
             stdout_level : 10
    loop_optimized_output : True
         loop_color_flows : False
   max_npoint_for_channel : 0
  default_unset_couplings : 99
        max_t_for_channel : 99
       zerowidth_tchannel : True
      nlo_mixed_expansion : True
   automatic_html_opening : False
                 run_mode : 2
                  nb_core : 8
      notification_center : True
                 mg5_path : /home/matteo/Scrivania/MG5_aMC_v3_1_0
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 3.1.0 2021-03-25 *
#* BZR MG5_aMC_v3_1_0 999 *
#* *
#* 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 low_mem_multicore_nlo_generation False
set complex_mass_scheme False
set include_lepton_initiated_processes False
set gauge unitary
set loop_optimized_output True
set loop_color_flows False
set max_npoint_for_channel 0
set default_unset_couplings 99
set max_t_for_channel 99
set zerowidth_tchannel True
set nlo_mixed_expansion True
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 loop_sm
generate p p > z j [QCD]
output pp_zj
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR MASS
###################################
Block mass
    5 4.700000e+00 # MB
    6 1.730000e+02 # MT
   15 1.777000e+00 # MTA
   23 9.118800e+01 # MZ
   25 1.250000e+02 # MH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000e+00 # d : 0.0
  2 0.000000e+00 # u : 0.0
  3 0.000000e+00 # s : 0.0
  4 0.000000e+00 # c : 0.0
  11 0.000000e+00 # e- : 0.0
  12 0.000000e+00 # ve : 0.0
  13 0.000000e+00 # mu- : 0.0
  14 0.000000e+00 # vm : 0.0
  16 0.000000e+00 # vt : 0.0
  21 0.000000e+00 # g : 0.0
  22 0.000000e+00 # a : 0.0
  24 8.041900e+01 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.325070e+02 # aEWM1
    2 1.166390e-05 # Gf
    3 1.180000e-01 # aS (Note that Parameter not used if you use a PDF set)

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    5 4.700000e+00 # ymb
    6 1.730000e+02 # ymt
   15 1.777000e+00 # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.491500e+00 # WT
DECAY 23 2.441404e+00 # WZ
DECAY 24 2.047600e+00 # WW
DECAY 25 6.382339e-03 # WH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
#===========================================================
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#===========================================================

Block QNUMBERS 82 # gh
        1 0 # 3 times electric charge
        2 1 # number of spin states (2S+1)
        3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
        4 1 # Particle/Antiparticle distinction (0=own anti)
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
# *
# To display additional parameter, you can use the command: *
# update to_full *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
  10000 = nevents ! Number of unweighted events requested
  -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
  -1 = nevt_job ! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
  average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
  0.01 = req_acc_fo ! Required accuracy (-1=ignored, and use the
                     ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
  5000 = npoints_fo_grid ! number of points to setup grids
  4 = niters_fo_grid ! number of iter. to setup grids
  10000 = npoints_fo ! number of points to compute Xsec
  6 = niters_fo ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
  0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
  1 = lpp1 ! beam 1 type (0 = no PDF)
  1 = lpp2 ! beam 2 type (0 = no PDF)
  6500.0 = ebeam1 ! beam 1 energy in GeV
  6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
  nn23nlo = pdlabel ! PDF set
  244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
              ! numbers for central PDF sets are allowed. Can be a list;
              ! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  PYTHIA8 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
  False = fixed_ren_scale ! if .true. use fixed ren scale
  False = fixed_fac_scale ! if .true. use fixed fac scale
  91.118 = mur_ref_fixed ! fixed ren reference scale
  91.118 = muf_ref_fixed ! fixed fact reference scale
  -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
  1.0 = mur_over_ref ! ratio of current muR over reference muR
  1.0 = muf_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
  1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
  1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
  True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
  False = reweight_pdf ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
  False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
  3 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
  15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - If gamma_is_j, photons are also clustered *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  1.0 = jetradius ! The radius parameter for the jet algorithm
  10.0 = ptj ! Min jet transverse momentum
  -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
  True = gamma_is_j ! Wether to cluster photons as jets or not
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  0.0 = ptl ! Min lepton transverse momentum
  -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
  30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Fermion-photon recombination parameters *
# If Rphreco=0, no recombination is performed *
#***********************************************************************
  0.1 = rphreco ! Minimum fermion-photon distance for recombination
  -1.0 = etaphreco ! Maximum abs(pseudo-rap) for photons to be recombined (a value .lt.0 means no cut)
  True = lepphreco ! Recombine photons and leptons together
  True = quarkphreco ! Recombine photons and quarks together
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442 *
# Not applied if gamma_is_j *
# When ptgmin=0, all the other parameters are ignored *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  20.0 = ptgmin ! Min photon transverse momentum
  -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = r0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
  True = isoem ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# Cuts associated to MASSIVE particles identified by their PDG codes. *
# All cuts are applied to both particles and anti-particles, so use *
# POSITIVE PDG CODES only. Example of the syntax is {6 : 100} or *
# {6:100, 25:200} for multiple particles *
#***********************************************************************
  {} = pt_min_pdg ! Min pT for a massive particle
  {} = pt_max_pdg ! Max pT for a massive particle
  {} = mxx_min_pdg ! inv. mass for any pair of (anti)particles
#***********************************************************************
# Use PineAPPL to generate PDF-independent fast-interpolation grid *
# (https://zenodo.org/record/3992765#.X2EWy5MzbVo) *
#***********************************************************************
  False = pineappl ! PineAPPL switch
#***********************************************************************

Question information

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

Where did you install fastjet?
it seems to look for that file (fastjet/ClusterSequence.hh) in that directory:
/usr/local/include

Is this where it is?
Is this the path provided by fastjet-config ?

Cheers,

Olivier

Revision history for this message
matteo maltoni (matteo-maltoni) said :
#2

Dear Olivier,

Thank you for your answer.

The file is indeed in /usr/local/include/fastjet/.

This is also the path that is pointed in fastjet-config:

prefix=/usr/local
exec_prefix=${prefix}
installationdir=/usr/local
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Best,

Matteo

Revision history for this message
matteo maltoni (matteo-maltoni) said :
#3

Dear Olivier,

I disinstalled FastJet and tried to run the NLO+PS generation without it.

Now the generation starts normally, but when it's time to run Pythia8, it crashes with the following error:

INFO: Events generated
reweight -from_cards
decay_events -from_cards
INFO: Preparing MCatNLO run
INFO: Using LHAPDF v6.3.0 interface for PDFs
INFO: Compiling MCatNLO for PYTHIA8...
 USING PYTHIA 8, version >= 8.200
g++ -O -I/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/pythia8/include \
  -I/home/matteo/Scrivania/MG5_aMC_v3_1_0/bin/pp_zj/MCatNLO/include -I/home/matteo/Scrivania/MG5_aMC_v3_1_0/bin/pp_zj/MCatNLO/srcCommon Pythia82.cc -o Pythia8.exe HwU.o py8an_HwU_pp_zj.o pineappl_interface_dummy.o \
  -L/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/pythia8/lib -lpythia8 \
  -lHepMCfio -lgfortran -I/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/hepmc/include -L/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/hepmc/lib -lHepMC -L../lib -L/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/pythia8//lib -L/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/boost/lib -L/home/matteo/Scrivania/MG5_aMC_v3_1_0/HEPTools/zlib/lib -lpythia8 -lboost_iostreams -lz -ldl -lstdc++ \

/usr/bin/ld: py8an_HwU_pp_zj.o: in function `pyanal_':
py8an_HwU_pp_zj.f:(.text+0x149a): undefined reference to `fastjetppgenkt_'
collect2: error: ld returned 1 exit status
make: *** [Makefile:49: Pythia82] Error 1
Pythia8 compilation did not succeed, exiting

How can I point the file with fastjetppgenkt to MadGraph? I tried to add the path to srcCommon/myfastjetfortran.cc in the shower_card, like this:

INCLUDEPATHS = /home/matteo/Scrivania/MG5_aMC_v3_1_0/bin/pp_zj/MCatNLO/srcCommon
                                 # Path to header files needed by c++
                                 # Dir names separated by white spaces
ANALYSE = HwU.o py8an_HwU_pp_zj.o
                                 # User's analysis and histogramming
                                 # routines (please use .o as extension
                                 # and use spaces to separate files).
                                 # If the HwU.o files has to be linked,
                                 # it should be put *first*.

but it's not working.

Best,

Matteo

Revision history for this message
Paolo Torrielli (paolotorriell) said :
#4

Dear Matteo,

myfastjetfortran.cc should be added to the ANALYSE variable in the shower card,
which should then become

ANALYSE = HwU.o py8an_HwU_pp_zj.o myfastjetfortran.o

Let me know if this helps.
Best.
Paolo

Revision history for this message
matteo maltoni (matteo-maltoni) said :
#5

Dear Paolo,

Thank you for your answer.

It seems MadGraph is not able to find a file which myfastjetfortran.cc asks to include:

INFO: Events generated
reweight -from_cards
decay_events -from_cards
INFO: Preparing MCatNLO run
INFO: Using LHAPDF v6.3.0 interface for PDFs
INFO: Compiling MCatNLO for PYTHIA8...
 USING PYTHIA 8, version >= 8.200
g++ -c srcCommon/myfastjetfortran.cc -fPIC -o myfastjetfortran.o
srcCommon/myfastjetfortran.cc:32:10: fatal error: fastjet/ClusterSequence.hh: File o directory non esistente
   32 | #include "fastjet/ClusterSequence.hh"//INCLUDE_FJ
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:35: myfastjetfortran.o] Errore 1
Pythia8 compilation did not succeed, exiting

I can't find it anywhere, do you have any tips?

Best,

Matteo

Revision history for this message
Best Paolo Torrielli (paolotorriell) said :
#6

Hi Matteo,

sorry, I forgot that you should also add ‘fastjet’ to the
EXTRALIBS variable, which should become something like

EXTRALIBS = pythia8 dl fastjet

Best.
Paolo

> On 3 Sep 2021, at 13:35, matteo maltoni <email address hidden> wrote:
>
> Question #698567 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/698567
>
> Status: Answered => Open
>
> matteo maltoni is still having a problem:
> Dear Paolo,
>
> Thank you for your answer.
>
> It seems MadGraph is not able to find a file which myfastjetfortran.cc
> asks to include:
>
> INFO: Events generated
> reweight -from_cards
> decay_events -from_cards
> INFO: Preparing MCatNLO run
> INFO: Using LHAPDF v6.3.0 interface for PDFs
> INFO: Compiling MCatNLO for PYTHIA8...
> USING PYTHIA 8, version >= 8.200
> g++ -c srcCommon/myfastjetfortran.cc -fPIC -o myfastjetfortran.o
> srcCommon/myfastjetfortran.cc:32:10: fatal error: fastjet/ClusterSequence.hh: File o directory non esistente
> 32 | #include "fastjet/ClusterSequence.hh"//INCLUDE_FJ
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:35: myfastjetfortran.o] Errore 1
> Pythia8 compilation did not succeed, exiting
>
> I can't find it anywhere, do you have any tips?
>
> Best,
>
> Matteo
>
> --
> You received this question notification because you are subscribed to
> the question.

Revision history for this message
matteo maltoni (matteo-maltoni) said :
#7

Thanks Paolo Torrielli, that solved my question.