# Error using DNN\_CPU method

**URL:** <https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332>\
**Category:** TMVA\
**Created:** [July 9, 2020, 10:57am UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332 "2020-07-09T10:57:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkafle](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@pkafle](https://root-forum.cern.ch/u/pkafle)\
**Post date:** [July 9, 2020, 10:57am UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332/1 "2020-07-09T10:57:17Z")

</div>

Running the DNN\_CPU throws this error to me:  
“Multi-core CPU backend not enabled. Please make sure you have a BLAS implementation and it was successfully detected by CMake as well that the imt CMake flag is set” and I am not sure how to tackle this.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [July 9, 2020, 11:10am UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332/2 "2020-07-09T11:10:50Z")

</div>

Maybe @moneta has an idea?

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [July 9, 2020, 3:34pm UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332/3 "2020-07-09T15:34:05Z")

</div>

Hi,  
You would need to install bras, possibly openblas. [https://www.openblas.net](https://www.openblas.net)  
If it is still a problem you can try using bras from math more, but you need to install the GSL library or configure ROOT with -Dbuiltin-gsl=ON…

Which ROOT version are you using ? In the latest ROOT, 6.22 the DNN should still work, but it will be not very fast.

Lorenzo

---

<div class="post-metadata">

**Author:** ![pkafle](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@pkafle](https://root-forum.cern.ch/u/pkafle)\
**Post date:** [July 10, 2020, 11:50am UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332/4 "2020-07-10T11:50:26Z")

</div>

Hi, I use ROOT 6.20/04. Installing OpenBLAS did not work. I use Ubuntu in virtual box and have only 1 available CPU core. Could that have created the problem?

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [July 13, 2020, 4:59pm UTC](https://root-forum.cern.ch/t/error-using-dnn-cpu-method/40332/5 "2020-07-13T16:59:48Z")

</div>

Hi,  
Strange this did not work. Can you maybe then try installing the standard blas, for example from  
[http://www.netlib.org/blas/](http://www.netlib.org/blas/)

Lorenzo
