mkl_set_nthreads

  • full name: tenpy.tools.process.mkl_set_nthreads

  • parent module: tenpy.tools.process

  • type: function

tenpy.tools.process.mkl_set_nthreads(n)[source]

wrapper around MKL set_num_threads.

Parameters:

n (int) – the number of threads to use

Returns:

success – whether the shared library was found and set.

Return type:

bool