From 848a6ea278a10710fe23763f4c847101bf95459b Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Fri, 12 Sep 2014 13:19:46 +0300 Subject: [PATCH] correct cake usage --- anduril/slurm-maxfree | 3 ++- anduril/slurm-random | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/anduril/slurm-maxfree b/anduril/slurm-maxfree index 0485bee..f475ed8 100755 --- a/anduril/slurm-maxfree +++ b/anduril/slurm-maxfree @@ -113,5 +113,6 @@ fi echo "The job file is in $JOBFILE" # send the job srun --nodelist=${NODELIST[$INDEX]} slurm-cake "$JOBFILE" "$JOBFILE" - +EC=$? wait +exit $EC diff --git a/anduril/slurm-random b/anduril/slurm-random index 58b754d..1bb76a8 100755 --- a/anduril/slurm-random +++ b/anduril/slurm-random @@ -108,5 +108,6 @@ fi echo "The job file is in $JOBFILE" # send the job srun --nodelist=${NODELIST[$INDEX]} slurm-cake "$JOBFILE" "$JOBFILE" - +EC=$? wait +exit $EC