Skip to content

datatable.options.nthreads may need to be set manually under some situations #3329

Answered by lmullany
lmullany asked this question in Q&A
Discussion options

You must be logged in to vote

Solution: Make sure that the number of threads being detected by datatable upon initialization does not exceed the actual maximum available. In some situations, the number for cpus on the system (say extracted from /proc/cpu_info for example, will be more than are actually available to the job (say on a compute cluster where the number of cpus provided to the job is less than that on the node).

In such cases, extract the actual number available and set using datatable.options.nthreads=x, where x is the equal to or less than the actual number available.

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@oleksiyskononenko
Comment options

@lmullany
Comment options

Comment options

You must be logged in to vote
4 replies
@oleksiyskononenko
Comment options

@oleksiyskononenko
Comment options

@lmullany
Comment options

@lmullany
Comment options

Comment options

You must be logged in to vote
3 replies
@oleksiyskononenko
Comment options

@lmullany
Comment options

@oleksiyskononenko
Comment options

Comment options

You must be logged in to vote
4 replies
@samukweku
Comment options

@lmullany
Comment options

@nankaimy
Comment options

@lmullany
Comment options

Answer selected by lmullany
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants