Skip to content

Commit

Permalink
Create cluster with large dynamic nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Hanwen <[email protected]>
  • Loading branch information
hanwen-cluster committed Aug 27, 2024
1 parent 4deb51b commit cd53a52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

sinfo_output=$(#{node['cluster']['slurm']['install_dir']}/bin/sinfo -h -o '%N %t' | grep -v -E '(idle|alloc|mix|maint)$')
sinfo_output=$(#{node['cluster']['slurm']['install_dir']}/bin/sinfo -h -o '%N %t' | grep -v -E '(idle|alloc|mix|maint)$'))
while IFS= read -r line; do
nodelist=$(echo "$line" | awk '{print $1}')
#{node['cluster']['slurm']['install_dir']}/bin/scontrol show hostnames "$nodelist" | { grep -E '^[a-z0-9\\-]+\\-st\\-[a-z0-9\\-]+\\-[0-9]+ .*' || true; }
Expand Down

0 comments on commit cd53a52

Please sign in to comment.