Skip to content

Commit

Permalink
fix: #59 add hq binary check in allocation queue script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dariuscpt committed Mar 24, 2024
1 parent 28ce6f1 commit db74b17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hpc/hq_scripts/allocation_queue.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#! /bin/bash

# Note: For runs on systems without SLURM, replace the slurm allocator by
# hq worker start &
# ./hq worker start &

if [[ ! -f "./hq" ]]; then
echo "Error: hq binary does not exist at ./hq"
exit 1
fi

./hq alloc add slurm --time-limit 10m \
--idle-timeout 3m \
Expand Down

0 comments on commit db74b17

Please sign in to comment.