From 835b376c72a3f41fe48b5c6193ea9521761f0d18 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 17 Jan 2023 15:18:26 +0000 Subject: [PATCH] slurm dlr: log exit code --- aimodel/slurm-TEST-deeplabv3p-rainfall.job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/slurm-TEST-deeplabv3p-rainfall.job b/aimodel/slurm-TEST-deeplabv3p-rainfall.job index 7489d4d..b89d0fd 100755 --- a/aimodel/slurm-TEST-deeplabv3p-rainfall.job +++ b/aimodel/slurm-TEST-deeplabv3p-rainfall.job @@ -72,5 +72,5 @@ echo ">>> Installing requirements"; conda run -n py38 pip install -q -r requirements.txt; echo ">>> Training model"; #shellcheck disable=SC2016 -/usr/bin/env time -v conda run -n py38 bash -c 'src/deeplabv3_plus_test_rainfall.py >>"${DIR_OUTPUT}/experiment.${SLURM_JOB_ID}.out.log" 2>>"${DIR_OUTPUT}/experiment.${SLURM_JOB_ID}.err.log"'; +/usr/bin/env time -v conda run -n py38 bash -c 'src/deeplabv3_plus_test_rainfall.py >>"${DIR_OUTPUT}/experiment.${SLURM_JOB_ID}.out.log" 2>>"${DIR_OUTPUT}/experiment.${SLURM_JOB_ID}.err.log"; echo "[slurm_runner] EXIT_CODE: $?" >>"${DIR_OUTPUT}/experiment.${SLURM_JOB_ID}.out.log";'; echo ">>> exited with code $?";