# Alternatively setting up the number of threads for OpenFHE-Python

**URL:** <https://openfhe.discourse.group/t/alternatively-setting-up-the-number-of-threads-for-openfhe-python/1482>\
**Category:** Library Questions\
**Created:** [August 9, 2024, 5:03pm UTC](https://openfhe.discourse.group/t/alternatively-setting-up-the-number-of-threads-for-openfhe-python/1482 "2024-08-09T17:03:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManhBui](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@ManhBui](https://openfhe.discourse.group/u/ManhBui)\
**Post date:** [August 9, 2024, 5:03pm UTC](https://openfhe.discourse.group/t/alternatively-setting-up-the-number-of-threads-for-openfhe-python/1482/1 "2024-08-09T17:03:30Z")

</div>

Hi guys,  
I just wonder, is there any way to set the number of threads like the C version via OMP\_NUM\_THREADS

---

<div class="post-metadata">

**Author:** ![dsuponitskiy-duality](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dsuponitskiy-duality](https://openfhe.discourse.group/u/dsuponitskiy-duality)\
**Post date:** [August 9, 2024, 9:26pm UTC](https://openfhe.discourse.group/t/alternatively-setting-up-the-number-of-threads-for-openfhe-python/1482/2 "2024-08-09T21:26:09Z")

</div>

@ManhBui There should not be any difference in setting the number of openmp threads for openfhe-python as openfhe-python is just a wrapper for openfhe-development using the same openfhe shared libraries.
