From 9f3309bd5310e96182a6c366a5e4e445211c4930 Mon Sep 17 00:00:00 2001 From: Jan Dietrich Date: Mon, 17 Jun 2024 15:01:14 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Pascal Sauer <156898545+pascal-sauer@users.noreply.github.com> --- output.R | 1 - scripts/slurmOutput.yml | 3 +-- start.R | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/output.R b/output.R index f81f232b1..6137a519a 100644 --- a/output.R +++ b/output.R @@ -31,7 +31,6 @@ if (!is.null(renv::project()) && !exists("source_include") && Sys.getenv("SLURM_ library(lucode2) library(gms) -library(yaml) source("scripts/helper.R") runOutputs <- function(comp=NULL, output=NULL, outputdir=NULL, submit=NULL) { diff --git a/scripts/slurmOutput.yml b/scripts/slurmOutput.yml index a0d12e8df..229e5a43f 100644 --- a/scripts/slurmOutput.yml +++ b/scripts/slurmOutput.yml @@ -2,5 +2,4 @@ slurmjobs: SLURM standby: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --time=24:00:00" SLURM standby maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --time=24:00:00 --mem-per-cpu=0 --cpus-per-task=16" SLURM priority: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=priority" - SLURM priority maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=priority --mem-per-cpu=0 --cpus-per-task=16" - \ No newline at end of file + SLURM priority maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=priority --mem-per-cpu=0 --cpus-per-task=16" \ No newline at end of file diff --git a/start.R b/start.R index 60221c39a..bb80b4c22 100644 --- a/start.R +++ b/start.R @@ -31,7 +31,6 @@ if (!is.null(renv::project())) { library(lucode2) library(gms) -library(yaml) source("scripts/helper.R") runOutputs <- function(runscripts=NULL, submit=NULL) {