aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ravanan/command-line-tool.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm
index 3357b05..944ff07 100644
--- a/ravanan/command-line-tool.scm
+++ b/ravanan/command-line-tool.scm
@@ -632,7 +632,7 @@ named @var{name} with @var{inputs} using tools from Guix manifest
(define (cores batch-system)
(case batch-system
((slurm-api)
- #~(getenv "SLURM_CPUS_ON_NODE"))
+ #~(string->number (getenv "SLURM_CPUS_ON_NODE")))
((single-machine)
#~(total-processor-count))
(else