Skip to content

Commit

Permalink
slurmConfig can have additional parameters after the main config string.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikapfl committed Aug 2, 2022
1 parent 2d10695 commit b2c2ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start/submit.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ submit <- function(cfg, restart = FALSE, stopOnFolderCreateError = TRUE) {

# send prepare_and_run.R to cluster
cat(" Executing prepare_and_run.R for",cfg$results_folder,"\n")
if(cfg$slurmConfig=="direct") {
if (grepl("^direct", cfg$slurmConfig)) {
log <- format(Sys.time(), paste0(cfg$title,"-%Y-%H-%M-%S-%OS3.log"))
system("Rscript prepare_and_run.R")
} else {
Expand Down

0 comments on commit b2c2ea6

Please sign in to comment.