From dddb88a94a574aa5eff22711eeadb4e86812d90e Mon Sep 17 00:00:00 2001 From: caubet_m Date: Wed, 24 Aug 2022 13:42:48 +0200 Subject: [PATCH] GOTHIC: include exit code, add --x11/interactive --- pages/merlin6/05-Software-Support/gothic.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/merlin6/05-Software-Support/gothic.md b/pages/merlin6/05-Software-Support/gothic.md index 77ab1cd..ee78776 100644 --- a/pages/merlin6/05-Software-Support/gothic.md +++ b/pages/merlin6/05-Software-Support/gothic.md @@ -181,8 +181,12 @@ the job, as showed above. /data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK gth_exit_code=$? - + + # Clean up data in /scratch rm -rf /scratch/$USER/$SLURM_JOB_ID + + # Return exit code from GOTHIC + exit $gth_exit_code ``` * Requesting 22 CPUs from a node, with default memory per CPU (4000MB/CPU): ```bash @@ -204,6 +208,9 @@ the job, as showed above. /data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK gth_exit_code=$? + # Clean up data in /scratch rm -rf /scratch/$USER/$SLURM_JOB_ID + + # Return exit code from GOTHIC exit $gth_exit_code ```