Log ($jobstepidx, "stderr $line");
if ($line =~ /srun: error: (SLURM job $ENV{SLURM_JOB_ID} has expired|Unable to confirm allocation for job $ENV{SLURM_JOB_ID})/) {
# If the allocation is revoked, we can't possibly continue, so mark all
- # slots as failed. This will cause the overall exit code to be
+ # nodes as failed. This will cause the overall exit code to be
# EX_RETRY_UNLOCKED instead of failure so that crunch_dispatch can re-run
- # this job. whoa.
+ # this job.
$main::please_freeze = 1;
- $working_slot_count = 0;
foreach my $st (@slot) {
$st->{node}->{fail_count}++;
}