feos.get_num_threads¶
- feos.get_num_threads()¶
Return the number of threads in the thread pool.
If the thread pool has not yet been initialized, calling this function will trigger initialization with the default (number of logical CPUs), making any subsequent call to set_num_threads() ineffective.
- Returns:
Number of threads currently configured.
- Return type:
int
Example
>>> import feos >>> feos.get_num_threads() 8