omp_set_nthreads

  • full name: tenpy.tools.process.omp_set_nthreads

  • parent module: tenpy.tools.process

  • type: function

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

wrapper around OpenMP set_nthreads.

Parameters
nint

the number of threads to use

Returns
successbool

whether the shared library was found and set.