# Warning when using RDataFrame

**URL:** <https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691>\
**Category:** Newbie\
**Created:** [July 28, 2020, 12:59pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691 "2020-07-28T12:59:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Newbie](https://root-forum.cern.ch/u/Newbie)\
**Post date:** [July 28, 2020, 12:59pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691/1 "2020-07-28T12:59:31Z")

</div>

Dear,

When I use RDataFrame, or even when I load trees to TChain, I get this warning.

Warning in : Cannot enable implicit multi-threading with 0 threads, please build ROOT with -Dimt=ON

Can someone guide me on how to build Root with -Dimt=ON? Thanks

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [July 28, 2020, 1:24pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691/2 "2020-07-28T13:24:18Z")

</div>

Hi,  
You are using a version of ROOT that was built without implicit multithreading capabilities. If you are on lxplus, note that this feature is not available by default as described [here](https://root.cern/install/#run-on-cern-lxplus) . You could then use one of the LCG views to pick a version of ROOT with IMT, as suggested in [this post](https://root-forum.cern.ch/t/rdataframe-range-does-not-work-with-multi-thread/40466/2).

If you still wish to build ROOT on your own, I advise you to take a look at [the guide](https://root.cern/install/build_from_source/).  
Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![Newbie](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@Newbie](https://root-forum.cern.ch/u/Newbie)\
**Post date:** [July 28, 2020, 2:27pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691/3 "2020-07-28T14:27:48Z")

</div>

Hi Vincenzo, thanks a lot for the solutions, I will follow the first suggestion! Best regards

---

<div class="post-metadata">

**Author:** ![imanol097](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/imanol097/32/28137_2.png) [@imanol097](https://root-forum.cern.ch/u/imanol097)\
**Post date:** [September 24, 2021, 2:02pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691/4 "2021-09-24T14:02:34Z")

</div>

One question here. How can i know if the root version has IMT=ON ? All LCG ROOT compilations have IMT=ON ?

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [September 24, 2021, 2:30pm UTC](https://root-forum.cern.ch/t/warning-when-using-rdataframe/40691/5 "2021-09-24T14:30:38Z")

</div>

`root-config --has-imt`  
`root-config --features|grep -i imt`
