I was trying to use ROOT TMVA and it has messed up the macro path followed by ROOT. This path leads to /tmva/test instead of going to my personal directory. Thus, I am unable to load or execute any of my personal macros. I think that this line :
has lead to my issue. I tried to use it in order to change the settings in .rootrc (gROOT->GetVersion()) but it hasn’t changed anything. I also tried to use the ROOT tutorial in order to set the environment variables but it also hasn’t worked. Do you know if there’s a way to reset this path to its default configuration or if I can somehow choose the path to be directed to my personal directories?
You can edit your .rootrc file and change the value of the Unix.*.Root.MacroPath variable accordingly, e.g. you can include . to search in the current directory. Directories can be separated by the : character.
Alternatively, you can temporarily set the macro search path during a session by