Skip to content

Commit

Permalink
Update allocation_queue.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
linusseelinger committed Mar 5, 2024
1 parent 1b0f392 commit e80cc59
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,5 +1,9 @@
#! /bin/bash

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


hq alloc add slurm --time-limit 10m \
--idle-timeout 3m \
--backlog 1 \
Expand All @@ -8,4 +12,4 @@ hq alloc add slurm --time-limit 10m \
--resource "model=range(1-1)" \
--cpus=1 \
-- -p "devel" # Add any neccessary SLURM arguments
# Any parameters after -- will be passed directly to sbatch (e.g. credentials, partition, mem, etc.)
# Any parameters after -- will be passed directly to sbatch (e.g. credentials, partition, mem, etc.)

0 comments on commit e80cc59

Please sign in to comment.