diff options
Diffstat (limited to 'scripts/aimos/alloc')
| -rwxr-xr-x | scripts/aimos/alloc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/aimos/alloc b/scripts/aimos/alloc new file mode 100755 index 0000000..46e23f6 --- /dev/null +++ b/scripts/aimos/alloc @@ -0,0 +1,7 @@ +#!/bin/bash +if [ "$#" -ne 2 ]; then + echo "Provide two arguments (number of minutes to allocate)" >&2 + exit 1 +fi + +salloc -N 1 --partition=$2 --gres=gpu:4 -t $1 |
