Skip to content
Snippets Groups Projects
Commit de446c0d authored by Lavinia Baumstark's avatar Lavinia Baumstark
Browse files

change name of log file from $JOBNAME.out into log.txt to reactivate rs-command on cluster

parent b8a53d4f
No related branches found
No related tags found
2 merge requests!43turn on c_scaleEmiHistorical as default,!40change name of log file from $JOBNAME.out into log.txt to reactivate …
......@@ -55,7 +55,7 @@ submit <- function(cfg) {
log <- format(Sys.time(), paste0(cfg$title,"-%Y-%H-%M-%S-%OS3.log"))
system("Rscript prepare_and_run.R")
} 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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment