Author: bugman Date: Fri Mar 23 17:31:14 2012 New Revision: 15620 URL: http://svn.gna.org/viewcvs/relax?rev=15620&view=rev Log: The multi-processor data_fetch() API function is now used to obtain the total_length variable. Modified: 1.3/multi/test_implementation2.py Modified: 1.3/multi/test_implementation2.py URL: http://svn.gna.org/viewcvs/relax/1.3/multi/test_implementation2.py?rev=15620&r1=15619&r2=15620&view=diff ============================================================================== --- 1.3/multi/test_implementation2.py (original) +++ 1.3/multi/test_implementation2.py Fri Mar 23 17:31:14 2012 @@ -34,7 +34,7 @@ sys.path.append('..') # relax module imports. -from multi import data_upload, Application_callback, load_multiprocessor, Memo, Processor_box, Result_command, Slave_command +from multi import data_fetch, data_upload, Application_callback, load_multiprocessor, Memo, Processor_box, Result_command, Slave_command # Module variables. @@ -165,7 +165,7 @@ processor_box.processor.run_queue() # Calculate the average length. - ave_len = processor_box.processor.data_store.total_length / self.N + ave_len = data_fetch('total_length') / self.N # Final program print out. print("\n\nTotal number of calculations: %s" % self.num)