As an admin, I want the execjob_prologue hook script to run on all nodes in the job at job start, not wait until a job process is actually launched on the secondary execution hosts, so that if it fails the job can be requeued sooner

Description

Currently the execjob_prologue runs on mother superior and then launches the job. When a job does a tm_spawn, tm_attach, or a pbs_attach the the attach will run first and then the execjob_prologue. If the node encounters an issue with the execjob_prologue all of the work the job has done up until that point is wasted.

The behavior should be changed such that the execjob_prologue is run on every node before the job is launched, similar to the execjob_begin behavior.

Acceptance Criteria

execjob_prologue gets run after execjob_begin, but dues not wait for actual job processes to be spawned on secondary hosts

Status

Assignee

Minghui Liu

Reporter

Scott Campbell

Severity

None

OS

None

Start Date

None

Pull Request URL

Story Points

1

Components

Fix versions

Priority

Low
Configure