mailr27842 - /trunk/multi/processor.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on May 27, 2015 - 03:09:
Author: tlinnet
Date: Wed May 27 03:09:52 2015
New Revision: 27842

URL: http://svn.gna.org/viewcvs/relax?rev=27842&view=rev
Log:
In multi.processor(), moving up the debugging print-out of running sets of 
calculatation.

Modified:
    trunk/multi/processor.py

Modified: trunk/multi/processor.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/multi/processor.py?rev=27842&r1=27841&r2=27842&view=diff
==============================================================================
--- trunk/multi/processor.py    (original)
+++ trunk/multi/processor.py    Wed May 27 03:09:52 2015
@@ -604,14 +604,14 @@
 
             # Loop until the queue of calculations is depleted.
             while len(running_set) != 0:
-                # Get the result.
-                result = self.master_receive_result()
-
                 # Debugging printout.
                 if verbosity.level():
                     print('\nIdle set:    %s' % idle_set)
                     print('Running set: %s' % running_set)
 
+                # Get the result.
+                result = self.master_receive_result()
+
                 # Shift the processor rank to the idle set.
                 if result.completed:
                     idle_set.add(result.rank)




Related Messages


Powered by MHonArc, Updated Wed May 27 03:20:02 2015