Skip to content

Commit

Permalink
Changes to ensure output appended to job_output.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshuman Raina committed Jan 26, 2025
1 parent 7e4438a commit aa17d4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/config.slurm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ install.packages(c('dplyr', 'stringr', 'ggplot2'), lib = Sys.getenv('R_LIBS_USER

R_SCRIPTS=("benchmark_Puyvelde2022-HYE5600735_LFQ.R" "benchmark_Dowell2021-HEqe408_LFQ.R")

for script in $R_SCRIPTS; do
echo "Executing script: $script"
Rscript "$script"
for script in "${R_SCRIPTS[@]}"; do
echo "Executing script: $script" >> job_output.txt
Rscript "$script" >> job_output.txt 2>> job_error.txt
done

0 comments on commit aa17d4a

Please sign in to comment.