Skip to content

Commit 4942ddd

Browse files
hageboeckdpiparo
authored andcommitted
Add info about ROOT_MAX_THREADS to manual.
1 parent f31c5fd commit 4942ddd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manual/multi_threading/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ h = rdf.Filter("x > 0").Histo1D("x")
3939
h.Draw()
4040
{% endhighlight %}
4141

42+
There are two options to limit the number of threads ROOT is going to use: using `ROOT::EnableImplicitMT(4)` or setting the environment variable ROOT_MAX_THREADS, for example:
43+
{% highlight Bash %}
44+
export ROOT_MAX_THREADS=4
45+
root.exe ${arguments}
46+
{% endhighlight %}
47+
4248
For further information about RDataFrame, please visit → [RDataFrame manual]({{ '/manual/data_frame' | relative_url }}).
4349

4450
In addition to RDataFrame, the methods and classes below also implement IMT in ROOT:

0 commit comments

Comments
 (0)