changeset 205:4ccd8ad84e82

correct log output
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 23 Apr 2026 10:52:06 +0100
parents dc397748f4e1
children d9fea13d4220
files bin/runme.sh
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/runme.sh	Thu Apr 23 10:51:36 2026 +0100
+++ b/bin/runme.sh	Thu Apr 23 10:52:06 2026 +0100
@@ -15,9 +15,8 @@
 then
  a=$SLURM_ARRAY_TASK_ID
  echo "Array id $a $SLURM_ARRAY_TASK_COUNT" > mtest$a.out
- ss=$2-$3
  shift; shift; shift;
- echo $(date) Launching $SLURM_JOB_NUM_NODES nodes in $(pwd) for runme -a $ss "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each  >> mtest$a.out
+ echo $(date) Launching $SLURM_JOB_NUM_NODES nodes in $(pwd) for runme -a $a "$@" from $(hostname) to do $SLURM_NTASKS tasks, $SLURM_CPUS_PER_TASK cpus each  >> mtest$a.out
  echo $(date) Launching $a >> mtest$a.out
  srun -c $SLURM_CPUS_PER_TASK $W/shared/bin/sing $W/hst/bin/_runme.sh -a $a "$@" >> mtest$a.out
  echo $(date) Finished $a $? >> mtest$a.out