mailr27844 - /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:57 2015
New Revision: 27844

URL: http://svn.gna.org/viewcvs/relax?rev=27844&view=rev
Log:
Suggestion Fix 1, in multi.processor.run_queue().

This fix changes, that the amount of simulations is not chunked up before 
sending each chunk to a CPU.
Rather, all jobs are to be submitted after each other, and finished for 
themselves.

Bug #23618: (https://gna.org/bugs/index.php?23618): queuing system for multi 
processors is not well designed.

Modified:
    trunk/multi/processor.py

Modified: trunk/multi/processor.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/multi/processor.py?rev=27844&r1=27843&r2=27844&view=diff
==============================================================================
--- trunk/multi/processor.py    (original)
+++ trunk/multi/processor.py    Wed May 27 03:09:57 2015
@@ -633,8 +633,8 @@
         """
 
         #FIXME: need a finally here to cleanup exceptions states
-        lqueue = self.chunk_queue(self.command_queue)
-        self.run_command_queue(lqueue)
+        #lqueue = self.chunk_queue(self.command_queue)
+        self.run_command_queue(self.command_queue)
 
         del self.command_queue[:]
         self.memo_map.clear()




Related Messages


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