batchtools_slurm fails to retrieve job status #810
Replies: 3 comments 4 replies
-
|
What happens if you use: plan(future.batchtools::batchtools_slurm, scheduler.latency = 120)? Please also try with a longer-running task, e.g. library(future.batchtools)
plan(batchtools_slurm)
f <- future({ Sys.sleep(120); Sys.info() })
value(f)The above is just for troubleshooting purposes, but it might help us narrow in on what's going on. PS. Please avoid screenshots as they're not accessible, searchable, non-cut'n'pasteable |
Beta Was this translation helpful? Give feedback.
-
|
Sorry about the images. TL.DR: It appears that setting
Tested conditions:
Results: Script: library(future.batchtools)
plan(future.batchtools::batchtools_slurm, scheduler.latency = 120)
f <- future(Sys.info())
value(f)
Console output: Results: Script: library(future.batchtools)
plan(batchtools_slurm)
f <- future({ Sys.sleep(120); Sys.info() })
value(f)
Console output: Results: Script: library(future.batchtools)
plan(future.batchtools::batchtools_slurm, scheduler.latency = 60)
f <- future({ Sys.sleep(120); Sys.info() })
value(f) |
Beta Was this translation helpful? Give feedback.
-
|
future.batchtools 0.20.0 is on CRAN as of 2025-08-25. It comes with lots of improvements (https://future.batchtools.futureverse.org/news/index.html). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a continuation of the Mastodon thread. (https://fosstodon.org/@[email protected]/115035868081050874)
System Details:
Ubuntu 24.04.2 LTS
slurm-wlm 24.11.6
Script run:
Command run:
Rscript main.RConsole output:

.futuredirectory attached below.future.zip
Submitted job resource usage:

Submitted

sbatchfile:Beta Was this translation helpful? Give feedback.
All reactions