tcmlib
Thread Composability Manager
What it is and what it does
tcmlib is a resource coordinator for Intel's parallel computing ecosystems. It sits between Intel oneAPI Threading Building Blocks (oneTBB) and Intel OpenMP, two popular threading runtimes that can coexist in the same process. When both are active, they can oversubscribe the CPU—spawning more threads than physical cores, which degrades performance. tcmlib prevents this by managing how many threads each runtime is allowed to create, ensuring they cooperate rather than compete.
The package is designed for developers using both oneTBB and OpenMP in scientific computing, data processing, or high-performance applications. It requires no explicit API calls—importing it activates coordination automatically. The library is platform-specific (x86_64 Linux and Windows only) and carries an Intel proprietary license. With no external Python dependencies and active maintenance, it integrates cleanly into existing projects, but its exact Python version support and system-level prerequisites are not documented.
Use it for:
- Optimize performance in scientific applications that use both oneTBB and OpenMP for parallelism.
- Prevent thread oversubscription in hybrid parallel workloads mixing multiple Intel threading libraries.
- Improve CPU utilization and reduce context-switching overhead in multi-threaded data processing pipelines.
- Coordinate resource allocation in high-performance computing environments with strict CPU budgets.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages CPU resource coordination between Intel oneAPI Threading Building Blocks and Intel OpenMP to prevent oversubscription when both runtimes run in the same process.
Yes, if you use both Intel oneAPI Threading Building Blocks and Intel OpenMP in the same process and want to avoid oversubscription. Install friction is moderate (platform-specific wheels), maintenance is active, and there are no known vulnerabilities. The main uncertainty is Python version compatibility and system prerequisites—verify those before committing. The proprietary license is standard for Intel tools but warrants review for commercial redistribution.
Install
tcmlib on PyPI
pip
pip install tcmlibuv
uv add tcmlibpoetry
poetry add tcmlibInstalling tcmlib
Before you install
Medium install friction due to platform-specific wheels (manylinux_2_28_x86_64, win_amd64). Active maintenance with a recent release (112 days old). No runtime dependencies to manage.
License in practice
Licensed under Intel Simplified Software License (proprietary, not SPDX-identified). License treatment is unclear—review Intel's terms before integrating into commercial or redistributed software.
Quickstart
pip install tcmlib==1.5.0
import tcmlib
# tcmlib coordinates threading resources automatically when imported
Requires x86_64 architecture (manylinux_2_28 or Windows); Python version support is unspecified—verify compatibility before use.
Verify before relying
- Exact Python version requirements and compatibility range not specified in metadata.
- Whether tcmlib requires Intel TBB and OpenMP to be pre-installed on the system.
- Performance impact and tuning options for resource coordination.
- Behavior and guarantees when only one threading runtime is present.
Package facts
| License | Intel Simplified Software License (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 112 days since the last release |
| First released | |
| Downloads | 2,847,614/month — #2,861 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tcmlib-1.5.0-py2.py3-none-manylinux_2_28_x86_64.whl; tcmlib-1.5.0-py2.py3-none-win_amd64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
tbbProvides Python bindings to Intel's oneAPI…
unclear · top 5,000 on PyPI
threadpoolctlInspect and control the thread-pool size of…
permissive · top 1,000 on PyPI
intel-openmpProvides Intel's OpenMP runtime library for…
unclear · top 5,000 on PyPI
tbb-develProvides C++ parallelism primitives and task…
unclear · top 15,000 on PyPI
intel-cmplr-lib-urProvides shared runtime libraries for Intel…
unclear · top 15,000 on PyPI
intel-cmplr-lib-rtProvides shared runtime libraries for Intel…
unclear · top 15,000 on PyPI
intel-ptiProvides a framework for building profiling…
permissive · top 15,000 on PyPI
onecclProvides Intel's oneAPI Collective…
unclear · top 15,000 on PyPI
intel-cmplr-lic-rtProvides Intel oneAPI runtime licensing and…
unclear · top 15,000 on PyPI
intel-opencl-rtProvides Intel OpenCL runtime libraries needed…
unclear · top 15,000 on PyPI