khi cố gắng chạy mã Phân tích mà tôi có Makefile này
VỎ = /bin/sh
pythialib= /home/anwarzada/Gói/Pythia8244/pythia/lib
hepmclib = /home/anwarzada/Packages/HepMC-2.06.09/HepMC/lib
tauolalib= /home/anwarzada/Gói/TAUOLA/lib/
lhapdflib= /home/anwarzada/Packages/LHAPDF-6.2.3/LHAPDF/lib/
lhapdfinc= /home/anwarzada/Packages/LHAPDF-6.2.3/LHAPDF/include
hepmcinc = /home/anwarzada/Packages/HepMC-2.06.09/HepMC/include
tauolainc= /home/anwarzada/Gói/TAUOLA/bao gồm
pythiainc= /home/anwarzada/Packages/Pythia8244/pythia/include/
rootinc= /home/anwarzada/Packages/root-6.20.02/myroot/include
rootlib= /home/anwarzada/Packages/root-6.20.02/myroot/lib
fastjetlib= /home/anwarzada/Packages/fastjet-3.3.3/FASTJET/lib/
fastjetinc= /home/anwarzada/Packages/fastjet-3.3.3/FASTJET/include
CXXFLAGS = -O2 -ansi -pedantic -fbounds-check
tất cả các :
@echo "Dùng makefile..., vui lòng nhập tên mã để biên dịch"
ViếtHepMC :
# gfortran -I$(hepmcinc) -I$(pythiainc) WriteHepMC.cc -o [email protected] -L$(pythialib) -L$(hepmclib) -L$(tauolalib) -L$(lhapdflib) -lpythia8 - lLHAPDF -lhepmcinterface -lHepMC -lTauolaCxxInterface -lTauolaFortran
g++ -I$(pythiainc) -I$(tauolainc) WriteHepMC.cc -o [email protected] -L$(pythialib) -L$(hepmclib) -L$(tauolalib) -L$(lhapdflib) `root-config --cflags --glibs` `fastjet-config --cxxflags --plugins` `fastjet-config --libs --plugins` -lpythia8 -lLHAPDF -lhepmcinterface -lHepMC -lTauolaCxxInterface -lTauolaFortran
Phân tíchhadbkg:
g++ -I$(pythiainc) -I$(tauolainc) Analysishadbkg.cc -o [email protected] -L$(pythialib) -L$(hepmclib) -L$(tauolalib) -L$(lhapdflib) `root-config --cflags --glibs` `fastjet-config --cxxflags --plugins` `fastjet-config --libs --plugins` -lpythia8 -lLHAPDF -lhepmcinterface -lHepMC -lTauolaCxxInterface -lTauolaFortran
Phân tích :
g++ -g -I$(pythiainc) -I$(tauolainc) -I$(hepmcinc) -I$(lhapdfinc) Analysis.cc -o [email protected] -L$(tauolalib) -L$(pythialib) -L $(hepmclib) -L$(lhapdflib) `root-config --cflags --glibs` `fastjet-config --cxxflags --plugins` `fastjet-config --libs --plugins` -L$(HEPMC2_LIB) - Wl,-rpath,$(HEPMC2_LIB) -lHepMC -ldl -lpythia8 -lLHAPDF -lTauolaCxxInterface -lTauolaFortran
mà lệnh thực hiện Phân tích
tôi gặp lỗi này
Của tôi
Ubuntu = 20.04.2
GỐC = 20.06.02
máy bay phản lực nhanh = 3.3.3
LHAPDF=6.2.3
HepMC=2.06.09
Pythia=8244
Cảm ơn trước