Skip to content
Discussion options

You must be logged in to vote
#SBATCH --nodes=4

So, this job will get assigned (up to) four compute hosts. In order for R to parallelize on those, you'll have to use plan(cluster, workers = <hostnames>). None of the other future backends mentioned can scale out to multiple machines; they'll only run on the current machine.

sequential     10.6
multisession  196.5
multicore      35.8
cluster         2.8

The sequential/cluster ratio at 10.6/2.8 = 3.8 suggests that the code parallelizes nicely out to 4 workers running on 4 different machines.

The other ratios - sequential/multisession = 0.05 and sequential/multicore = 0.3 clearly indicate that something is not working as you expected. I'm still fairly new to Slurm (…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@HenrikBengtsson
Comment options

@HenrikBengtsson
Comment options

@HenrikBengtsson
Comment options

@crystalfp
Comment options

@HenrikBengtsson
Comment options

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