From 7650b55bfb98d2f5a4870d9ecd6290c4c356bedc Mon Sep 17 00:00:00 2001 From: Will Landau Date: Fri, 8 Sep 2023 22:24:21 -0400 Subject: [PATCH] Update crew_launcher_slurm.R --- R/crew_launcher_slurm.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/crew_launcher_slurm.R b/R/crew_launcher_slurm.R index 86c6c4e..5d060ef 100644 --- a/R/crew_launcher_slurm.R +++ b/R/crew_launcher_slurm.R @@ -271,7 +271,7 @@ crew_class_launcher_slurm <- R6::R6Class( character(0L), sprintf( "#SBATCH --mem-per-cpu=%sM", - as.integer(1024L * self$slurm_memory_gigabytes_per_cpu) + as.integer(round(x = 1024 * self$slurm_memory_gigabytes_per_cpu, digits = 0L)) ) ), if_any(