Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/17/10 10:26:55 (14 years ago)
Author:
cneumuel
Message:
  • Refactored HL.Hive.Experiment. JobItems are not called HiveJobs and OptimizerJobs do not contain a hierarchy anymore.
  • Dynamic generation of jobs on a slave are not reflected on the client user interface.
  • Optimizer-Trees are now strictly synchronized with the HiveJob-Trees (also the ComputeInParallel property is taken into account when the Child HiveJobs are created)
  • Improved the way a class can report progress and lock the UI (IProgressReporter, IProgress, Progress, ProgressView)
  • Changes were made to the config-files, so that server and clients work with blade12.hpc.fh-hagenberg.at
  • Lots of small changes and bugfixes
Location:
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3
Files:
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/HiveServerManagementConsole.cs

    r4302 r4423  
    345345      foreach (ResourceDto resource in clientGroup.Resources) {
    346346        if (resource is SlaveDto) {
    347           int percentageUsage = CapacityRam(((SlaveDto)resource).NrOfCores, ((SlaveDto)resource).NrOfFreeCores);
     347          int percentageUsage;
     348          if (((SlaveDto)resource).NrOfCores.HasValue && ((SlaveDto)resource).NrOfFreeCores.HasValue) {
     349            percentageUsage = CapacityRam(((SlaveDto)resource).NrOfCores.Value, ((SlaveDto)resource).NrOfFreeCores.Value);
     350          } else {
     351            percentageUsage = 0;
     352          }
     353
    348354          int usage = 3;
    349355          if ((((SlaveDto)resource).State != SlaveState.Offline) &&
     
    427433
    428434      lblJobName.Text = job.Id.ToString();
    429       if (job.Percentage != null) {
    430         progressJob.Value = (int)(currentJob.Percentage * 100);
    431         lblProgress.Text = (int)(currentJob.Percentage * 100) + "% calculated";
    432       }
     435
     436      progressJob.Value = (int)(currentJob.ExecutionTime.TotalDays % 1) * progressJob.Maximum;
     437      lblProgress.Text = currentJob.ExecutionTime.ToString();
    433438
    434439      ListViewItem lvi = new ListViewItem();
     
    443448      lvJobDetails.Items.Add(lvi);
    444449
    445       if (job.ParentJob != null) {
     450      if (job.ParentJobId != null) {
    446451        lvi = null;
    447452        lvi = new ListViewItem();
    448453        lvi.Text = "Parent job:";
    449         lvi.SubItems.Add(job.ParentJob.ToString());
     454        lvi.SubItems.Add(job.ParentJobId.ToString());
    450455        lvJobDetails.Items.Add(lvi);
    451456      }
     
    497502
    498503      if (currentSlave != null) {
    499         int percentageUsage = CapacityRam(currentSlave.NrOfCores, currentSlave.NrOfFreeCores);
     504        int percentageUsage;
     505        if (currentSlave.NrOfCores.HasValue && currentSlave.NrOfFreeCores.HasValue) {
     506          percentageUsage = CapacityRam(currentSlave.NrOfCores.Value, currentSlave.NrOfFreeCores.Value);
     507        } else {
     508          percentageUsage = 0;
     509        }
    500510        int usage = 3;
    501511        if ((currentSlave.State != SlaveState.Offline) && (currentSlave.State != SlaveState.NullState)) {
     
    807817            if (job.State != JobState.Offline) {
    808818              if ((!IsEqual(job.Slave, jobold.Slave)) || (job.State != jobold.State)
    809                    || (job.Percentage != jobold.Percentage)) {
     819                   || (job.ExecutionTime != jobold.ExecutionTime)) {
    810820                change = true;
    811821              }
  • branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Console/3.3/app.config

    r4368 r4423  
    3535    </bindings>
    3636    <client>
    37       <endpoint address="http://localhost:9000/ServerConsoleService" behaviorConfiguration="ServerConsoleBehaviour"
     37      <endpoint address="http://blade12.hpc.fh-hagenberg.at:9000/ServerConsoleService" behaviorConfiguration="ServerConsoleBehaviour"
    3838          binding="wsHttpBinding" bindingConfiguration="ServerConsoleHttpEndpoint"
    3939          contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade" name="ServerConsoleHttpEndpoint">
    4040        <identity>
    41           <certificate encodedValue="AwAAAAEAAAAUAAAAJ5p7xBv8o/BZ9Lp1c1d+F13FxN8gAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhBvZlgTCjsfjEG5QUX7yOhOMAkGBSsO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LksCEYaH80wPWI7F3N/tN+5svizD0sfQIDAQABo1swWTBXBgNVHQEEUDBOgBBJWfbAcVJ+egMO9eh/uP3hoSgwJjEkMCIGA1UEAxMbYmxhZGUxMi5ocGMuZmgtaGFnZW5iZXJnLmF0ghCcCYkXdzUDsEzY5+POfdYRMAkGBSsOAwIdBQADgYEApOwttaruQRFtS8SWslEDt+aKzIUnfKrJ+7U7Fml5+QT7G4+5bXnfOs5gcWKDQyyap9y3AJpjPnGaLzwb/8LwlqKXePRQvOW44O5JLwOTo3TD4ZPKANuBblD7J7TYGyXKTUQcytfQl1uOxELWNBj4IpUEbR1C/S4RmupMivLNQoA=" />
    4242        </identity>
    4343      </endpoint>
Note: See TracChangeset for help on using the changeset viewer.