Debian Codegraph @

src/ChangeLog

raw
1 2013-07-09 Mikael Djurfeldt <[email protected]>
2
3 * runtime.cc (Runtime::Runtime): Only create scheduling agents if
4 launched by MUSIC.
5
6 2012-09-26 Mikael Djurfeldt <[email protected]>
7
8 * Makefile.am, connector.cc, event_router.cc, multibuffer.cc,
9 music/connectivity.hh, music/connector.hh, music/multibuffer.hh,
10 music/runtime.hh, music/scheduler.hh, music/subconnector.hh,
11 port.cc, runtime.cc, scheduler.cc, subconnector.cc: Implementation
12 of multiconnectors.
13
14 2012-09-15 Mikael Djurfeldt <[email protected]>
15
16 * connector.cc (lessOutputSubconnector): Make less condition
17 consistent.
18
19 2012-09-14 Mikael Djurfeldt <[email protected]>
20
21 * connector.cc (Connector::initialize): Sort input and output
22 subconnectors according to different criteria in order to obtain
23 the communication schedule described in Mikael Djurfeldt et
24 al. (2005) "Massively parallel simulation of brain-scale neuronal
25 network models."
26
27 * music/connector.hh (Connector::isInput)
28 (InputConnector::isInput): New member function.
29
30 * music/subconnector.hh (Subconnector::localRank): New member
31 function.
32
33 2012-09-08 Mikael Djurfeldt <[email protected]>
34
35 * music/clock.hh, clock.cc (Clock::reset): New member function.
36
37 2012-09-04 Mikael Djurfeldt <[email protected]>
38
39 * scheduler.cc (Scheduler::nextCommunication): Make sure that all
40 events from the first point in time are scheduled.
41
42 * music/scheduler.hh (SConnection): Renamed from Connection in
43 order not to be confused with connection.hh::Connection.
44
45 * connector.cc (Connector::isProxy): New member function.
46
47 * music/scheduler.hh, scheduler.cc (Scheduler::addConnection): New
48 argument multiComm.
49 (Scheduler::Connection): New member multiComm.
50
51 * music/temporal.hh, temporal.cc (ConnectionDescriptor): New
52 member multiComm.
53 (TemporalNegotiator::collectNegotiationData): Set multiComm.
54 (TemporalNegotiator::fillScheduler): Pass multiComm to
55 Scheduler::addConnection.
56
57 2012-09-03 Mikael Djurfeldt <[email protected]>
58
59 * scheduler.cc (Scheduler::initialize): Setup ProxyConnector
60 representing a distant connection.
61
62 * music/scheduler.hh (Scheduler::Node): New member functions
63 leader and nProcs.
64
65 * music/scheduler.hh, scheduler.cc (Scheduler::addNode,
66 Scheduler::Node::Node): New arguments leader and nProcs.
67
68 * music/setup.hh, setup.cc (Setup::nProcs): New member function.
69
70 * music/temporal.hh (TemporalNegotiationData): Added new members
71 leader and nProcs.
72
73 * temporal.cc (TemporalNegotiator::collectNegotiationData): Set
74 leader and nProcs.
75 (TemporalNegotiator::fillScheduler): Pass leader and nProcs to
76 Scheduler::addNode.
77
78 * music/connector.hh (ProxyConnector): New class. These objects
79 will represent connections which the local application doesn't
80 participate in but still need to be aware of in order to schedule
81 common collective communication events.
82
83 2012-09-02 Mikael Djurfeldt <[email protected]>
84
85 * music/event_router.hh, event_router.cc (DirectRouter): New
86 class.
87
88 * music/setup.hh, setup.cc (Setup::leader): Added selector.
89
90 * music/configuration.hh, configuration.cc
91 (Configuration::leader): Added selector.
92
93 2012-08-27 Mikael Djurfeldt <[email protected]>
94
95 * music/spatial.hh, spatial.cc: Simplification made possible by
96 previous change.
97
98 * spatial.cc (SpatialNegotiator::send)
99 (SpatialNegotiator::receive): First send size of receive buffer in
100 order to avoid successive resizing. This is kinder to the memory
101 allocator.
102
103 2012-08-25 Mikael Djurfeldt <[email protected]>
104
105 * music/memory.hh, memory.cc: New files.
106
107 * Makefile.am, runtime.cc: Report memory usage for world rank #0
108 using mallinfo.
109
110 * music/runtime.hh, runtime.cc, music/connector.hh: Initial
111 support for MultiConnector:s. MultiConnector is an object
112 governing simultaneous communication through a set of
113 Connector:s.
114
115 * runtime.cc, music/connector.hh, music/subconnector.hh: Added
116 some debugging/analysis code.
117
118 2012-08-23 Mikael Djurfeldt <[email protected]>
119
120 * music/scheduler.hh (Scheduler::Node::outputConnections),
121 scheduler.cc: Pass outputConnections as a pointer rather than as a
122 vector.
123
124 * event_routing_map.cc (OutputRoutingMap::fillRouter): Bugfix:
125 return -> continue.
126
127 * interval.cc: New file.
128
129 * music/interval.hh: Make Interval:s printable.
130
131 * music/music-config.hh-in: (and many other files) Some #include
132 reorganization: Let those who need it include music-config.hh as
133 the common first header file.
134
135 * music/ordered_ilist.hh (OrderedIList::iterator): Satisfy BG/P
136 compiler which complained that an OrderedIList member creates a
137 circular reference with respect to type.
138
139 2012-08-22 Mikael Djurfeldt <[email protected]>
140
141 * music/port.hh, port.cc (Port::checkIndexMap): New member.
142
143 * port.cc (OutputPort::mapImpl, InputPort::mapImpl: Use
144 checkIndexMap.
145
146 * event_routing_map.cc (OutputRoutingMap::fillRouter): Ask
147 EventRouter if it needs as few points as possible rather than as
148 few intervals as possible, and close gaps only in the latter case.
149 This is important when using the new table based routing together
150 with simulators with round-robin allocation, such as NEST.
151
152 * music/event_router.hh: Let table based routers say that they
153 need few points rather than intervals.
154
155 2012-08-21 Mikael Djurfeldt <[email protected]>
156
157 * music/interval_table.hh, music/ordered_ilist.hh: Introduced an
158 interval table optimization variable MUSIC_ITABLE_FLAVOR with the
159 options MUSIC_VANILLA, MUSIC_TRIMMED, MUSIC_COMPACT and
160 MUSIC_SCATTERED explained at the top of music/interval_table.hh.
161
162 * music/event_router.hh: #define MUSIC_ITABLE_FLAVOR to
163 MUSIC_SCATTERED.
164
165 * music/interval_table.hh (IntervalTable::search): Check index
166 against tableSize_ instead of container size.
167
168 * music/subconnector.hh, music/event_routing_map.hh: Don't
169 #include <music/event_router.hh> which contains heavy template
170 stuff. Instead forward declare EventRouter. Since both
171 subconnector.hh and event_routing_map.hh are included by other
172 header files, this speeds up compilation and decreases the
173 dependencies in the code tree.
174
175 * connector.cc, event_routing_map.cc, port.cc, subconnector.cc:
176 #include "music/event_router.hh".
177
178 * runtime.cc (Runtime::tick): Only access first element of
179 schedule if non-empty.
180 (Runtime::finalize): Only do schedule-related processing if
181 schedule initially non-empty.
182
183 * Makefile.am: Added music/interval_table.hh,
184 music/ordered_ilist.hh.
185
186 * music/interval_table.hh, music/ordered_ilist.hh: New files.
187
188 * music/event_router.hh: Use new IntervalTable template.
189
190 2012-08-19 Mikael Djurfeldt <[email protected]>
191
192 * music/event_routing_map.hh, event_routing_map.cc
193 (EventRoutingMap::build): Removed. Replaced by fillRouter which is
194 now public.
195
196 music/port.hh (EventOutputPort::setupCleanup), port.cc
197 (EventOutputPort::buildTable), connector.cc
198 (EventInputCollectiveConnector::spatialNegotiation): Use
199 EventRoutingMap::fillRouter and call EventRouter::buildTable
200 directly. Delete the event routing map before calling buildTable
201 so that the data structures used by buildTable don't co-exist in
202 memory with the event routing map.
203
204 2012-08-18 Mikael Djurfeldt <[email protected]>
205
206 * music/interval_tree.hh, music/collector.hh, collector.cc,
207 music/distributor.hh, distributor.cc, event_routing_map.cc:
208 Separated the template DataType parameter of IntervalTree into
209 IntervalType and DataType.
210
211 * Makefile.am, music/event_routing_map.hh, event_routing_map.cc,
212 music/connector.hh, music/port.hh: Renamed
213 event_routingmap.{cc,hh} -> event_routing_map.{cc,hh}.
214
215 * music/interval_tree.hh: Optimized memory usage.
216
217 2012-08-17 Mikael Djurfeldt <[email protected]>
218
219 * music/index_map.hh, music/interval.hh: Removed clone().
220
221 * connector.cc, music/event_router.hh, event_router.cc,
222 event_routingmap.cc, music/event.hh: Removal of indirection and
223 virtual pointers for IndexProcessors.
224
225 * music/event_router, event_router.cc: Removed unused member Data ().
226
227 * interval.hh, music/event_router.hh, event_router.cc,
228 event_routingmap.cc: Simplifications enabled by previous changes.
229
230 * music/event_router.hh, event_router.cc: Removed indirection
231 (pointer) to EventRoutingData from the IntervalTree through the
232 use of templates.
233
234 * port.cc: Let type dispatch happen here instead of in the
235 interval tree.
236
237 * event_routingmap.cc: Formatting.
238
239 * music/collector.hh, collector.cc, music/distributor.hh,
240 distributor.cc: Reverted to old use of interval_tree.
241
242 * music/interval_tree.hh: Reverted to version in trunk, but with
243 an added assignment operator.
244
245 2012-08-17 Mikael Djurfeldt <[email protected]>
246
247 * application_map.cc (ApplicationMap::read): Only create file
248 "leaders" if MUSIC_DEBUGGING is defined.
249
250 * configuration.cc (Configuration::getEnv): Handle the case where
251 the MUSIC configuration variable is not present (launched without
252 MUSIC) properly.
253
254 2012-08-13 Mikael Djurfeldt <[email protected]>
255
256 * scheduler.cc (Scheduler::Node::advance): Define time variable
257 only if debugging. Formatting changes.
258
259 * music/data_map.hh (~DataMap::DataMap), music/event_router.hh
260 (~IndexProcessor::IndexProcessor), music/index_map.hh
261 (~IndexMap::IndexMap)
262 (~IndexMap::IteratorImplementation::IteratorImplementation),
263 music/interval.hh (~Interval::Interval), music/spatial.hh
264 (~NegotiationIterator::Implementation::Implementation: Destructor
265 made virtual.
266
267 * music/collector.hh (Collector::Interval::clone),
268 music/distributor.hh (Distributor::Interval::clone): Added for
269 consistency.
270
271 * event_router.cc, music/event_router.hh, music/collector.hh,
272 music/distributor.hh, music/interval.hh, music/index_map.hh,
273 music/interval_tree.hh: Renamed Clone --> clone throughout.
274
275 * event_router.cc, music/event_router.hh: Renamed "spicialized"
276 --> "specialized" throughout.
277
278 * application_map.cc (ApplicationMap::assignLeaders): Only create
279 ranks file if MUSIC_DEBUG is defined.
280
281 2012-08-07 Mikael Djurfeldt <[email protected]>
282
283 * runtime.cc (runtime.cc): Disable deletion of ports.
284
285 2012-08-03 Mikael Djurfeldt <[email protected]>
286
287 * music/version.hh.in: New file.
288
289 2012-03-20 Mikael Djurfeldt <[email protected]>
290
291 * setup.cc, music/setup.hh (Setup::maybeProcessMusicArgv): New
292 method. Get argc and argv from MUSIC_ARGV, if available.
293
294 2012-03-18 Mikael Djurfeldt <[email protected]>
295
296 * runtime.cc (Runtime::Runtime): Call maybepostponedSetup ().
297
298 * configuration.cc (MUSIC): Added comment with syntax of
299 _MUSIC_CONFIG_.
300
301 2012-03-15 Mikael Djurfeldt <[email protected]>
302
303 * music/setup.hh, setup.cc (maybePostponedSetup, fullInit): New
304 functions.
305
306 * music/configuration.hh, configuration.cc
307 (Configuration::postponeSetup): New function.
308
309 * port.cc (Port::Port): Call maybepostponedSetup ().
310
311 2011-11-24 Mikael Djurfeldt <[email protected]>
312
313 * Makefile.am (libmusic_la_LDFLAGS): Added libmpidep.la in order
314 to support predictRank.
315
316 * music/predict_rank.hh, predict_rank.cc: New files.
317
318 2011-01-31 Mikael Djurfeldt <[email protected]>
319
320 * Makefile.am (libmusic_c_la_DEPENDENCIES): Added in order to
321 support parallel builds.
322
323 2011-01-13 Mikael Djurfeldt <[email protected]>
324
325 * subconnector.cc (ContInputSubconnector::receive): Update receive
326 buffer pointer for subsequent receives when large packages have
327 been split.
328
329 * BIFO.cc (BIFO::insertBlock): Fixes to logic when buffer has
330 wrapped around.
331
332 2010-07-28 Mikael Djurfeldt <[email protected]>
333
334 * Release 1.0.7
335
336 * synchronizer.cc (Synchronizer::nextCommunication): Revert
337 buggy handling of tight loops in change of 2009-10-23.
338
339 * subconnector.cc
340 (MessageOutputSubconnector::MessageOutputSubconnector): Bugfix:
341 Initialize synchronizer pointer properly.
342
343 2009-10-25 Mikael Djurfeldt <[email protected]>
344
345 * Release 1.0.6
346
347 * ioutils.c, parse.cc: Added #include <cstdio>.
348
349 2009-10-24 Mikael Djurfeldt <[email protected]>
350
351 * Release 1.0.5
352
353 2009-10-23 Mikael Djurfeldt <[email protected]>
354
355 * synchronizer.cc (Synchronizer::nextCommunication): Handle
356 tight loops (maxBuffered == 0) of spike events.
357
358 * temporal.cc (TemporalNegotiator::combineParameters): Correctly
359 take MAX_BUFFERED_NO_VALUE arguments into consideration.
360
361 * music/subconnector.hh, connector.cc, runtime.cc,
362 subconnector.cc: Use COMM_WORLD ranks for the pair-wise
363 communication schedule in Runtime::buildSchedule.
364
365 * music/port.hh, port.cc (EventOutputPort::EventOutputPort,
366 EventInputPort::EventInputPort): Moved from header file to
367 port.cc.
368
369 * temporal.cc (TemporalNegotiator::distributeNegotiationData): Use
370 type ClockState for accLatency.
371
372 2009-10-20 Mikael Djurfeldt <[email protected]>
373
374 * connector.hh, event_router.hh, interval.hh, port.hh,
375 connector.cc, event_router.cc, port.cc: New version of event
376 routing interval joining code which handles interval sequences for
377 different targets separately.
378
379 2009-10-19 Mikael Djurfeldt <[email protected]>
380
381 * event_router.cc (EventRouter::buildTable): Added debugging
382 printout of routing table size (when #define MUSIC_DEBUG is
383 uncommented).
384
385 * music/interval_tree.hh (IntervalTree<PointType)
386 (DataType>::size): New method (for debugging purposes).
387
388 2009-10-12 Mikael Djurfeldt <[email protected]>
389
390 * setup.cc (Setup::Setup): Report an error if MPI::Init has been
391 called.
392
393 2009-10-05 Mikael Djurfeldt <[email protected]>
394
395 * music/connector.hh, music/event_router.hh, music/port.hh,
396 connector.cc, event_router.cc, port.cc: Join event routing
397 intervals over holes in the routing map. This increases
398 efficiency of event routing but has the consequence that
399 non-mapped indices may now be erroneously routed.
400
401 2009-10-04 Mikael Djurfeldt <[email protected]>
402
403 * music-c.h: (MUSIC_EventOutputPort_mapGlobalIndex)
404 (MUSIC_EventOutputPort_mapLocalIndex): Inserted missing
405 declarations. (Thanks to Michael Hines.)
406
407 * Makefile.am (musicinclude_HEADERS): Removed duplicate
408 message.hh.
409
410 2009-04-01 Mikael Djurfeldt <[email protected]>
411
412 * Release 1.0.4
413
414 2009-03-15 Mikael Djurfeldt <[email protected]>
415
416 * music/spatial.hh, spatial.cc (NegotiationIterator): Join
417 intervals. (In some cases this allows thousands of routing
418 intervals to be replaced by a single one.)
419
420 * runtime.cc (Runtime::finalize): Only include Barrier call for
421 OpenMPI versions <= 1.2.
422
423 * music/temporal.hh,
424 temporal.cc (TemporalNegotiator::computeDefaultMaxBuffered):
425 Select a proper default buffering for message ports.
426
427 * spatial.cc (SpatialInputNegotiator::negotiateWidth): Set
428 maxLocalWidth_ when given wildcard index.
429
430 2009-03-14 Mikael Djurfeldt <[email protected]>
431
432 * music/connector.hh, music/subconnector.hh, connector.cc,
433 subconnector.cc: Moved buffer from subconnector to connector for
434 MessageOutputPorts.
435
436 * music/subconnector.hh (BufferingOutputSubconnector): New class.
437
438 * music/FIBO.hh, FIBO.cc (FIBO::clear, FIBO::nextBlockNoClear):
439 New member functions.
440
441 * port.cc (MessageInputPort::mapImpl): Give correct routing
442 information in the indexMap.
443
444 * music/port.hh, port.cc (MessageInputPort::map): Cover all
445 argument combinations.
446
447 * music/index_map.hh, index_map.cc (Index::WILDCARD_MAX): New
448 member.
449
450 * spatial.cc: Accept wild card indices on receiver side.
451
452 * subconnector.cc (EventInputSubconnectorGlobal::receive,
453 EventInputSubconnectorLocal::receive,
454 MessageInputSubconnector::receive): Define `data' as vector of
455 char, not vector of char*.
456
457 2009-03-13 Mikael Djurfeldt <[email protected]>
458
459 * Release 1.0.3
460
461 * setup.cc: #include "config.h"
462
463 2009-03-12 Mikael Djurfeldt <[email protected]>
464
465 * music/temporal.hh, temporal.cc
466 (class TemporalNegotiator,
467 TemporalNegotiator::createNegotiationCommunicator,
468 TemporalNegotiator::~TemporalNegotiator): Keep handles to MPI
469 groups throughout communication.
470
471 * runtime.cc (Runtime::finalize): Call Connector::freeIntercomm
472 (); Include a barrier call to make freeing work under OpenMPI.
473
474 * music/connector.hh, connector.cc (Connector::freeIntercomm): New
475 member function.
476
477 2009-03-12 Mikael Djurfeldt <[email protected]>
478
479 * Release 1.0.2
480
481 * version.cc: Updated to version 1.0.2.
482
483 2009-03-11 Mikael Djurfeldt <[email protected]>
484
485 * setup.cc: Conditionally delete temporalNegotiator.
486
487 * music/port.hh
488 (OutputRedistributionPort::OutputRedistributionPort,
489 InputRedistributionPort::InputRedistributionPort): New
490 constructors: Initialize spatialNegotiator to NULL pointer.
491
492 * port.cc (OutputRedistributionPort::setupCleanup,
493 InputRedistributionPort::setupCleanup): Conditionally delete
494 spatialNegotiator. (It has not been allocated if the port has not
495 been mapped.)
496
497 * music/BIFO.hh, music/clock.hh, music/connector.hh,
498 music/subconnector.hh, music/synchronizer.hh, music/temporal.hh,
499 BIFO.cc, clock.cc, connector.cc, port.cc, runtime.cc,
500 subconnector.cc, synchronizer.cc, temporal.cc: Major revision of
501 timing logic. Cont ports can now be connected in loops.
502
503 2009-03-09 Mikael Djurfeldt <[email protected]>
504
505 * synchronizer.cc (Synchronizer::setMaxDelay (ClockState)): Moved
506 decrementing of localTime to Runtime::initialize.
507 (Synchronizer::setMaxDelay (ClockState, Clock&)): Use
508 Clock::setClockTicks to set startTime. (setMaxDelay may be called
509 multiple times.)
510
511 * runtime.cc (Runtime::initialize): Decrement localTime one tick
512 here.
513
514 * music/temporal.hh, temporal.cc
515 (TemporalNegotiator::distributeParameters): New function.
516
517 * collector.cc: Collector shouldn't make assumptions and compute a
518 "better" maxBlockSize-value for the buffers. Instead use
519 allowedBuffered as given when configured.
520
521 * connector.cc: Configure compute the actual needed buffer size
522 here instead.
523
524 * music/clock.hh, clock.cc (Clock::setClockTicks): New function.
525
526 * BIFO.cc (BFIO::trimBlock): More informative overflow message.
527
528 2009-03-08 Mikael Djurfeldt <[email protected]>
529
530 * synchronizer.cc, port.cc, music/temporal.hh: Decrement
531 maxBuffered at the proper place. (This fixes a bug where the loop
532 algorithm worked on different parameters than the timing schedule
533 algorithm.)
534
535 * music/debug.hh (MUSIC_LOGBR): New debug macro.
536
537 * synchronizer.cc: Inserted some debugging statements.
538
539 * port.cc (OutputRedistributionPort::setupCleanup,
540 InputRedistributionPort::setupCleanup): Delete spatialNegotiator
541 at end of setup phase.
542
543 * music/connector.hh, connector.cc, runtime.cc: Resolve a memory
544 allocation problem so that we leak less memory.
545
546 * port.cc (ContInputPort::mapImpl): Don't call assertInput ()
547 here.
548
549 * music/error.hh, music/port.hh, music/runtime.hh, music/setup.hh,
550 error.cc, port.cc, runtime.cc, setup.cc (Setup::Setup,
551 Runtime::Runtime, Port::map): Added error messages when trying to
552 call repeatedly.
553
554 2009-03-08 Mikael Djurfeldt <[email protected]>
555
556 * Release 1.0.1
557
558 * music/connector.hh, music/port.hh, music/spatial.hh,
559 music/subconnector.hh, music/temporal.hh, configuration.cc,
560 connector.cc, port.cc, spatial.cc, subconnector.cc, temporal.cc:
561 Pass MPI::Datatype to ContSubconnectors; Some code cleanups.
562
563 2009-03-06 Mikael Djurfeldt <[email protected]>
564
565 * music/synchronizer.hh, synchronizer.cc, connector.cc: Removed
566 some old cruft in timing logic.
567
568 * sampler.cc: #include <cstring>
569
570 * setup.cc (Setup::publishMessageInput,
571 Setup::publishMessageOutput): Added.
572
573 * Makefile.am: Link shared library against MPI.
574
575 * music/port.hh, port.cc: Bugfixed error reporting.
576
577 * Makefile.am: Don't accept unresolved symbols in the shared library.
578
579 * music/version.hh, version.cc: New files.
580
581 * Makefile.am: Added ditto.
582
583 * Makefile.am: Set shared library version 1.0.0. (Note that this
584 version number follows different rules than the MUSIC version.)
585
586 * port.cc (Port::assertOutput, Port::assertInput, Port::hasWidth,
587 Port::width): Supply port name in error messages.
588
589 * connectivity.cc (Connectivity::add): Pass port name to
590 ConnectivityInfo constructor.
591
592 * music/connectivity.hh (ConnectivityInfo): Added portName (to be
593 used for more comprehensible error messages).
594
595 2009-03-05 Mikael Djurfeldt <[email protected]>
596
597 * setup.hh (class Setup): Hide internal API as private.
598
599 * music/connector.hh, music/runtime.hh, music/setup.hh,
600 music/spatial.hh, music/subconnector.hh, music/temporal.hh,
601 connector.cc, port.cc, runtime.cc, setup.cc, spatial.cc,
602 subconnector.cc, synchronizer.cc, temporal.cc: Begin to reorganize
603 connectors so that functionality for setup and not needed during
604 runtime is moved to the new class Connection.
605
606 * music/connection.hh, connection.cc: New files.
607
608 * Makefile.am: Updated.
609
610 * music/temporal.hh, temporal.cc (ConnectionEdge): Renamed from
611 "Connection".
612
613 2009-03-03 Mikael Djurfeldt <[email protected]>
614
615 * Release 1.0
616
617 2009-02-27 Mikael Djurfeldt <[email protected]>
618
619 * ChangeLog, Makefile.am, music/FIBO.hh, music/array_data.hh,
620 music/clock.hh, music/connector.hh, music/data_map.hh,
621 music/event.hh, music/interval.hh, music/port.hh,
622 music/runtime.hh, music/spatial.hh, music/subconnector.hh,
623 music/synchronizer.hh, music/temporal.hh, FIBO.cc, array_data.cc,
624 clock.cc, connector.cc, port.cc, runtime.cc, spatial.cc,
625 subconnector.cc, synchronizer.cc, temporal.cc: Continous data port
626 framework.
627
628 * music/BIFO.hh, music/collector.hh, music/distributor.hh,
629 music/sampler.hh, BIFO.cc, collector.cc, distributor.cc,
630 sampler.cc: New files.
631
632 2009-02-16 Mikael Djurfeldt <[email protected]>
633
634 * Makefile.am (libmusic_la_SOURCES): Added distributor.cc,
635 music/distributor.cc, collector.cc, music/collector.hh.
636
637 * music/spatial.hh, spatial.cc: Added destructor which destroys
638 indices.
639
640 * setup.cc, runtime.cc: Pass connectors even if not launched using
641 the music utility.
642
643 2009-02-11 Mikael Djurfeldt <[email protected]>
644
645 * music-c.h, music-c-c.c, music-c.cc (MUSIC_setupCommunicator):
646 Declare properly and don't use MPI_Intracomm.
647
648 2009-02-09 Mikael Djurfeldt <[email protected]>
649
650 * music/subconnector.hh,
651 subconnector.cc (InputSubconnector::flushed): Bugfix: Initialize.
652
653 * error.cc, music/error.hh (error0): Report errors only from MPI
654 process rank 0.
655
656 * music/temporal.hh, temporal.cc: Implemented distribution of
657 allowed buffering using a loop detection algorithm.
658
659 2009-02-08 Mikael Djurfeldt <[email protected]>
660
661 * FIBO.cc, connector.cc, music/FIBO.hh, music/connector.hh,
662 music/event.hh, music/runtime.hh, music/subconnector.hh,
663 music/synchronizer.hh, runtime.cc, subconnector.cc,
664 synchronizer.cc: Flush buffers at MUSIC::finalize.
665
666 2009-02-06 Mikael Djurfeldt <[email protected]>
667
668 * music/connector.hh, music/spatial.hh, music/synchronizer.hh,
669 music/temporal.hh, port.cc, spatial.cc, synchronizer.cc,
670 temporal.cc: Compute default maxBuffered value based on
671 temporal.hh:DEFAULT_PACKET_SIZE.
672
673 2009-02-05 Mikael Djurfeldt <[email protected]>
674
675 * music/setup.hh, music/synchronizer.hh, music/temporal.hh,
676 runtime.cc, setup.cc, temporal.cc: Bugfix: Convert accLatency to
677 ClockStateT.
678
679 * clock.cc, connectivity.cc, connector.cc, music/clock.hh,
680 music/connectivity.hh, music/connector.hh, music/debug.hh,
681 music/runtime.hh, music/setup.hh, music/synchronizer.hh,
682 music/temporal.hh, runtime.cc, setup.cc, spatial.cc,
683 synchronizer.cc, temporal.cc: Timing for applications with
684 different inter-tick-intervals may now work.
685
686 2009-01-27 Mikael Djurfeldt <[email protected]>
687
688 * clock.cc, connector.cc, music/clock.hh, music/connector.hh,
689 music/runtime.hh, music/setup.hh, music/synchronizer.hh,
690 music/temporal.hh, port.cc, runtime.cc, setup.cc, subconnector.cc,
691 synchronizer.cc, temporal.cc: First steps of the timing algorithm.
692
693 2008-12-02 Mikael Djurfeldt <[email protected]>
694
695 * Switch to CamelCase.
696
697 2008-11-05 Mikael Djurfeldt <[email protected]>
698
699 * music/interval_tree.hh: Bugfix: Compute the size of the binary
700 tree correctly.
701
702 2008-11-04 Mikael Djurfeldt <[email protected]>
703
704 * music/connectivity.hh, connectivity.cc: Modified
705 connectivity_map to use indices rather than pointers (which cause
706 problems when the vector of connections is resized).
707
708 * music/debug.hh: New file.
709
710 2008-11-03 Mikael Djurfeldt <[email protected]>
711
712 * FIBO.cc (FIBO::FIBO, FIBO::grow): Bugfix: Use resize instead of
713 reserve on buffer vector, otherwise old elements are not
714 guaranteed to be copied.
715
716 * music/event.hh (event::event): New constructor.
717 (event::operator<): New operator.
718
719 * port.cc (port::has_width, port::width): Added some error
720 checking.
721
722 * music/spatial.hh,
723 spatial.cc (spatial_negotiator::wrap_intervals): Compute local
724 offset differently depending on index::type argument.
725
726 * music/index_map.hh (index_interval::set_local): New member
727 function.
728
729 * linear_index.cc, permutation_index.cc: Correctly compute local
730 index offset.
731
732 * configuration (configuration::configuration,
733 configuration::~configuration): Create and delete application_map
734 and connectivity also when not launched under music.
735
736 * event_router.cc (event_router::insert_event): Always subtract
737 local offset (not subtracting requires that all offsets are zero
738 which only happens either if both sides use global indices or if
739 both sides use local indices which even out).
740
741 2008-10-31 Mikael Djurfeldt <[email protected]>
742
743 * music/spatial.hh, spatial.cc (negotiate_width): Error check
744 width.
745
746 * music/event_router.hh (inserter_global): Offsets are negative
747 due to the spatial negotiation algorithm.
748
749 * music/spatial.hh, spatial.cc (intersect_to_buffers): New
750 implementation which allows index_maps for different MPI processes
751 to overlap. The new algorithm is O (NP^2) where N is the number of
752 indices and P the number of processes. (The old one was O (N).)
753
754 * music/permutation_index.hh, permutation_index.cc: Implemented.
755
756 * music/index_map.hh (index_map): Use value semantics (so that we
757 can copy the position by copying the iterator).
758
759 * music/linear_index.hh (linear_index): Ditto.
760
761 2008-10-30 Mikael Djurfeldt <[email protected]>
762
763 * spatial.cc: Bugfix: Changed MPI::INTEGER (Fortran) -> MPI::INT
764
765 * spatial.hh (TRANSMITTED_INTERVALS_MAX): New constant.
766
767 * spatial.cc (spatial_negotiator::send,
768 spatial_negotiator::receive): Allow transmission of an arbitrary
769 number of spatial negotiation intervals.
770
771 * subconnector.hh (SPIKE_BUFFER_MAX): New constant.
772
773 * subconnector.cc (event_output_subconnector::send,
774 event_input_subconnector_global, event_input_subconnector_local):
775 Allow transmission of an arbitrary number of spikes.
776
777 * spatial.cc (spatial_output_negotiator::negotiate): Bugfix: Use
778 remote_n_proc instead of n_processes when sending to remote side.
779
780 * music/application_map.hh, application_map.cc, index_map.cc,
781 music/interval.hh, music/interval_tree.hh, music/ioutils.hh,
782 ioutils.cc, music/spatial.hh, spatial.cc, music/subconnector.hh,
783 subconnector.cc, music/temporal.hh, temporal.cc: New files.
784
785 * Changes throughout to implement propagation of configuration
786 information and routing of spikes.
787
788 2008-10-16 Mikael Djurfeldt <[email protected]>
789
790 * music/FIBO.hh (FIBO::buffer): Bugfix: Changed to vector of char
791 instead of char*.
792
793 2008-10-14 Mikael Djurfeldt <[email protected]>
794
795 * music/port.hh, port.cc (port::is_connected): Make sure this
796 method works also in the runtime phase.
797
798 2008-10-13 Mikael Djurfeldt <[email protected]>
799
800 * Makefile.am, music/FIBO.hh, FIBO.cc, clock.cc,
801 music/configuration.hh, configuration.cc, music/connector.hh,
802 connector.cc, music/event_router.hh, event_router.cc,
803 music/port.hh, port.cc, music/runtime.hh, runtime.cc,
804 music/setup.hh, setup.cc, synchronizer.cc: A first, cheating,
805 approximation of the implementation of spike communication. Will
806 be followed by cleanups and real implementation. The present
807 implementation only allows two applications with an output and
808 input port respectively. The ports have a constant width given in
809 ports.hh and the sender and receiver application must have equal
810 number of MPI processes.
811
812 * music/connectivity.hh, connectivity.cc: New files.
813
814 2008-10-10 Mikael Djurfeldt <[email protected]>
815
816 * music/index_map.hh (local_index::local_index,
817 local_index::local_index): New constructor.
818
819 * music-c.h, music-c.cc (MUSIC_event_input_port_map_global_index,
820 MUSIC_event_input_port_map_local_index): Replacing
821 MUSIC_event_input_port_map.
822
823 * music/port.hh (event_input_port): Added facilities to support C
824 interface.
825
826 * music/port.hh, port.cc (event_input_port::map): Take
827 event_handler_global_index and event_handler_local_index instead
828 of event_handler in second argument.
829
830 * music/event.hh (event_handler_global_index,
831 event_handler_local_index): New classes which replace
832 event_handler.
833
834 * music/port.hh, port.cc (insert_event): Replaced old method with
835 two new, one with a second argument local_index, and an overloaded
836 version with global_index.
837
838 * music/index_map.hh (global_index, local_index): New classes.
839
840 2008-10-09 Mikael Djurfeldt <[email protected]>
841
842 * music/event_data.hh, music/message_data.hh: Removed.
843
844 * music/event.hh (event_handler::operator ()): Made virtual and
845 corrected arguments to adhere to RFC.
846
847 * port.cc (event_output_port::insert_event): Send spikes to event
848 router.
849
850 * Makefile.am (libmusic_la_SOURCES): Added event_router.cc,
851 music/event_router.hh
852
853 * music/event_router, event_router.cc: New files.
854
855 2008-10-08 Mikael Djurfeldt <[email protected]>
856
857 * runtime.cc (runtime::runtime): Initialize my_communicator and
858 schedule.
859
860 * music/connector.hh, connector.cc: Connectors take over the role
861 of subconnectors.
862
863 2008-10-06 Mikael Djurfeldt <[email protected]>
864
865 * music/port.hh, port.cc (event_output_port::insert_event): New method.
866
867 2008-09-23 Mikael Djurfeldt <[email protected]>
868
869 * setup.cc (setup::setup): Compile use of MPI::Init_thread
870 conditionally.
871
872 * music-c.cc: #include <ctsring>.
873
874 2007-11-26 Mikael Djurfeldt <[email protected]>
875
876 * Makefile.am (libmusic_la_SOURCES): Added music/spike_data.hh,
877 spike_data.cc.
878
879 * spike_data.cc: New file.
880
881 2007-11-23 Mikael Djurfeldt <[email protected]>
882
883 * music/spike_data.hh: New file.
884
885 * music/setup.hh (setup::publish): Removed
886 (setup::publish_input, setup::publish_output): New methods.
887
888 * music/array_data.hh, music/data_map.hh, music/index_map.hh,
889 music/linear_index.hh: Added copyright notice + #ifdef logic.
890
891 * music/array_data.hh (array_data::array_data): Data type argument
892 moved first; added new constructor for linear arrays.
893
894 * Makefile.am: Added music/port.hh, port.cc.
895
896 * music/port.hh, port.cc: New files.
897
898 * music/runtime.hh (runtime::input_ports, runtime::output_ports):
899 New members.
900
901 2007-11-08 Mikael Djurfeldt <[email protected]>
902
903 * configuration.cc (configuration::configuration): Handle dirct
904 launch by mpirun.
905
906 * music/configuration.hh (setup::launched_by_music): New method.
907
908 * music/configuration.hh (setup::_launched_by_music): New private
909 member.
910
911 * music/setup.hh, setup.cc (setup::my_communicator): Renamed from
912 myCommunicator.
913
914 * parse.cc (parser::parse_string, parser::next_arg): Use int
915 instead of char to handle characters.
916
917 * configuration.cc (configuration::configuration,
918 configuration::tap): Use int instead of char to handle
919 characters.
920
921 2007-11-02 Mikael Djurfeldt <[email protected]>
922
923 * music/setup.hh, music/parse.hh: Don't #include
924 <music/application_map.hh>.
925
926 * music/setup.hh: #include <music/configuration.hh>.
927
928 2007-11-01 Mikael Djurfeldt <[email protected]>
929
930 * music/error.hh, error.cc: Added.
931
932 * music/parse.hh, parse.cc: Moved here from utils subdirectory.
933
934 * music/configuration.hh, condiguration.cc
935 (configuration::configuration, configuration::lookup,
936 configuration::write_env,
937 configuration::insert, configuration::color): New methods.
938
939 * music/application_map.hh, application_map.cc: Moved to utils
940 subdirectory.
941
942 * Makefile.am (libmusic_la_SOURCES): Removed
943 music/application_map.hh, application_map.cc; Added
944 music/parse.hh, parse.cc.
945
946 * music/setup.hh, setup.cc: Rewritten.
947
948 2007-10-26 Örjan Ekeberg <[email protected]>
949
950 * runtime.cc, music/runtime.hh: Use type Intracomm for communicator.
951
952 2007-10-25 Mikael Djurfeldt <[email protected]>
953
954 * Makefile.am: Added configuration.cc, music/configuration.hh,
955 application_map.cc music/application_map.hh.
956
957 * application_map.cc, music/application_map.hh: New files.
958
959 * configuration.cc, music/configuration.hh: New files.
960
961 2007-10-23 Mikael Djurfeldt <[email protected]>
962
963 * music/setup.hh, setup.cc (setup::config_string): Renamed from
964 config_get_string.
965 (setup::config_int): Renamed from config_get_int.
966 (setup::config_double): Renamed from config_get_double.
967
968 2007-10-19 Örjan Ekeberg <[email protected]>
969
970 * music/runtime.hh, runtime.cc, music/setup.hh, setup.cc:
971 Replace C MPI calls to their equivalent C++ versions.
972
973 2007-10-19 Mikael Djurfeldt <[email protected]>
974
975 * music/setup.hh, setup.cc (setup::config_get_string,
976 setup::config_get_int, setup::config_get_double, setup::is_port,
977 setup::port_size): New methods.
978
979 * array_data.cc, music/array_data.hh: Renamed from arraydata.cc,
980 music/arraydata.hh.
981
982 * linear_index.cc, music/linear_index.hh: Renamed from
983 linearindex.cc, music/linearindex.hh.
984
985 * arraydata.cc, linearindex.cc, music/arraydata.hh,
986 music/linearindex.hh, music/setup.hh (array_data, linear_index):
987 Renamed from arraydata and linearindex everywhere.
988
989 * Makefile.am (libmusic_la_SOURCES): Added linear_index.cc,
990 music/linear_index.hh music/index_map.hh mysic/array_data.hh
991 array_data.cc music/array_data.hh.
992 (musicinclude_HEADERS): Added music/index_map.hh music/data_map.hh
993 music/linear_index.hh music/array_data.hh.
994
995 2007-10-19 Örjan Ekeberg <[email protected]>
996
997 * Makefile.am, music/arraydata.hh, music/data_map.hh,
998 music/index_map.hh, music/linearindex.hh, arraydata.cc,
999 linearindex.cc: Added abstraction classes for data indexing.
1000
1001 * music/setup.hh, setup.cc: Added publish method.
1002 Add communicator access method (duplication from runtime).
1003
1004 2007-09-13 Mikael Djurfeldt <[email protected]>
1005
1006 * runtime.cc, setup.cc: Rewritten.
1007
1008 * Makefile.am, music/setup.hh, music/runtime.hh: New files.
1009
1010 * music.hh: Rewritten to include header files under the music
1011 directory.
1012
1013 2007-08-17 orjan <[email protected]>
1014
1015 * music.hh (MUSIC): Add binding routines
1016
1017 2007-08-17 Mikael Djurfeldt <[email protected]>
1018
1019 * Bong!
1020