diff --git a/pages/merlin6/05-Software-Support/gothic.md b/pages/merlin6/05-Software-Support/gothic.md index 5923a2f..77ab1cd 100644 --- a/pages/merlin6/05-Software-Support/gothic.md +++ b/pages/merlin6/05-Software-Support/gothic.md @@ -127,12 +127,12 @@ section. #### Interactive allocations: examples * Requesting a full node, ```bash -salloc --partition=hourly -N 1 -n 1 -c 88 --hint=multithread --exclusive --mem=0 +salloc --partition=hourly -N 1 -n 1 -c 88 --hint=multithread --x11 --exclusive --mem=0 ``` * Requesting 22 CPUs from a node, with default memory per CPU (4000MB/CPU): ```bash num_cpus=22 -salloc --partition=hourly -N 1 -n 1 -c $num_cpus --hint=multithread +salloc --partition=hourly -N 1 -n 1 -c $num_cpus --hint=multithread --x11 ``` ### Batch job @@ -180,6 +180,7 @@ the job, as showed above. export GTHTMP=/scratch/$USER/$SLURM_JOB_ID /data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK + gth_exit_code=$? rm -rf /scratch/$USER/$SLURM_JOB_ID ``` @@ -201,6 +202,8 @@ the job, as showed above. export GTHTMP=/scratch/$USER/$SLURM_JOB_ID /data/project/general/software/gothic/gothic8.3qa/bin/gothic_s.sh $INPUT_FILE -m -np $SLURM_CPUS_PER_TASK - + gth_exit_code=$? + rm -rf /scratch/$USER/$SLURM_JOB_ID + exit $gth_exit_code ```