Skip to content

Commit

Permalink
Add OUT_OF_MEMORY state for Slurm
Browse files Browse the repository at this point in the history
Handle as completed since job is no longer running.
  • Loading branch information
robinkar committed Jul 3, 2023
1 parent 95c4799 commit 0883e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ood_core/job/adapters/slurm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ def squeue_attrs_for_info_attrs(attrs)
'SE' => :completed, # SPECIAL_EXIT
'ST' => :running, # STOPPED
'S' => :suspended, # SUSPENDED
'TO' => :completed # TIMEOUT
'TO' => :completed, # TIMEOUT
'OOM' => :completed # OUT_OF_MEMORY
}

# @api private
Expand Down

0 comments on commit 0883e85

Please sign in to comment.