TMVAGui PROBLEM

Hello I have a problem with the gui of TMVA. When I run root -l TMVAGui.C, the gui pops up but when I choose a specific graph after the train and testing method, I cannot and the error is

root [1] Error in TSystem::ExpandFileName: input: $ROOTSYS/tmva/test/variables.C, output: $ROOTSYS/tmva/test/variables.C
Error in TApplication::ExecuteFile: macro variables.C not found in path .:/usr/share/root/macros::./:$ROOTSYS/tmva/test/:

I understand what the issue is although I cannot fix it. I am using root v5.34

Hi,

I think the problem is that is looking in the wrong directory for the macros. In 5.34 they should be in root_source/tmva/test where root is the location of your source directory.

You should try to set the path correctly by doing:

gROOT->SetMacroPath(“root_source/tmva/test”)

Lorenzo

You can also try running root -l -e 'TMVA::TMVAGui()' :slight_smile:

EDIT: The ‘-e’ option is only available in root 6 and onwards.

Cheers,
Kim