Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/11 15:52:16 (13 years ago)
Author:
svonolfe
Message:

Added MPIEngine view (#1542)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/MPI/HeuristicLab.MPIAlgorithmRunner/3.3/AlgorithmBroker.cs

    r6394 r6398  
    5858      quotas.MaxArrayLength = int.MaxValue;
    5959      netTCPBinding.ReaderQuotas = quotas;
     60      netTCPBinding.SendTimeout = new TimeSpan(100000000);
     61      netTCPBinding.ReceiveTimeout = new TimeSpan(100000000);
    6062      endpoint.Binding = netTCPBinding;
    6163      int port = FindFreeTcpPort();
     
    9092    #region IAlgorithmBroker Members
    9193
    92     public void TransmitAlgorithm(MPITransportWrapper<IAlgorithm> algorithm) {
     94    public void TransmitAlgorithm(MPITransportWrapper<IAlgorithm> algorithm, int updateInterval) {
    9395      Console.WriteLine("Transmitting Algorithm...");
    9496      int clients = MPI.Communicator.world.Group.Size - 1;
     
    9799        int client = i + 1;
    98100        communicator.Send<MPITransportWrapper<IAlgorithm>>(algorithm, client, 0);
     101        communicator.Send<int>(updateInterval, client, 1);
    99102      }
    100103    }
Note: See TracChangeset for help on using the changeset viewer.