thread-affinity

A wrapper to call set & get affinity from python (linux only). Tested on HPC environments.


Keywords
affinity, hpc, linux, python, python2, python3, thread, threadaffinity, threading
License
Apache-2.0
Install
pip install thread-affinity==1.0.0

Documentation


Barcelona Supercomputing Center

Thread Affinity for Python

Utility to set thread affinity in python.

Build Status

A C++ wrapper that allows to call Linux set & get affinity from Python.

This code is a part of the Python Binding of the COMPSs Programming model developed at BSC, but it can be installed and used separately.