Skip to content

using future on a computing cluster with slurm #519

Answered by HenrikBengtsson
ktyssowski asked this question in Q&A
Discussion options

You must be logged in to vote

The problem here was that availableCores() was affected by environment variable OMP_NUM_THREADS, which may be preset to, say, 1 on some systems, via nproc. In parallelly 1.26.1, which just reached CRAN (2021-06-29), availableCores() is no longer affected by OMP_NUM_THREADS.

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
17 replies
@ktyssowski
Comment options

@HenrikBengtsson
Comment options

@ktyssowski
Comment options

@HenrikBengtsson
Comment options

@ktyssowski
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by HenrikBengtsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #518 on June 23, 2021 20:09.