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)


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to