Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/09 15:21:33 (15 years ago)
Author:
gkronber
Message:

Fixed bugs in preparation of engines for execution on hive. Used HL.Tracing instead of trace statements. #642 (Hive backend for CEDMA)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/GridExecuter.cs

    r2064 r2073  
    7474              procEngine.OperatorGraph.AddOperator(algorithm.Engine.OperatorGraph.InitialOperator);
    7575              procEngine.OperatorGraph.InitialOperator = algorithm.Engine.OperatorGraph.InitialOperator;
     76              procEngine.Reset();
    7677              AsyncGridResult asyncResult = jobManager.BeginExecuteEngine(procEngine);
    7778              asyncResults.Add(asyncResult.WaitHandle, asyncResult);
     
    100101            }
    101102            catch (Exception badEx) {
    102               Trace.WriteLine("CEDMA Executer: Exception in job execution thread. " + badEx.Message);
     103              HeuristicLab.Tracing.Logger.Error("CEDMA Executer: Exception in job execution thread. " + badEx.Message);
    103104            }
    104105          }
    105106        }
    106107        catch (Exception ex) {
    107           Trace.WriteLine("CEDMA Executer: Exception in job-management thread. " + ex.Message);
     108          HeuristicLab.Tracing.Logger.Warn("CEDMA Executer: Exception in job-management thread. " + ex.Message);
    108109        }
    109110      }
Note: See TracChangeset for help on using the changeset viewer.