From ead8a4973545c3a4e6df7ac2644d060c485edefa Mon Sep 17 00:00:00 2001 From: dahlo Date: Wed, 6 Mar 2024 08:38:35 +0100 Subject: [PATCH 1/2] Fixed typo in variable name for number of cores Zenity should book. --- zenity-whisper.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zenity-whisper.sh b/zenity-whisper.sh index 35c41e37..1e4137dc 100755 --- a/zenity-whisper.sh +++ b/zenity-whisper.sh @@ -1,4 +1,6 @@ #!/usr/bin/bash +set -a +set -x cancelled(){ zenity --error \ --title="Process cancelled" \ @@ -94,7 +96,7 @@ else c_type="#SBATCH -C gpu" else node_type="core" - n_node= "16" + n_node="16" c_type="" fi echo "more than $login_node_limit_time" @@ -105,7 +107,7 @@ else #!/bin/bash -l #SBATCH -A $proj_name #SBATCH -p $node_type -#SBATCH -n $n_nodes +#SBATCH -n $n_node #SBATCH -t $job_time #SBATCH -J $job_name $c_type From 9ac9619415bec6b5f22635a8fa5701c1dc0e7e7e Mon Sep 17 00:00:00 2001 From: dahlo Date: Wed, 6 Mar 2024 08:39:41 +0100 Subject: [PATCH 2/2] Removed debug options in zenity script. --- zenity-whisper.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/zenity-whisper.sh b/zenity-whisper.sh index 1e4137dc..12eb995c 100755 --- a/zenity-whisper.sh +++ b/zenity-whisper.sh @@ -1,6 +1,4 @@ #!/usr/bin/bash -set -a -set -x cancelled(){ zenity --error \ --title="Process cancelled" \