diff --git a/bin/jasmin/queue-mlde b/bin/jasmin/queue-mlde new file mode 100755 index 000000000..8f25cfc7b --- /dev/null +++ b/bin/jasmin/queue-mlde @@ -0,0 +1,30 @@ +#!/bin/bash +# Script for queueing a model job on LOTUS on JASMIN via lotus-wrapper script + +set -euo pipefail + +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +smem=128G +stime=1-00:00:00 + +while getopts ":m:t:" opt; do + case ${opt} in + m) + smem=${OPTARG} + ;; + t) + stime=${OPTARG} + ;; + \? ) + # echo "Invalid option: -${OPTARG}" 1>&2 + ;; + : ) + echo "Invalid option: $OPTARG requires an argument" 1>&2 + exit 1 + ;; + esac +done +shift "$((OPTIND -1))" + +sbatch --parsable --gres=gpu:1 --partition=orchid --account=orchid --time=${stime} --mem=${smem} -- ${SCRIPT_DIR}/lotus-wrapper $@ diff --git a/bin/jasmin/queue-sampling b/bin/jasmin/queue-sampling deleted file mode 100755 index 3e179360b..000000000 --- a/bin/jasmin/queue-sampling +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# Script for queueing a sampling job on LOTUS on JASMIN via lotus-wrapper script - -set -euo pipefail - -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - -sbatch --parsable --gres=gpu:1 --partition=orchid --account=orchid --time=1-00:00:00 --mem=16G -- ${SCRIPT_DIR}/lotus-wrapper $@ diff --git a/bin/jasmin/queue-training b/bin/jasmin/queue-training deleted file mode 100755 index bb169e072..000000000 --- a/bin/jasmin/queue-training +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# Script for queueing a training job on LOTUS on JASMIN via lotus-wrapper script - -set -euo pipefail - -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - -sbatch --parsable --gres=gpu:1 --partition=orchid --account=orchid --time=1-00:00:00 --mem=128G -- ${SCRIPT_DIR}/lotus-wrapper $@