Ticket 2541

Summary: only send stageout email when #DW stageout is set for a job
Product: Slurm Reporter: Tim Wickberg <tim>
Component: Burst BuffersAssignee: Tim Wickberg <tim>
Status: RESOLVED FIXED QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: melissa.romanus, tim
Version: 16.05.x   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=2539
Site: NERSC Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: 16.05.0-pre3 Target Release: 16.05
DevPrio: 4 - Medium Emory-Cloud Sites: ---

Description Tim Wickberg 2016-03-11 04:15:05 MST
Currently, bb_p_job_start_stage_out() is called for every job using burst buffers  with burst_buffer/cray, resulting in a stage-out email always being set even if the job does not define a stage_out option.

Update _get_bb_job() to set a flag if a #DW stage_out line exists, and test that flag in bb_g_job_test_stage_out() before sending the email.
Comment 1 Tim Wickberg 2016-04-14 07:01:56 MDT
Changed in commit 523d193e42.

If a "#DW stage_out" line is not found in the submission script, slurmctld will clear the stage_out mail flag to prevent that irrelevant message from being sent.