Skip to content
Snippets Groups Projects
Commit 5a58dff6 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

tweak e-mail options for IBMLoadLeveler

parent 72f4a8b9
Branches
Tags
1 merge request!23WIP: Feature/use cmake
Pipeline #36111 failed
...@@ -389,7 +389,7 @@ class _code(_base): ...@@ -389,7 +389,7 @@ class _code(_base):
script_file.write('# @ node_usage = not_shared\n') script_file.write('# @ node_usage = not_shared\n')
script_file.write('# @ notification = complete\n') script_file.write('# @ notification = complete\n')
script_file.write('# @ notify_user = $(user)@rzg.mpg.de\n') script_file.write('# @ notify_user = {0}\n'.format(self.host_info['mail_address'])
nb_cpus_per_node = self.host_info['deltanprocs'] nb_cpus_per_node = self.host_info['deltanprocs']
assert isinstance(nb_cpus_per_node, int) and \ assert isinstance(nb_cpus_per_node, int) and \
...@@ -484,6 +484,9 @@ class _code(_base): ...@@ -484,6 +484,9 @@ class _code(_base):
assert(type(self.host_info['environment']) != type(None)) assert(type(self.host_info['environment']) != type(None))
script_file.write('# @ class = {0}\n'.format(self.host_info['environment'])) script_file.write('# @ class = {0}\n'.format(self.host_info['environment']))
script_file.write('# @ node_usage = not_shared\n') script_file.write('# @ node_usage = not_shared\n')
script_file.write('# @ notification = error\n')
script_file.write('# @ notify_user = {0}\n'.format(self.host_info['mail_address'])
script_file.write('#\n') script_file.write('#\n')
nb_cpus_per_node = self.host_info['deltanprocs'] nb_cpus_per_node = self.host_info['deltanprocs']
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment