jialin-guo1 / HZZAnalysis

0 stars 6 forks source link

Got error while compiling #1

Open ram1123 opened 1 year ago

ram1123 commented 1 year ago
>> Compiling  /afs/cern.ch/work/r/rasharma/h2l2Q/SignalModel_Eff_Resolution/CMSSW_10_6_26/src/JHUGenMELA/MELA/src/TNumericUtil.cc 
In file included from input_line_10:1:
/afs/cern.ch/work/r/rasharma/h2l2Q/SignalModel_Eff_Resolution/CMSSW_10_6_26/src/JHUGenMELA/MELA/src/LinkDef.h:1:10: fatal error: 'MELAFuncPdf.h' file not found
#include "MELAFuncPdf.h"
         ^~~~~~~~~~~~~~~
Error: /cvmfs/cms.cern.ch/slc7_amd64_gcc700/lcg/root/6.14.09-pafccj6/bin/rootcint: Linkdef compilation failure
/afs/cern.ch/work/r/rasharma/h2l2Q/SignalModel_Eff_Resolution/CMSSW_10_6_26/src/JHUGenMELA/MELA/src/TNumericUtil.cc:1:10: fatal error: TNumericUtil.hh: No such file or directory
 #include "TNumericUtil.hh"
          ^~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [config/SCRAM/GMake/Makefile.rules:1733: tmp/slc7_amd64_gcc700/src/JHUGenMELA/MELA/src/JHUGenMELAMELA/b/JHUGenMELAMELA_yr.cc] Error 1
gmake: *** Waiting for unfinished jobs....
/afs/cern.ch/work/r/rasharma/h2l2Q/SignalModel_Eff_Resolution/CMSSW_10_6_26/src/JHUGenMELA/MELA/src/TNumericUtil.cc:1:10: fatal error: TNumericUtil.hh: No such file or directory
 #include "TNumericUtil.hh"
          ^~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [config/SCRAM/GMake/Makefile.rules:1733: tmp/slc7_amd64_gcc700/src/JHUGenMELA/MELA/src/JHUGenMELAMELA/TNumericUtil.cc.o] Error 1
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2
jialin-guo1 commented 1 year ago

https://github.com/jialin-guo1/HZZAnalysis/blob/master/install_SigMod.sh#L20

this issue comes from that you are trying to compiling HZZAnalysis repository. see in install_SigMod.sh we don't need to compile after clone HZZanalysis. Because if you just want to run re-shape and Fitshape processes. these are two standalone scripts. they only need input files and HiggsCombine Tool which should've installed if you ran install_SigMod.sh So, as I write down into README. after running ./install_SigMod.sh, you can go to HZZAnalysis/SignalModel/ and run these two scripts.

@ram1123