Here is my problem. I used the TMVAClassificationApplication.C example (it is attached) and adapted the code to classify some jet data I have. As of now I am only using the BDT method.
I was filling 16 TH1F and 4 TH2F with only 100 bins in each axis while processing the tree events and everything ran smoothly (~1min). However, if I add just one more TH2F Fill(), it suddenly takes a lot of DAYS! One or more…
More info:
I am using ROOT 5.34/30. I ran the code in another machine with ROOT 6.06 and it took only ~1min30s.
I have around 30GB of free disk memory and 8GB of RAM so memory should not be a problem. Can it be some root configuration that limits the memory it can use?
I also run top in a terminal while executing the script and root.exe%MEM was always below 1% (while %CPU was at 100% but I am guessing that is ok).
Running .x TMVAClassificationApplication.C results in the same problem.
Running .x TMVAClassificationApplication.C++ gives this output:
Info in <TUnixSystem::ACLiC>: creating shared library /home/joaobravo/Desktop/Files/./NewTMVAClassificationApplication_C.so
In file included from /home/joaobravo/Desktop/Files/./NewTMVAClassificationApplication.C:28:0,
from /tmp/rootcint_VJL1T6.h:3,
from /tmp/1c5GCr_cint.cxx:1:
/usr/include/root/TMVA/Tools.h:46:24: fatal error: TXMLEngine.h: No such file or directory
compilation terminated.
Error: external preprocessing failed. :0:
!!!Removing /home/joaobravo/Desktop/Files/NewTMVAClassificationApplication_C_ACLiC_dict.cxx /home/joaobravo/Desktop/Files/NewTMVAClassificationApplication_C_ACLiC_dict.h !!!
Error: /usr/bin/rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!
Info in <ACLiC>: Invoking compiler to check macro's validity
In file included from /home/joaobravo/Desktop/Files/./NewTMVAClassificationApplication.C:28:0:
/usr/include/root/TMVA/Tools.h:46:24: fatal error: TXMLEngine.h: No such file or directory
compilation terminated.
Error: Function NewTMVAClassificationApplication() is not defined in current scope :0: