Skip to content

Commit

Permalink
Use configured emails in BfabricSubmitter
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Mar 20, 2024
1 parent fb6aacb commit d55775b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bfabric/bfabric.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,7 @@ def compose_bash_script(self, configuration=None, configuration_parser=lambda x:
set -e
set -o pipefail
## TODO: #59
export EMAIL="[email protected] [email protected]"
export EMAIL="{job_notification_emails}"
export EXTERNALJOB_ID={3}
export RESSOURCEID_OUTPUT={4}
export RESSOURCEID_STDOUT_STDERR="{5} {6}"
Expand Down Expand Up @@ -734,7 +733,8 @@ def compose_bash_script(self, configuration=None, configuration_parser=lambda x:
config['job_configuration']['executable'],
config['job_configuration']['workunit_id'],
self.nodelist,
self.memory)
self.memory,
job_notification_emails=self.B.config.job_notification_emails)

return _cmd_template

Expand Down

0 comments on commit d55775b

Please sign in to comment.