# TMVA run error

**URL:** <https://root-forum.cern.ch/t/tmva-run-error/51615>\
**Category:** TMVA\
**Created:** [September 19, 2022, 11:49am UTC](https://root-forum.cern.ch/t/tmva-run-error/51615 "2022-09-19T11:49:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ymahmoud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ymahmoud/32/33917_2.png) [@ymahmoud](https://root-forum.cern.ch/u/ymahmoud)\
**Post date:** [September 19, 2022, 11:49am UTC](https://root-forum.cern.ch/t/tmva-run-error/51615/1 "2022-09-19T11:49:56Z")

</div>

I get an error every time I run TMVA through for example root -l TMVAClassification.C()  
I haven’t changed anything in the files I am just running thee examples in the root/tutorial/tmva/  
This is the error I get

```auto
Processing ./TMVAClassificationApplication.C("Fisher,Likelihood")...
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
cling::DynamicLibraryManager::loadLibrary(): libblas.so.3: cannot open shared object file: No such file or directory
Error in <TCling__LazyFunctionCreatorAutoloadForModule>: Failed to load library /home/yehia/Software/root/lib/libTMVA.so.6.26.06
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader12AddSpectatorERK7TStringPf' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::AddSpectator(TString const&, float*)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader11EvaluateMVAERK7TStringd' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::EvaluateMVA(TString const&, double)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader8GetProbaERK7TStringdd' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::GetProba(TString const&, double, double)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader11AddVariableERK7TStringPf' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::AddVariable(TString const&, float*)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA5Tools8InstanceEv' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Tools::Instance()
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6gToolsEv' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::gTools()
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6ReaderC1ERK7TStringb' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::Reader(TString const&, bool)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZNK4TMVA10MethodCuts7GetCutsEdRSt6vectorIdSaIdEES4_' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::MethodCuts::GetCuts(double, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >&) const
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader9GetRarityERK7TStringd' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::GetRarity(TString const&, double)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader11FindCutsMVAERK7TString' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::FindCutsMVA(TString const&)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZNK4TMVA5Tools11SplitStringERK7TStringc' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Tools::SplitString(TString const&, char) const
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?
IncrementalExecutor::executeFunction: symbol '_ZN4TMVA6Reader7BookMVAERK7TStringS3_' unresolved while linking [cling interface function]!
You are probably missing the definition of TMVA::Reader::BookMVA(TString const&, TString const&)
Maybe you need to load the corresponding shared library?
Symbol found in '/home/yehia/Software/root/lib/libTMVA.so.6.26.06'; did you mean to load it with '.L /home/yehia/Software/root/lib/libTMVA.so.6.26.06'?

```

My OS version is Ubuntu 20.04.4 LTS  
My root version is 6.26/06 (precompiled)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 19, 2022, 12:56pm UTC](https://root-forum.cern.ch/t/tmva-run-error/51615/2 "2022-09-19T12:56:28Z")

</div>

Welcome to the ROOT forum.  
I think @moneta can help you.

---

<div class="post-metadata">

**Author:** ![jonas](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonas/32/24756_2.png) [@jonas](https://root-forum.cern.ch/u/jonas)\
**Post date:** [September 19, 2022, 5:11pm UTC](https://root-forum.cern.ch/t/tmva-run-error/51615/3 "2022-09-19T17:11:04Z")

</div>

Hi!

The problem is that `libblas.so` can’t be found. Maybe you need to install it?

```bash
sudo apt-get install libblas-dev

```
