Hello!
I am having a trouble with ROOT 6.22 on a remote machine, it is very slow to startup (by command line and when reading a root file with a code compiled with ROOT libraries). There was some old topics about similar issue with ROOT 6, but no clear solution was provided in these ones.
I’m using ROOT 6.22 from Git (using the 6.22 branch) and I compiled using cmake 3.18.1 with the following options:
set(_root_enabled_options asimage builtin_afterimage builtin_cfitsio builtin_clang builtin_fftw3 builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_tbb builtin_vdt builtin_xrootd builtin_xxhash builtin_zstd clad dataframe exceptions fftw3 fitsio gdml http imt mathmore mlp opengl pyroot roofit runtime_cxxmodules shared ssl tmva tmva-cpu tmva-pymva spectrum vdt x11 xml xrootd)
The (remote) machine on which I compiled is a linux 64bit based server, but I don’t know which OS is used (and I don’t have root access).
When using root-6.22:
time root -l -q
real 0m40.167s
user 0m0.149s
sys 0m0.674s
time root -l -q <root_file.root>
Attaching file <root_file.root> as _file0…
(TFile *) 0x3421970real 1m58.145s
user 0m0.456s
sys 0m1.288s
However, if I use root-3.34:
time root -l -q
root [0]
real 0m0.506s
user 0m0.060s
sys 0m0.070s
time root -l -q <root_file.root>
root [0]
Attaching file <root_file.root> as _file0…
Warning in TClass::TClass: no dictionary for class ROOT::TIOFeatures is availablereal 0m11.889s
user 0m0.218s
sys 0m0.258s
The root file I used for this time test was made with ROOT6.22.
Is there any clues on what I could try to do to improve the situation?
Thanks,
Guillaume
If it’s useful, here are some additional information:
- I have 5 directories in ROOT_INCLUDE_PATH (all of them exist).
- ROOT5.34 and ROOT6.22 build directories are on the same disk.
- I tried to compile ROOT6.22 with and without python3 installed, this had no impact.