Skip to content
Snippets Groups Projects

Corrections for start scripts

Merged Jerome Hilaire requested to merge github/fork/dklein-pik/develop into develop
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -55,7 +55,7 @@ submit <- function(cfg) {
@@ -55,7 +55,7 @@ submit <- function(cfg) {
log <- format(Sys.time(), paste0(cfg$title,"-%Y-%H-%M-%S-%OS3.log"))
log <- format(Sys.time(), paste0(cfg$title,"-%Y-%H-%M-%S-%OS3.log"))
system("Rscript prepare_and_run.R")
system("Rscript prepare_and_run.R")
} else {
} else {
system(paste0("sbatch --job-name=",cfg$title," --output=",cfg$title,".out --mail-type=END --comment=REMIND --wrap=\"Rscript prepare_and_run.R \" ",cfg$slurmConfig))
system(paste0("sbatch --job-name=",cfg$title," --output=log.txt --mail-type=END --comment=REMIND --wrap=\"Rscript prepare_and_run.R \" ",cfg$slurmConfig))
Sys.sleep(1)
Sys.sleep(1)
}
}
Loading