- Timestamp:
- 06/08/11 15:52:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MPI/HeuristicLab.MPIAlgorithmRunner/3.3/Program.cs
r6394 r6398 68 68 Console.WriteLine("Clients: " + clients); 69 69 70 int updateInterval = 5000;71 72 70 MPI.Communicator communicator = MPI.Communicator.world.Clone() as MPI.Communicator; 73 71 … … 119 117 } else { 120 118 Program p = new Program(); 121 p.StartAlgorithm( updateInterval,communicator);119 p.StartAlgorithm(communicator); 122 120 } 123 121 } 124 122 } 125 123 126 public void StartAlgorithm( int updateInterval,MPI.Communicator communicator) {124 public void StartAlgorithm(MPI.Communicator communicator) { 127 125 IAlgorithm alg = communicator.Receive<MPITransportWrapper<IAlgorithm>>(0, 0).InnerItem; 126 int updateInterval = communicator.Receive<int>(0, 1); 128 127 129 128 Console.WriteLine("Starting algorithm...");
Note: See TracChangeset
for help on using the changeset viewer.