Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/19/11 11:08:33 (12 years ago)
Author:
svonolfe
Message:

Refactored solution (#1542)

Location:
branches/MPI/HeuristicLab.Operators.MPISupport/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/MPI/HeuristicLab.Operators.MPISupport/3.3

    • Property svn:ignore
      •  

        old new  
        33obj
        44HeuristicLabOperatorsMPISupportPlugin.cs
         5Plugin.cs
  • branches/MPI/HeuristicLab.Operators.MPISupport/3.3/MPIUnidirectionalRingMigrator.cs

    r6354 r7205  
    4848      if (MPI.Communicator.world != null) {
    4949        int size = MPI.Communicator.world.Size;
    50         if (size > 2) {
     50        if (size > 1) {
    5151          int i = MPI.Communicator.world.Rank;
    5252          IScope scope = ExecutionContext.Scope;
     
    5656          int recipent = i + 1;
    5757          if (recipent == size)
    58             recipent = 1;
     58            recipent = 0;
    5959
    6060          Console.WriteLine("MIGRATE " + i + " TO " + recipent);
     
    6464          IScope immigrants = null;
    6565          int sender = i - 1;
    66           if (sender < 1)
     66          if (sender < 0)
    6767            sender = size - 1;
    6868
Note: See TracChangeset for help on using the changeset viewer.