FCCAnalyses setup failure

email from sukyung.kim@cern.ch

Hello,

Thank you for the last email about Pythia IDEA card.

Today, (and since last friday) I’m having this error when sourcing the setup file for FCCAnalyses framework.

It was tested on my cern eos space. Could you help me?

Thank you in advance,

Best regards,

Sukyung Kim - LPNHE intern

M2 Physique des Subatomiques

Claude Bernard Lyon 1 University

email from valentin.volkl@cern.ch

Hi Sukyung,

thanks for the mail, actually you could just ignore those errors - the “spack load” commands were used to customize the packages used to build fccanalyes,but with the new release this is no longer necessary and it will work regardless if spack connot find those packages. I removed them here: Simplify setup.sh by vvolkl · Pull Request #84 · HEP-FCC/FCCAnalyses · GitHub and you can do the same.

@clement.helsens : I think we should consider removing local setup.sh files as they are prone to errors like this. But for FCCAnalysis one that sets up the locally compiled code will still be usefull, I think.

Cheers,

Valentin

Hi Valentin,

Thanks for the quick reply.
Actually, I should’ve sent you this error as well, it appears when using the analysis.py code.

Best regards,

Hi Sukyung,

in your printout you have both ROOT 6.22 and ROOT 6.24, so I am guessing you were mixing releases. Can you try deleting your current build folder completely, and then recompile FCCAnalyses? Just rerunning CMake is not enough to pick up changed dependencies, you need to remove its cache.

Cheers,

Valentin

Dear all,

I have the same problem.
Since last week, I am facing this error when sourcing ./setup.sh and running “python examples/FCCee/higgs/mH-recoil/mumu/preSel.py”:

Load cxx analyzers …
cling::DynamicLibraryManager::loadLibrary(): libROOTNTuple.so.6.22: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File “examples/FCCee/higgs/mH-recoil/mumu/preSel.py”, line 17, in
myana.run(ncpu=NUM_CPUS,fraction=fraction,outDir=outdir)
File “/eos/home-s/ssadeghi/Project/FCCAnalyses/config/runDataFrame.py”, line 83, in run
import analysis as ana
File “/cvmfs/sft.cern.ch/lcg/views/LCG_99/x86_64-centos7-gcc8-opt/lib/ROOT/_facade.py”, line 121, in _importhook
return _orig_ihook(name, *args, **kwds)
File “/eos/home-s/ssadeghi/Project/FCCAnalyses/examples/FCCee/higgs/mH-recoil/mumu/analysis.py”, line 11, in
_fcc = ROOT.getMC_px
File “/cvmfs/sft.cern.ch/lcg/views/LCG_99/x86_64-centos7-gcc8-opt/lib/ROOT/_facade.py”, line 163, in _fallback_getattr
raise AttributeError(“Failed to get attribute {} from ROOT”.format(name))
AttributeError: Failed to get attribute getMC_px from ROOT

But before that, I didn’t face any errors.
Would you please guide me on how can I resolve this issue?
Many thanks,
Safura Sadeghi

Dear @ssadeghi ,

have you recompiled after sourcing?
The stack changes from time to time (new version of root for example) and you might solve this problem by recompiling (also erase what’s in the build and install dir before recompiling)
Best,
Clement

Dear Clement

Thank you very much, I recompiled and it works for me.

Best regards,
Safura