Ticket 2541 - only send stageout email when #DW stageout is set for a job
Summary: only send stageout email when #DW stageout is set for a job
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Burst Buffers (show other tickets)
Version: 16.05.x
Hardware: Linux Linux
: 5 - Enhancement
Assignee: Tim Wickberg
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2016-03-11 04:15 MST by Tim Wickberg
Modified: 2016-04-14 07:01 MDT (History)
2 users (show)

See Also:
Site: NERSC
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 16.05.0-pre3
Target Release: 16.05
DevPrio: 4 - Medium
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
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.