mailr23248 - /branches/disp_speed/pipe_control/minimise.py


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

Header


Content

Posted by tlinnet on May 20, 2014 - 01:47:
Author: tlinnet
Date: Tue May 20 01:47:34 2014
New Revision: 23248

URL: http://svn.gna.org/viewcvs/relax?rev=23248&view=rev
Log:
Turned of processor.run_queue() when using calc().

task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.

A weird behaviour was found when running the test-suite.

Somehow, queued jobs from the last test suite was not flushed and done.
Running the test-suite gave errors on almost all tests.

Inspecting systemtest which only used calc() for the dispersion API, showed 
that no jobs was queued
in the calculate() method, and the call to processor.run_queue(), was turned 
off, solving the problem.

Modified:
    branches/disp_speed/pipe_control/minimise.py

Modified: branches/disp_speed/pipe_control/minimise.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_speed/pipe_control/minimise.py?rev=23248&r1=23247&r2=23248&view=diff
==============================================================================
--- branches/disp_speed/pipe_control/minimise.py        (original)
+++ branches/disp_speed/pipe_control/minimise.py        Tue May 20 01:47:34 
2014
@@ -80,7 +80,8 @@
         api.calculate(verbosity=verbosity)
 
     # Execute any queued commands.
-    processor.run_queue()
+    # No processes has been queued in the calc function().
+    #processor.run_queue()
 
 
 def grid_search(lower=None, upper=None, inc=None, constraints=True, 
verbosity=1):




Related Messages


Powered by MHonArc, Updated Tue May 20 02:00:04 2014