# RDataFrame.Range() does not work with multi-thread

**URL:** <https://root-forum.cern.ch/t/rdataframe-range-does-not-work-with-multi-thread/40466>\
**Category:** ROOT\
**Tags:** rdataframe\
**Created:** [July 16, 2020, 11:05am UTC](https://root-forum.cern.ch/t/rdataframe-range-does-not-work-with-multi-thread/40466 "2020-07-16T11:05:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [July 16, 2020, 11:37am UTC](https://root-forum.cern.ch/t/rdataframe-range-does-not-work-with-multi-thread/40466/2 "2020-07-16T11:37:51Z")

</div>

Hi @jerryliu,  
as the error message says, `Range` is not available when running on multiple threads. Also see [the docs](https://root.cern.ch/doc/master/classROOT_1_1RDF_1_1RInterface.html#a0bdb904ad92dc91edd64b225b4e8a5a5).

The default ROOT version available on lxplus has not been built with imt=ON, so multi-threading is not available. On lxplus, I would suggest to use one of the ROOT versions available with LCG views, e.g.

```auto
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/setup.sh

```

Cheers,  
Enrico

---

_[View the full topic](https://root-forum.cern.ch/t/rdataframe-range-does-not-work-with-multi-thread/40466)._
