Skip to content

Commit

Permalink
Improved slurm controller detection
Browse files Browse the repository at this point in the history
  • Loading branch information
vanzod committed Feb 8, 2024
1 parent 5f4fc1a commit 3481882
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set of common functions used across scripts

function is_slurm_controller() {
ls /lib/systemd/system/ | grep -q slurmctld
test -e /usr/sbin/slurmctld
}

0 comments on commit 3481882

Please sign in to comment.