Skip to content

Commit

Permalink
Merge pull request #101 from Rfam/slurm-configur-state
Browse files Browse the repository at this point in the history
Adds support for CONFIGUR squeue state
  • Loading branch information
blakesweeney authored Jul 29, 2024
2 parents cfb5109 + 9249fd9 commit 2d66cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rfam/Lib/Bio/Rfam/Utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ sub wait_for_cluster_light {
}
}
elsif((defined $config->scheduler) && ($config->scheduler eq "slurm")) {
if(($status !~ m/^RUNNING/) && ($status !~ m/^PENDING/) && ($status !~ m/^COMPLETI/)) {
die "wait_for_cluster_light(), internal error, squeue shows non-\"RUNNING\", non-\"PENDING\" and non-\"COMPLETI\" status:\n$line";
if(($status !~ m/^RUNNING/) && ($status !~ m/^PENDING/) && ($status !~ m/^COMPLETI/) && ($status !~ m/^CONFIGUR/)) {
die "wait_for_cluster_light(), internal error, squeue shows non-\"RUNNING\", non-\"PENDING\", non-\"COMPLETI\" and non-\"CONFIGUR\" status:\n$line";
}
}
}
Expand Down

0 comments on commit 2d66cdb

Please sign in to comment.