added jobmanager ready print for external diagnostics

This commit is contained in:
Richard Hartmann 2016-09-26 16:47:25 +02:00
parent 549fd78bed
commit 5dd8686e9a

View file

@ -1136,6 +1136,10 @@ class JobManager_Server(object):
"""to implement user defined final processing""" """to implement user defined final processing"""
pass pass
def print_jm_ready(self):
# please overwrite for individual hooks to notify that the server process runs
print("jobmanager awaits client results")
def start(self): def start(self):
""" """
starts to loop over incoming results starts to loop over incoming results
@ -1177,6 +1181,8 @@ class JobManager_Server(object):
Progress = progress.ProgressSilentDummy Progress = progress.ProgressSilentDummy
info_line = progress.StringValue(num_of_bytes=100) info_line = progress.StringValue(num_of_bytes=100)
self.print_jm_ready()
with Progress(count = self._numresults, with Progress(count = self._numresults,
max_count = self._numjobs, max_count = self._numjobs,