From c38218da3baf2a93127106cf78c0df3bc1862db8 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Wed, 7 Aug 2019 16:22:55 +0300 Subject: [PATCH] SRUN_COMMAND has to be exported for it to be available in autotest.sh --- scripts/autotest.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/autotest.sh b/scripts/autotest.sh index 49f0b57..f8e20a5 100755 --- a/scripts/autotest.sh +++ b/scripts/autotest.sh @@ -5,10 +5,13 @@ # source ./sourceme.sh # autotest.sh # -# If you need slurm or to pass something before ./ac_run, set the variable +# If you need slurm or to pass something before ./ac_run, export the variable # SRUN_COMMAND before calling this script. # # F.ex. on Taito SRUN_COMMAND="srun --gres=gpu:k80:4 --mem=24000 -t 00:14:59 -p gputest --cpus-per-task 1 -n 1" +# export SRUN_COMMAND +# autotest.sh +echo "SRUN_COMMAND: " ${SRUN_COMMAND} results=()