Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
oups, that comment were in french
[simgrid.git] / ChangeLog
1 SimGrid (3.7) NOT RELEASED; urgency=low 
2
3   Models:
4   * Use the partial invalidation optimization by default for the
5     network too. Should produce the exact same results, only faster.
6
7   SimDag:
8   * Performance boost by using a swag internally to compute the set of
9     tasks that are finished and should constitute the return value of
10     SD_simulate.
11
12   -- $date Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
13
14 SimGrid (3.6.2) stable; urgency=low 
15
16  The "Not coding new stuff allows to polish old things" release.
17
18  General
19  * New bindings to the NS3 packet level simulator (experimental)
20  * Use the raw (efficient) execution contextes instead of the sysv
21    (portable) ones when possible.
22  * libpcre is now mandatory in any cases since not using it led to
23     severe performance loss and possibly other issues
24  * Update the XML platforms:
25    - G5K: include the lastest machine in Nancy 
26    - GridPP and LCG: new platforms
27  * Documentation was partially updated, at least (more to come)
28    
29  Bug fixes, cosmetics and small improvements
30  * Free terminated processes before the end of the simulation to avoid
31    exhausting the memory of users having very dynamic amount of
32    processes.
33  * Bug fix and cosmetics about canceling non-running tasks
34  * Bug fix about the dot loader's issues when using libcgraph
35
36  Portability
37  * Create an installer for windows with nsis (amd64 and win32)
38    - Add an hello world project to illustrate simgrid project creation.
39    - Embed libpcre into the Simgrid installer to avoid 
40      its compilation burden 
41  * The raw execution contextes should work on Apple now
42  * Port to Windows 64 bits
43     - Sysv contextes now have an implementation for this arch
44     - GRAS communication features now support this arch
45  * Drop support for borland compiler on windows
46     - this code was not maintained, and we kinda depend on gcc nowadays
47  * Fix portability issues on kfreebsd/gnu: build error about semaphores
48  * Fix portability issue on unstable ubuntu: linker became picky on
49    argument order
50
51  -- Wed Oct  5 15:51:01 CEST 2011 Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
52
53
54 SimGrid (3.6.1) stable; urgency=low 
55
56  The "Oops, we broke Macs too" release
57
58  Portability
59  * Fixed contextes detection so that raw ones are used when possible   
60  * On Mac, do not use Posix Ucontextes with gcc v4.[1-5] since this
61    leads to a strange error, with user code segfaulting sometimes when
62    the generated code is not perfectly aligned (which is not
63    controlable from the user side, depends on the amount of code)
64
65  XBT
66  * New macro: CATCH_ANONYMOUS, which is like CATCH(e) but without argument.
67
68  -- Mon Jun 27 13:59:03 CEST 2011 Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
69
70 SimGrid (3.6) stable; urgency=medium
71
72  The Summer Release, also known as the "OMG! They Killed Kenny!" version
73
74  Java and Ruby: 
75  * Bindings now constitute their own package, separated from the main one.
76    Rationale: reduce our maintainance nightmare by reducing the module coupling
77    They will soon be released on their own on gforge. 
78  * In the meanwhile:
79    svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java
80    svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-ruby
81  
82  GRAS: It is not considered as stable anymore, but experimental. Sorry.
83  * It's not quite deprecated for now because we have no replacement,
84    but it may soon become the case.
85
86  SMPI
87  * New MPI functions supported: MPI_Comm_disconnect, MPI_Comm_get_name
88  * Fortran: New user-level cache variable to store the rank of the running
89    process. This improves performance by an order of magnitude.
90  * C: New coccinelle script to automatically locate and modifiy global and
91    local static variables.
92  * Improved SMPI network model with a sender-side gap to account for multiple
93    parallel sends.
94
95  MSG
96  * New function MSG_comm_get_status(). MSG_comm_test() and MSG_comm_testany()
97    only say if a communication is finished, no matter whether it succeeded or
98    failed. You can call MSG_comm_get_status() to know the status of a finished
99    communication.
100  * New function MSG_task_dsend() to send a task and detach it. When a
101    communication is detached, you are never notified of its success or failure
102    and the memory is released automatically once it is finished. This function
103    is useful when you don't care about the end nor the success of a
104    communication.
105  * Change the prototypes of action replay. Sorry for inconvenience,
106    but this is really more efficient this way (and to adapt your code,
107    you just have to fix the initialization, that shouldn't be too long)
108  * Kill the braindead MSG_task_refcount_dec() function. I guess nobody
109    ever managed to do anything useful with it.
110  * New function MSG_comm_testany(). Similarly to MSG_comm_waitany(), it
111    takes a dynar of communications. It returns immediately and gives the
112    index of a finished communication (if any).
113  * New example: a basic implementation of the Chord P2P algorithm.
114
115  SURF
116  * New model for multi-core CPUs. You can now use the core attribute to
117    precise the number of cores of a host. This is a basic model. Every
118    process running on the host receives at most the power provided in
119    the DTD (throughput<=power). Total throughput of process cannot exceed
120    power * num_cores.
121  * New peer tag. This peer tag creates a tiny AS comprising a host and a
122    router linked by an up-link and a down-link (possibly asymmetrical).
123    This kind of pattern allows to easily build last-mile model style platforms.
124    Aggregating such patterns in a rule-based AS is thus the technique of
125    choice for modeling large peer-to-peer/volunteer computing/cloud platforms.
126  * New model for Vivaldi routing. We transformed the Vivaldi network model
127    into a Vivaldi routing model (based on the rule-based model). This allows to
128    combine Vivaldi based latencies with last-mile platforms.
129
130  SIMIX
131  * Added a check for NaN of IEEE754 infinite in the double entries of 
132    the smx_user.c file
133  * Introduce a new context factory "raw", highly inspirated from the
134    ucontext factory, but using manually crafted functions in assembly to
135    do the work in an efficient manner.
136  * Allow to change the used context factory at run time, not only at
137    compilation time. Use --cfg=contexts/factory:raw for maximal speed.
138  * Add an option --cfg=contexts/stacksize:N to set the stack size of the user
139    contextes at runtime (only with raw contexts or ucontexts).
140  * Completely rewrote this module to allow parallel execution of user
141    processes. Use --cfg=contexts/nthreads:N to execute user processes
142    with N parallel threads (the default is 1, meaning no parallelism).
143  * Allow to decide dynamically between sequential and parallel modes.
144    When nthreads > 1, you can use --cfg=contexts/threshold:P to run the user
145    processes in parallel only when their number is greater than or equal to P
146    (the default is 2).
147  * Added a check for NaN of IEEE754 infinite in the double entries of 
148    the smx_user.c file
149
150  XBT
151  * New command line option: if you pass --cfg=verbose-exit:0, SimGrid
152    won't output the state of processes when interrupted with Ctrl-C
153  * Add a new function xbt_dynar_to_array that transforms a dynar into a
154    NULL-terminated array. This may solve backward compatibility issues
155    due to the change to return type of SD_simulate. See also:
156    http://lists.gforge.inria.fr/pipermail/simgrid-user/2010-December/002206.html
157  * Add new macros with variable number of arguments.
158    - in xbt/log.h: XBT_DEBUG, XBT_VERB, XBT_INFO, etc.
159    - in xbt/asserts.h: xbt_assert
160    - in xbt/cunit.h: xbt_test_{add,fail,assert,log}
161    - in xbt/ex.h: THROWF and RETHROWF.
162    Define XBT_USE_DEPRECATED if you want to use the old numbered macros like
163    INFO1, INFO2, etc.
164  * Change xbt_die() to accept a format string with arguments, just like printf.
165  * New data structure: xbt_lib_t, like a dict but more general and with better
166    memory handling.
167
168  INSTR
169  * New configuration options
170    Options triva/categorized and triva/uncategorized can be used to generate
171    graph configuration files for Triva visualization tool.
172  * Configuration option tracing/platform is renamed to tracing/categorized
173  * XBT logging makes tracing error checks easier, new root log hierarchy: instr
174  * New TRACE_user_link_variable interface:
175    User provides the name of the link and the tracing variable to attach to it
176  * the declaration of tracing categories must be done after the environment
177    creation
178  * simpler tracing interface, just one way to declare categories
179     TRACE_category or TRACE_category_with_color, it is up to you
180  * links in the trace file are again identified by their names
181  * trace contains the full platform hierarchy exactly as declared using the ASes
182  * Options tracing/msg/[task|process]:1 groups the process by hosts
183    for both cases, tasks and processes must have names that are unique during the simulation
184    these options generate traces that are suited to gantt-charts, such as the space-time view of Paje
185  * The experimental option tracing/msg/volume is deprecated
186    its functionality may be reincorporated if needed
187  * Buffering
188    The tracing generates a trace file with unordered timestamped events,
189    because of the way the core simulator (surf) works. A script available
190    at the tools directory (fix-paje-trace.sh) can be used to put the events
191    in order. We have changed the tracing so it can generate ordered timestamped
192    events in the final trace, but depending on the simulator (and how much time
193    is simulated) that can lead to a huge memory utilization. It is desactivated 
194    by default, but it can be activated using the --cfg=tracing/buffer:1 switch.
195    
196  Build Infrastructure
197  * Define a SIMGRID_VERSION macro in simgrid_config.h.
198    - We are trying hard to keep the API stable, but it may happen that
199      some things change (we're a research project after all, not a
200      nuclear plant operating system). If such things should happen, you
201      could rely on that macro to adapt.
202    - current value: 30600 for 3.06.00, aka 3.6
203  * Define macro MAKE_SIMGRID_VERSION(major, minor, patch) to help building
204    a number that can be compared with SIMGRID_VERSION.
205  * Add a build option -Denable_debug (set to ON by default): when set to OFF,
206    assertions and verbose/debug logging events are disabled at compile time.
207
208  -- Tue Jun 21 08:57:43 CEST 2011 Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
209
210 SimGrid (3.5) stable; urgency=medium
211
212  Model Checking
213  * New feature to any SimGrid-based simulator: Model-Checking
214    Check SIN#1 for more details.
215
216  SMPI
217  * New Model SMPI (three-interval linear regression for correction factors)
218    See RR-7426, available at http://hal.inria.fr/inria-00527150
219  * Ability to use FORTRAN MPI code (through f2c, automatically privatized)
220  * New MPI functions supported: MPI_Get_count(), MPI_Comm_split()
221  * New: RAM folding (see RR-7426 and examples/smpi/NAS/DT-folding)
222  * New: execution sampling (see RR-7426 and examples/smpi/NAS/EP-sampling)
223  * See also src/smpi/README
224
225  Tracing:
226  Tracing:
227  * Tracing system
228    - Tracing API changes: TRACE_start and TRACE_end should not be called
229      by user-code. They are automatically called by simulators created
230      with SimDAG, MSG and SMPI if the toolkit is compiled with
231      tracing_enabled=ON. Categories declaration and utilization remain the
232      same for MSG and SimDag.
233    - A function was added to the tracing API to declare categories with
234      colors:
235         - TRACE_category_with_color (char *category, char *color)
236                 where color must be in the following format
237                     "%f %f %f", red, green, blue
238                 and red, green, blue are float values in the interval [0, 1]
239         - User can specify NULL as color parameter, or continue calling
240             TRACE_category (cat)
241           On that case, the tracing system will define random colors
242    - The following command-line options are supported:
243         --cfg=tracing/filename:msg.trace
244         --cfg=tracing:1               (activate tracing, needed to use others)
245         --cfg=tracing/platform:1      (categorized resource use)
246         --cfg=tracing/uncategorized:1 (uncategorized resource use)
247         --cfg=tracing/msg/task:1      (task creation)
248         --cfg=tracing/msg/process:1   (process creation, migration)
249         --cfg=tracing/msg/volume:1    (volume of MSG send/recv)
250         --cfg=tracing/smpi:1          (SMPI interface tracing)
251         --cfg=tracing/simdag:1        (allow SimDAG tasks receive categories)
252    - examples of examples/msg/tracing updated
253  * Tracing SimDag
254    - DAXLoader and DOTLoader functions can generate tasks with categories
255    - A new function to attribute a category to SD tasks:
256         TRACE_sd_set_task_category (SD_task_t task, char *category)
257  * Tracing the MPI interface implemented by SMPI
258    - Collective operations are traced with states
259    - Point-to-Point operations are traced with states/links
260    - Tracing activated by a parameter "-trace filename" passed
261      to smpirun during execution (considering that simgrid
262      is compiled with tracing enabled)
263    - To run the simulation with gdb, the simulator
264      accepts --cfg=tracing/smpi:1 to trace SMPI
265    - tesh files to check if smpi tracing is ok
266    - See examples/smpi/NAS/DT-trace
267  * GTNetS tracing re-worked
268    - adaptation to the tracing system of GTNets to cope
269      with modifications regarding the fullduplex mode
270    - new tesh files to check if gtnets tracing is ok
271
272  MSG
273  * Asynchronous communications through the functions:
274    MSG_task_isend/irecv and MSG_comm_test/wait/waitall
275  * New function: MSG_load_platform_script()
276    to make possible using a lua script instead of XML files to set up platforms
277  * New function: MSG_set_function
278    to associate functions to processes, used when bypassing the parser
279  * New functions: MSG_task_set_name(), MSG_task_set_compute_duration()
280
281  Platforms: Add some more examples in examples/platforms
282  * Grid'5000: see www.grid5000.fr
283  * *_30000_hosts.xml: various huge files [mainly scalability testing]
284
285  SURF
286  * Change the XML format. This is a very important modification. SimGrid
287    3.5 introduces a new hierarchical format based on the notion of
288    Autonomous Systems. Compatibility with old format is ensured
289    through the perl script provided in the install bin directory
290    bin/simgrid_update_xml.
291    It is now possible to build platforms with specific routing
292    mechanism (Full/Dijkstra/DijkstraCache/Floyd) and to easily
293    connect several platforms together. We will try to provide soon
294    set of realistic platforms exploiting these properties (have a
295    look at examples/platforms/ for the moment).
296  * Take the opportunity of the XML format change to be a good XML citizen:
297    rename link:ctn to link_ctn and similar changes (also dealed with by
298    simgrid_update_xml)
299  * Add a new routing scheme (rule-based) using regular expressions. It
300    enables to have an extremely low memory footprint when the
301    underlying routing is simple and can be compactly described. You
302    need to have libpcre4-dev (perl regular expressions) installed if
303    you want to use this routing scheme.
304  * Revive the cluster TAG and allow to easily and efficiently (both in
305    term of memory and speed) connect clusters together. Have a look
306    at teshsuite/simdag/platforms/ to see how this can be done. With
307    this tag, you can create clusters with thousands of tasks at no
308    cost (have a look at examples/platforms/).
309    Note: clusters are implemented as ASes, so there is no need for an
310    enclosing AS tag if you have only one cluster in your platform.
311  * Add new generic functions in the public interface that allows the user
312    to call SURF 'create_resource' methods from your code (same
313    functionality as the XML bypass mechanism but with a much lighter
314    burden).
315  * Add a new model (enabled through command line --cfg=network/model:SMPI)
316    that uses a piecewise linear approximation to produce better
317    results when exchanging small messages.
318  * Add a new parameter to handle correctly full duplex link and account
319    for interferences between uplink and downlink communications
320    (activate with --cfg=fullduplex:1).
321
322  SIMDAG
323  * Rename the SD_READY (all dependencies are satisfied and task is
324    scheduled) state in SD_RUNNABLE and define a new SD_SCHEDULABLE (all
325    dependencies are satisfied) state.
326    This prevents a confusion between the notion of "ready to schedule"
327    (SD_SCHEDULABLE) used in DAG scheduling and that of "ready to be
328    simulated" (SD_RUNNABLE) used by the simulation kernel.
329  * Change the way a task is considered as ready. Instead of removing
330    dependencies when a task is done, a counter is decreased. This way,
331    it is always possible to reach ancestors thanks to the
332    SD_taks_get_parents function (even after the end of the simulation.)
333  * Change the return type of SD_Simulate from (SD_task_t*) into
334    xbt_dynar_t. This function was in handling a dynar internally and
335    converted it into a NULL terminated array for historical reasons.
336  * New function SD_dotload(char*) to load a DAG described in dot
337    format. This loader and the corresponding examples require the
338    installation of the graphviz library.
339  * Fix a bug in the management of tasks of size 0 in the surf network
340    models. This problem was only visible with SIMDAG and you should
341    thus disregard results produced with earlier versions if you
342    relied on this feature (some tasks were blocked because of this).
343  * Fix a bunch of stuff that prevented to use classical models with SIMDAG
344    even though your applications were doing only point-to-point
345    communications and sequential computations. Now you can really use any
346    model you want (of course, if you create real parallel tasks, which are
347    not implemented in most models beside ptaskL07, this will abort).
348  * Add an example that schedules a DAX on an heterogeneous platform
349    using a Min-Min strategy.
350  * New function SD_workstation_get_current_task() that returns the kind
351    of task currently running on a workstation in the sequential access
352    mode.
353  * Raise some warnings when unexecuted tasks remains at the end of the
354    simulation. This is usually caused by cycles in the DAG.
355
356  SIMIX
357  * New function: SIMIX_process_set_function() called by MSG_set_function
358  * Change the underlying waiting queue in semaphores so that a process
359    can wait on several of them simultaneously (as in waitany).
360  * Fix the way to handle tokens in semaphores so that all access patterns
361    work: {acquire, acquire_timeout, waitany} / {release, release_forever}.
362  * kill the dirty pimple SIMIX_message_sizes_output()
363    Please use (proper) visualization instead
364
365  XBT
366  * New data container: setset (set of sets of elements)
367  * New module: mmalloc (mapped malloc, allowing to have several
368    independent segments of malloc)
369  * New function: xbt_dict_cursor_set_data()
370  * New functions: xbt_dynar_sort(), xbt_dynar_compare()
371  * New function: xbt_dynar_is_empty()
372  * New function: xbt_fifo_get_last_item()
373  * Fix xbt_dynar_shrink(): use the right element size.
374  * Fix xbt_dynar_set*(): allow index larger than current size and memset 0
375    uninitialized areas during expand.
376  * Fix semaphores: previous implementation was severely broken.
377  * Use library init/fini functions for our initialization.
378    - you can use logs and other feature as soon as you want in your
379      code (even before the xbt_init / MSG_init)
380    - xbt_exit is now a no-op and produce a warning when used.
381
382  GRAS:
383  * Port GRAS to new SIMIX mechanisms. This allows gras users to
384    benefit from the latest improvement to the simulation kernel.
385  * Kill measurement sockets for now. If you rely on them, sorry. This
386    release is not for you. This feature will be reintroduced in the
387    future, but we cannot delay the release any further.
388  * New function: gras_msgtype_get_name().
389  * Implement gras_agent_spawn in RL too (the prototype changed a bit)
390  * Fix (at last) the pmm example: it should not randomly fail anymore.
391
392  Build chain: bug fixes and overall polishing
393  * Cmake is now stable enough. Hence, we killed the autotools.
394  * Port to windows ( TM :)
395  * Fix the 'make install' target.
396    No need to use 'make install-simgrid' anymore
397  * Introduce a 'make dist' target compiling a *source* archive
398    'make package' compiles a binary archive
399  * Compile java files only on need
400  * Add --cd and --setenv command line options to tesh
401  * Out of source builds are not fully supported yet, but we are close
402  * Enable supernovae and optimization flags by default for our users
403
404  LUA Bindings
405  * Add layer to set up environment directly from lua, without XML.
406  * The effect of gras_stub_generator can be achieved through
407    lua too (check examples/gras/console/ping_generator.lua)
408
409  -- Wed, 01 Dec 2010 22:09:23 +0100 Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
410
411 SimGrid (3.4.1) stable; urgency=low
412
413  The "Polishing easter eggs is probably a good idea" release.
414  This is a bug fixes release only.
415
416
417  Java Bindings
418  * Fix a bug preventing the tasks from begin garbage collected.
419
420  MSG
421  * Fix a bug occuring when a host involved in a communication fails.
422    This was not detected properly by the other peer involved in the
423    communication. Now, it's reported as a network error.
424
425  SimDag
426  * Warn the user about loop dependencies in data flow of DAX files
427  * Obey the control-flow dependencies of DAX files
428
429  Cmake
430  * Add option "enable_smpi" allowing to not compile SMPI.
431    Probably useful for the (Mac) users experiencing a build error here
432  * Improve the detection of lua5.1 and ruby1.8
433
434  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Tus, 04 May 2010 28 16:11:16 +0100
435
436 SimGrid (3.4) stable; urgency=low
437
438  The "Easter in Cargese" release. Also known as (major changes):
439
440   * the "se habla Java, Ruby 話せます, fala-se Lua (and deaf-friendly)"
441     ~> bindings were greatly improved
442     ~> new tracing infrastructure for better visualization introduced
443
444   * the "Welcome to configury modernity" release.
445     ~> we switched from autotools to cmake, and improved our cdash
446
447
448  A more detailled list of changes follow (full detail in svn log).
449
450  Java Bindings: Various Cleanups
451   * (install java-gcj-compat-dev on debian-like to use them)
452   * Remove put/get: no need to export deprecated interface in Java
453     Use send/receive instead.
454   * Cleanup the examples and add a README per directory
455   * Remove example autoDestination (that's the only way to go now)
456   * Remove example explicitDestination (was a plain copy of basic)
457   * Make JniException a runtime exception, so that there is no need to
458     declare the fact that you may encounter such a beast. I guess that
459     nobody will ever want to survive such error.
460   * Create specific errors for each MSG case of failure:
461     host failure, transfer failure, timeout, task cancelled
462   * Cleanup the exceptions that may get thrown by each function
463   * Other internal cleanups in Java bindings. Performance still bad :/
464  Ruby and Lua Bindings: create them
465   * (install ruby1.8-dev/liblua5.1-0-dev on debian-like to use them)
466   * That's new and great, you should try them out.
467     Same functionalities than Java bindings, only even less polished
468  SimDag:
469   * Kill the useless "rate" argument of SD_task_get_execution_time()
470     Everyone used to provide -1 as a value, it was not used, and the
471     semantic of a possible use wasn't even clear.
472   * SD_SCHED_NO_COST: Constant to use as cost in SD_task_schedule()
473     either as comm costs or compute costs to mean that there is no
474     such thing for that specific task.
475   * Add a SD_task_set_name() function
476   * Fix SD_task_unschedule() on typed tasks
477   * Fix SD_task_get_execution_time() to return seconds, not flop*sec
478   * In DAX loader, accept useless 'level' attributes to <job> since
479     LIGO DAGs have them (seem to be to ease graphical representation).
480  MSG:
481   * Add an example masterslave_mailbox.c using send/receive and not
482     the deprecated put/get interface.
483   * Kill the MSG_paje_output() function. It's a noop since 2 years.
484   * Kill MSG_WARNING and MSG_FATAL return codes: they were not used
485     anywere in source.
486   * Rename MSG_TIMEOUT_FAILURE into MSG_TIMEOUT for sake of logic
487     (declare MSG_USE_DEPRECATED to still have the old name)
488   * Add a MSG_task_set_data() function
489   * About trace replay (see examples/msg/actions):
490     - implement barrier
491     - Allow to work with splitted trace files for each process
492       Give the specific trace file as argument of each process,
493         and call MSG_action_trace_run(NULL)
494       You can still have one merged file for all processes.
495     - Fix implementation of collective operations
496   * Allow task_execute() on 0-sized tasks (closes #10063)
497  SMPI:
498   * This is the first release of SimGrid where SMPI is not considered
499     beta anymore (even if some corners should still be improved)
500   * Port over the new SIMIX_network submodule (internal refactoring)
501   * Basic support to log events as with SMPE (use --cfg=SMPE:1)
502   * Implement more missing elements of the standard:
503     - MPI_COMM_SELF
504     - MPI_MAXLOC MPI_MINLOC + all associated datatype MPI_DOUBLE_INT,
505       MPI_FLOAT_INT, etc.
506     - MPI_Address() MPI_Get_count() MPI_Type_free() MPI_Type_extent()
507       MPI_Scan() MPI_Get_processor_name()
508     - Added implementation of missing case for Alltoall (warning: it's
509       *not* the bruck variant from OpenMPI; based on Alltoallv instead)
510     - SMPI_MPI_Gather() SMPI_MPI_Gatherv() SMPI_MPI_Scatterv()
511       SMPI_MPI_Reduce_scatter() SMPI_MPI_Allgather()
512       SMPI_MPI_Allgatherv()
513   * Bug fixes include:
514     - MPI_Waitsome() was broken
515     - Allow relative includes in smpicc
516     - Command line cfg argument 'reference_speed' was ignored...
517     - Some functions did not properly lead to auto-benching of user code
518     - smpicc passes -O2 by default (just like openmpi one)
519  SIMIX:
520   * add SIMIX_action_suspend() and SIMIX_action_resume() functions
521   * Bug fixes about timeouts during communications
522   * add SIMIX_message_sizes_output() as a pimple to write to file the
523     amount of messages per size. Use gnuplot to get histogram.
524     Pimple because that's the only user-visible function of simix,
525      defined directly in xbt.h (irk, sorry)
526   * About semaphores:
527      - Add a SIMIX_sem_get_capacity() function
528      - Fix interactions with processe resume/suspende
529      - release_forever() was stupidly broken
530      - Fix SIMIX_display_process_status() for processes in a semaphore
531      - Make SIMIX_sem_block_onto() user-visible
532   * Refactoring context stuff:
533     - Use pseudo-OOP for better modularity
534     - reimplement SIMIX_process_kill() without process_schedule() so
535       that the latter can take as invariant that it is called from
536       maestro.
537     - Merge context_start into context_new for sake of simplicity
538  SURF:
539   * Add a Vivaldi network model, coded live during SUD'10 ;)
540   * Rename configuration variables to start a hierarchy:
541     o cpu_model -> cpu/model
542     o network_model -> network/model
543     o workstation_model -> workstation/model
544   * New configuration variables:
545     o network/bandwidth_factor: correction to bandwith
546     o network/latency_factor: correction to latency
547     o netwotk/weight_S: correction to the weight of competing streams
548   * Add a long description to the models, that users can see with such
549     argument on the command line: --cfg=cpu/model:help
550   * --help-models display the long description of all known models
551  XBT:
552   * config: add the ability to set a default value after registration
553     Does not override any previously set value (e.g. from cmd line)
554   * dict: allow to have integer key and data.
555     When so, you need to use the following functions
556      void xbt_dicti_set(xbt_dict_t dict, uintptr_t key, uintptr_t data);
557      uintptr_t xbt_dicti_get(xbt_dict_t dict, uintptr_t key);
558      void xbt_dicti_remove(xbt_dict_t dict, uintptr_t key);
559     In contrary to regular dicts, the key is not malloced before copy.
560     Mixing scalar and regular elements in the same dict is not tested
561       (but may work).
562   * Allow to use xbt_dynar_shrink() to expend the dynar instead
563  Tracing for Visualization:
564   * SimGrid is now instrumented in order to generate a trace file for
565     visualization analysis: to use it, need to compile SimGrid with the
566     "tracing" option enabled, and instrument the program using SimGrid with
567     TRACE_start, TRACE_category, TRACE_msg_set_task_category and TRACE_end
568     (among other functions).
569   * The instrumentation only traces the platform utilization for now
570   * Documentation to use the tracing functions and how to analyze the
571     traces with the Triva tool is written.
572   * More information about: SimGrid FAQ (in the section Tracing Simulations
573     for Visualization)
574  Build system:
575   * We moved to cmake as default build system. Autotools support will
576     be dropped soon. Check the FAQ for more info about how to use it.
577   * Greatly improved our cdash/ctest interactions
578     Check http://cdash.inria.fr/CDash/index.php?project=Simgrid
579   * Added memory checking tests with valgrind; lot of memleak fixing.
580     This may be the first release of simgrid with so few memory issues
581   * Added code coverage tests.
582     Our coverage is still improvable, but at least we see it on cdash.
583
584  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Wed, 28 Apr 2010 28 17:11:16 +0100
585
586 SimGrid (3.3.4) stable; urgency=low
587
588  The "Desktop Grid needs love too" release (also called Xmas release).
589
590  Models improvements:
591  * Major speedup in the maxmin system solving by using lazy evaluation
592    Instead of solving completely the maxmin system at each iteration,
593      only invalidate (and recompute) the modified parts.
594    This new feature is enabled in default models but you can try to
595      turn it on with "--cfg:maxmin-selective-update=1" for other models.
596  * Cas01 IMproved as default CPU model
597    This CPU model is the same Cas01 model, but it uses the
598      maxmin-selective-update flag and a heap structure to manage
599      actions on SURF kernel.
600    It reduces the complexity to find the next action to finish and,
601      consequently, it's faster than the old Cas01.
602    This is the new default CPU model (Cas01).
603  * Rename the old Cas01 model to Cas01_fullupdate
604    Keep the old cpu model Cas01 with the new name of Cas01_fullupdate.
605    Use "--cfg=cpu_model:Cas01_fullupdate" to use the old default CPU model.
606  * CpuTI (CPU Trace Integration)
607    A new CPU model whose objective is simulate faster when using
608      availability trace files.
609    Instead of using a full featured, over engineered maxmin system for
610      CPU modeling, this model does the pre-integration of traces files
611      to calculate the amount of CPU power available, and so, executes
612      faster than the old CPU models.
613    Use "--cfg=cpu_model:CpuTI" to change to this CPU model.
614  * Use LV08 as default network model since it gives better accuracy
615     for small messages and shouldn't change things for big ones.
616    Use --cfg=network_model:CM02 to get the previous behavior.
617
618
619          ******************************************
620          *DO NOT MIX 3.3.4 RESULTS WITH OLDER ONES*
621          ******************************************
622    * The new CPU model may changes simulations!
623      The point is that events occurring at the exact same timestamp
624         are not scheduled in the same order with the old and new
625         version. This may be enough to completely change the execution
626         of simulations in some cases.
627    * The new network model will change simulations!
628      This new model is more realistic than the previous one, so you
629        should consider redoing your old experiments with this model.
630      Sorry for the inconvenience.
631
632  Build System:
633  * Introduce the supernovae compilation mode
634    When compiled that way, the whole SimGrid (or almost) is put in a
635      single compilation unit and compiled in one shoot.
636   This is to help gcc which has difficulties to inline stuff from one
637      file into another.
638   The speedup seem to be above 15%, althrough more tests are needed on
639      amd64 to confirm that gain.
640
641  MSG:
642  * Port of MSG's mailbox on top of SIMIX network
643    The put/get mechanism was greatly simplified on the way.
644
645  SIMIX:
646  * New SIMIX network module. Provides:
647    - Mailbox: rendez-vous mecanism to find with who you want to speak
648    - Synchronous send/recv: easier and hopefully faster since the
649      logic is handled in the maestro process directly now
650    - Asynchronous send/recv: you dreamt of it? It's here now
651      Too bad that nobody cared enough to propagate the change to MSG.
652  * Add semaphores as SIMIX synchronization mechanism.
653
654  SimDag:
655  * new function SD_daxload(char*) to load a DAX file
656    (see http://vtcpc.isi.edu/pegasus/index.php/WorkflowGenerator)
657  * Introduce typed tasks. Specify its kind and cost at creation.
658    At scheduling, just give where it should be placed, and the cost
659    for each involved resource is automatically computed.
660    Existing constructors so far (more to come of course):
661     - SD_task_create_comm_e2e() for end-to-end communication
662     - SD_task_create_comp_seq() for sequential computation
663    Use SD_task_schedulev() / SD_task_schedulel() to schedule them.
664  * new function SD_task_dump() for debuging display
665  * new function SD_task_dotty(task,FILE*) writing to file the info
666    about the task in dotty format
667  * SD_task_dependency_exists() can now cope with having one of its
668    arguments NULL. If so, it tests whether the other argument has any
669    dependency.
670  * Add getters on list of preceding/following tasks:
671     SD_task_get_parents(task) and SD_task_get_children(task)
672  * Add getters on amount of workstations and list:
673     SD_task_get_workstation_count(t) and SD_task_get_workstation_list(t)
674  * Add getter on task kind: SD_task_get_kind(task)
675  * Update the start_time and finish_time of tasks on completion/failure
676  * Bugfix: Remove task from state swags when destroyed
677
678  GRAS:
679  * New function: void gras_cpu_burn(double flops) -- a simple CPU burner
680
681  XBT:
682  * New function: xbt_dynar_dopar(dynar,fun) to map a function over the
683    dynar with one separate thread per value of the dynar.
684  * Change the prototype of xbt_thread_create(), sorry.
685    Added a boolean parameter indicating whether we want to join this
686    thread (used in SG only for now)
687  * Implement xbt_thread_join and xbt_thread_yield in SG also.
688
689  Bug fixes:
690  * GTNetS wrappers should now be usable again (and betterly tested too)
691  * Fix a major regression from 3.2 where the timeout provided to
692    MSG_task_put_with_timeout() was used as absolute time before which
693    the comm should be done.
694  * Start to fix the <cluster> tag.
695    - Internal links should be good now (beside of the loopback, which
696      use the private link instead)
697    - paths to the external world is still rather broken
698    - the <route:multi> tag is just broken. Actually that's brain-dead.
699      We need sth like <route:multi src="myCluster" dst="$*-${myCluster}">
700      to make it less stupid
701    ** Check your platform with teshsuite/simdag/platforms/flatifier **
702  * Fix a source-level compatibility glitch from 3.2: after defining
703    MSG_USE_DEPRECATED, you can use the old name
704    MSG_task_put_with_time_out() for MSG_task_put_with_timeout()
705  * Allow to compile from the SVN with automake 1.11
706  * Fix some problems when using the "start_time" tag in deployment XMLs.
707  * Fix #8569: XBT/synchro.h has redundant declarations
708  * Fix #8563: MSG return values and exceptions
709    Introduce a MSG_TIMEOUT_FAILURE return code and use it consistently.
710  * Integrate patch #8636: Obey DESTDIR when installing documentation.
711    Thanks to Robson Peixoto.
712  * Fix a vicious bug in dictionaries inducing that some elements were
713    not freed on xbt_dict_free()
714
715  Portability report of this version:
716   * Main portability targets:
717     - linux (ubuntu (804/810/910) /debian (4/5/testing) /fedora (core11))
718       on (amd64/i386/ia64)
719     - mac leopard on i386
720     Known problems: http://cdash.inria.fr/CDash/index.php?project=Simgrid
721      but nothing critical.
722   * Other platforms: windows, AIX and others were not tested for this release
723
724  Timing report of this version:
725   * Lazy evaluation brings arbitrary speedup (ie, speedup depending on
726     scenario parameters). From 8h to a few seconds in desktop grid settings.
727   * Supernovae brings about 25% speedup on i386.
728
729  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Thu, 24 Dec 2009 19:07:39 +0100
730
731 SimGrid (3.3.3) stable; urgency=low
732
733  The "Need for Speed" release.
734
735  The timings done to validate the 3.3.2 were faulty.
736  Instead of being 5% faster, it was 15% slower (compared to 3.3.1).
737
738  The problem was a conversion from a manually handled vector to
739    xbt_dynar_t on the critical path.
740  xbt_dynar_foreach calls functions, inducing stack management crap.
741
742  We inlined these functions and xbt_dynar_foreach is now breath taking.
743  We also inlined xbt_swag_belong on the way.
744
745  Here are some approximate speedup measurements (on master/slaves
746   simulations lasting between 10s and 20s each):
747    3.3.1                   -> 3.3.2: about same performance
748    3.3.2                   -> 3.3.3: 40% speedup
749    3.3.1                   -> 3.3.3: 40% speedup
750    3.3.1 with inline patch -> 3.3.3: 30% speedup
751
752  Our reading is that the refactoring which occurred in 3.3.2 made us
753   suffer much more from the xbt_dynar_foreach low performance, but
754   once we solved this, this refactoring proved to be very performance
755   effective. From the 40% speedup, somehow, 10% are due to the
756   inlining and 30% to the refactoring.
757
758  That's a pitty that gcc cannot inline functions placed in other files
759   alone. We have to choose between:
760   - break the encapsulation (by putting private data structures and
761     accessors in headers files to help gcc)
762   - live with low performance
763   - switch to a decent compiler such as icc (not quite possible).
764
765  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Thu, 20 Aug 2009 21:21:33 +0200
766
767 SimGrid (3.3.2) stable; urgency=low
768
769  The "Simplicity does not preceed complexity, but follows it" release.
770
771  The main contributors of this release were (lexical order):
772    Silas De Munck, Stéphane Genaud, Martin Quinson, Cristian Rosa.
773
774  SURF:
775   * Extract the routing logic into its own object.
776     (was dupplicated in network.c and workstation_LV07.c;
777      Allows to implement other ways of storing that info)
778     => kill now useless network_card concept
779     - Use dynar to represent routes (instead of void** + int*)
780     - kill link_set (use surf_network_model->resource_set instead)
781     - Add a command-line option to choose the routing schema to use
782     - Add three new models:
783       * Floyd (shortest path computed at initialization)
784       * Dijikstra (shortest path recomputed all the time)
785       * Cached Dijikstra (shortest path computed on need)
786       All these models where contributed by Silas De Munck, and are
787       described in his ICCS09 paper.
788
789   * Simplify model declaration
790     (less redirections, less function to write when defining a model)
791     - Factorize stuff between models:
792       - model_init/exit
793       - Set of resources:
794         surf_model_resource_set(model)
795         surf_model_resource_by_name(model, name)
796     - Unify the types of models in s_surf_model_t (using an union)
797     - Embeed fields of common_public directly into s_surf_model_t
798     - Rename model methods:
799       action_free ~> action_unref
800       action_change_state ~> action_state_set
801       action_get_state    ~> action_state_get
802     - Change model methods into functions :
803       (model)->common_public->action_use  ~> surf_action_ref
804
805   * Implement a generic resource; use it as ancestor to specific ones
806     (allows to kill duplicated code in models)
807     Drawback: timer command don't need no name nor properties;
808               workstation_CLM03 don't need no properties
809     (but I guess we can live with those few bytes wasted)
810
811   * Improve the action object model
812     - implement a constructor avoiding dupplicated code about field
813       initialization in generic_action part.
814
815   * Kill the SDP model: it has an external dependency, is deprecated
816     in flavor of modern lmm models, and didn't compile since a while
817
818  SIMIX:
819   * Relocation of the context module from XBT to SIMIX.
820     (the context were decoupled from the simix processes, duplicating a lot of code)
821     => a lot of code was factorized
822     - less overhead is introduced during scheduling
823     - simpler API for the context factory
824     - the logic for process creation,destruction and manipulation was simplified
825   * Simplification of the s_smx_process_t data structure.
826     => accesing the simix level data associated to a process is faster now,
827        and the code is a lot more readable.
828
829  SMPI:
830   * Implement some more MPI primitives:
831     MPI_Bcast, MPI_Waitany, MPI_Waitall, MPI_Reduce, MPI_Allreduce, MPI_Scatter, MPI_Sendrecv, MPI_Alltoall
832     -implementation: Bcast: flat or 2-ary tree (default),
833                      Barrier: 4-ary tree,
834                      Reduce: flat tree
835                      Allreduce: Reduce then Bcast
836                      Alltoall: "basic_linear" if data per proc < 3Kb, "otherwise pairwise".
837                                Not yet implemented: "Bruck" for data per proc < 200b and comm size > 12
838                      Alltoallv: flat tree, like ompi
839                      Scatter: flat tree
840   * Add support for optimized collectives (Bcast is now binomial by default)
841   * Port smpirun and smpicc to OS X
842
843  SimDag:
844   * Kill SD_link_get_properties: hard to maintain and makes very little sense
845     Shout out if you used it.
846
847  GRAS:
848   * Display the list of still queued messages in SG mode when existing
849     the process.
850
851  XBT:
852   * Add xbt_set_get_by_name_or_null() [Silas De Munck]
853   * Add xbt_graph_node_get_outedges() [Silas De Munck]
854   * Add xbt_str_from_file(FILE*)
855   * Add xbt_dict_get_key achieving a linear reverse search
856   * Remove the context module
857
858  Portability report of this version:
859   * Main portability targets:
860     - Linux(debian)/x86/context
861     - Linux(debian)/x86/pthreads
862     - Linux(debian)/amd64/context
863     - Linux(debian)/amd64/pthreads
864     On these, we still have the eratic breakages of gras/pmm and
865       amok/saturate_sg reported in previous version. We still think
866       that the tests are the cause of the fault, not the tested code.
867
868     - Mac OSX Leopard/x86/context
869     Still false negative in tesh autotesting.
870     Smpi still fails, but this time because readlink does not accept -f
871     Everything seems to work properly beside of that.
872
873   * Exotic platforms:
874     - AIX version 5.3 (only tested contexts this time)
875       Smpi still fails there because mktemp is not installed.
876       Everything seems to work properly beside of that.
877     - OpenSolaris 11
878       I managed to compile it for the first time, but several breakages.
879       Won't delay the release for this exotic platform.
880
881   * Windows: it's still lagging behind. If you want to help, please
882     stand up.
883
884  Timing report of this version:
885   This version seem to be more than 5% faster than 3.3.1 (on linux
886     64bits with contextes). The gain is less than expected, we are
887     investigating this for next release.
888
889  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Wed, 19 Aug 2009 17:07:12 +0200
890
891 SimGrid (3.3.1) stable; urgency=low
892
893  OVERALL CHANGES:
894   * Implement a --cfg-help to show existing configuration variables
895   * Build chain do not require doxygen in maintainer mode
896
897  GRAS:
898   * fix a bug on struct sizeof computation, which prevented the
899     exchange of arrays of structs in some conditions
900     - added a regression test about this in datadesc_usage
901   * Allow the exchange of 0-long dynamic vectors.
902     - for that, use -1 as indicator of dynamic size instead of 0
903     - This implied to change any size from unsigned long to long,
904       reducing a bit communication abilities, but I guess that with
905       64bits being quite common, this is more than enough.
906     - This also induce a protocol change, thus bumping network protocol
907       version from 0 to 1 (if we have external users, we have to get
908       clean on that point too ;)
909     - added two regression tests about this in datadesc_usage
910   * Be more verbose when propagating local exceptions
911     This helps debugging.
912   * Display the status of simulated processes when receiving SIGINT in
913     simulation mode
914
915  MSG:
916   * Allow to control the simulation from a trace file.
917     New functions MSG_action_register() and MSG_action_trace_run()
918     The first one allows to associate a function execution to each
919      kind of action while the second one parses a trace file and
920      triggers the corresponding actions within the system.
921     For now, only a toy example is provided in examples/msg/actions
922   * Add an exemple of process migration in examples/msg/migration
923   * Fix a bug in task exchange which broke MSG_task_get_sender()
924     Add a teshsuite regression test for that.
925     [Bug: if MSG_task_get_sender() is called after sender exit,
926      bad things happen]
927   * Fix a bug which prevented suspend/resume to work properly
928   * Display the status of simulated processes when receiving SIGINT
929     This fixes a regression of v3.3. due to the introduction of SIMIX
930   * Bug fixing in failure management:
931     - trace could not start by a failure at time 0
932     - failure during communications were not working
933
934  SIMIX:
935   * Add SIMIX_process_set_name() to change the name of the current
936     process in the log messages.
937   * Store smx_hosts in a dict since we only retrieve them by name
938   * Move the configuration infrastructure to surf
939
940  SIMDAG:
941   * Move the configuration infrastructure to surf
942
943  SMPI:
944   * Massive internal cleanups:
945     - Store internal structures on processes instead of hosts (allows
946       to have more than one process per host, in addition of being more
947       logical)
948     - Cleanup the initialization/finalization process
949     - Kill a whole bunch of unneeded synchronization:
950       processes run in exclusive manner within the simulator
951     - Move queues from global tables to process data fields
952   * Improve smpirun:
953     - now accept -platform and -hostfile arguments
954     - Pass the right rank value to processes according to the hostfile
955   * Compile the examples by default, and use them as regression tests
956   * Implement MPI_Wtime()
957   * Change the reference speed to a command line option
958
959  SURF:
960   * TCP_gamma can now be specified as command line option using
961     --cfg=TCP_gamma:10000000.0
962   * Change the --surf-path cmd line option into --cfg=path:
963
964  XBT:
965   * Also include strbuff from xbt.h public header
966   * xbt_ex_display(): do not free the exception after displaying
967     This allows to do more with the given exception afterward.
968     Users should call xbt_ex_free() themselves.
969
970
971
972  Portability report of this version:
973   * Main portability targets:
974     - Linux(debian)/x86/context
975     - Linux(debian)/x86/pthreads
976     - Linux(debian)/amd64/context
977     - Linux(debian)/amd64/pthreads
978     These targets fail about 1/10 of times on gras/pmm, but we believe
979       that this is because of the test, not because of simgrid.
980     amok/saturate_sg fails even more rarely, and the test may not be
981       the problem.
982
983     - Mac OSX Leopard/x86/context
984     The test suite still spits tons of errors because some obscure
985       force prevents us from removing the temporary directories
986       arguing that they still contain some metadata I've never heard of.
987     Smpi fails because seq is not installed.
988     Everything seems to work properly beside of that.
989
990   * Exotic platforms:
991     - AIX version 5.3 (both contexts and pthread)
992       Smpi still fails there because mktemp is not installed.
993       XML inclusions seems rosty on AIX.
994
995   * Windows: it's still lagging behind. If you want to help, please
996     stand up.
997
998  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Sat, 27 Jun 2009 00:14:30 +0200
999
1000 SimGrid (3.3) stable; urgency=high
1001
1002  OVERALL CHANGES:
1003
1004   * JAVA BINDINGS for MSG (you dreamt of them? We made them)
1005     [Malek Cherier & Mt]
1006
1007   * Introduce the SIMIX module: factorize code between MSG and GRAS.
1008     [Bruno Donassolo]
1009
1010     Until now, GRAS were using MSG as an interface to SURF. It was
1011     quite difficult because both interface have several differences
1012     (MSG channels vs GRAS sockets were the most notable point).
1013
1014     This also opens the gate to SMPI (which should occur soon) and speed
1015     up simulations by to 40% (even if it were not the main goal).
1016
1017     **************************************
1018     *DO NOT MIX 3.2 RESULTS WITH 3.3 ONES* Simix may changes simulations!
1019     **************************************
1020     The point is that events occuring at the exact same timestamp are
1021     not scheduled in the same order with the old and new version. This
1022     may be enough to completely change the execution of simulations in
1023     some cases. Sorry for the inconvenience.
1024
1025   * Cleanup and upgrade the XML format to push further scalability
1026     issues (check http://hal.inria.fr/inria-00256883/ for more info)
1027
1028   * Improve the testing infrastructure with tesh. Now a very large part of
1029     the code is tested not only by being run but also by checking that the
1030     output match an expected output [Mt].
1031
1032   * Move on to FleXML v1.7 for the embeeded XML parsers. This version
1033     is really less memory-demanding, which should allow you to use
1034     larger files in SimGrid [AL].
1035
1036   * Inform valgrind about our contextes, so that it becomes usable
1037     with the default (and more effecient) version of SimGrid
1038     [contributed by Sékou Diakite, many thanks]
1039
1040  GRAS:
1041   * Introduce a listener thread in charge of receiving incomming
1042     messages from the network. It allows to overlap communication and
1043     computation but most notably, it removes some stupid deadlocks due
1044     to the fact that so far, a process could not send and receive at
1045     the same time. This made most non trivial communication schema
1046     impossible.
1047   * Convert the PIDs from long int to int to match the MSG ones (and
1048     linux ones too) [Mt]
1049   * New function: gras_agent_spawn() to launch a new process on
1050     current host. Only working in simulation for now. [Mt]
1051   * New function: gras_os_hostport() returning a constant form (ie,
1052     not needing to be freed) of "gras_os_hostname():gras_os_myport()"
1053
1054  XBT:
1055   * Make the backtrace of exceptions more human readable [Mt]
1056   * New module: xbt/str [Mt]
1057     a ton of string utility functions (split, join, printf to a newly
1058     allocated buffer, trim, etc)
1059   * New module: xbt/hash [Mt]
1060     SHA1 hashing algorithm (more to come if needed)
1061   * New module: xbt/synchro [Mt]
1062     synchronization tools (mutex and conditions) working the same way
1063     in simulation and in real life (mainly useful for GRAS, but not
1064     only).
1065   * New module: xbt/queue [Mt]
1066     classical producer/consumer synchronization scheme
1067   * xbt_dynar_new_sync() creates a synchronized dynar. All access
1068     (using the classical functions will get serialized) [Mt]
1069   * Make dictionary internal table dynamic. No need to specify its size
1070     anymore; functions xbt_dict_new_ext() and xbt_dict_hashsize_set()
1071     thus dropped. [Mt].
1072   * Make sure the log channels are organized as a tree under windows
1073     (because of ANSI C compatibility issue, any channel were child of
1074      root directly) [Mt].
1075
1076  SURF:
1077   * Cleaned many thing in surf and fixed a few bugs [AL].
1078   * Add a nice command line configuration mechanism to compose models [AL].
1079   * Add a new model for parallel tasks (ptask_L07) that is less buggy than
1080     the previous one (KCCFLN05). It relies on something that looks like
1081     a max-min sharing mechanism but cannot be written as such. A new solver
1082     was thus designed [AL].
1083   * Add a new solver to lmm. Based on Lagrange optimization and
1084     gradient-based descent, it enables to efficiently maximise systems s.a
1085
1086      sum f_i(x_i) s.t Ax<= b  with A_{i,j}>=0 and f_i a concave function.
1087
1088     This solver enables to propose two new network models for TCP Reno and
1089     TCP Vegas based on Low's work. These models still need to be fully
1090     tested though [Pedro Velho].
1091
1092  SIMDAG [AL]:
1093   * Bug fix in SD_simulate. Now the time bound given as argument is
1094     used.
1095   * Use the new parallel task model (ptask_L07) as default.
1096   * Use the SURF command line configuration mechanism.
1097   * 0-size tasks (for synchronization) should now work.
1098
1099  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Sun Apr 12 05:20:36 CEST 2009
1100
1101 SimGrid (3.2) stable; urgency=high
1102
1103   OVERALL CHANGES:
1104    * Port to windows.
1105      We still experience issues on this platform, but we believe that at
1106      least MSG is usable.
1107
1108   GRAS API BREAKAGE (for simplification purpose, sorry):
1109    * the gras_msgtype_by_name is not used anymore. Instead of
1110        gras_msg_send(toserver, gras_msgtype_by_name("request"), &request);
1111      you can write (and must)
1112        gras_msg_send(toserver, "request", &request);
1113    - If you still want to pass a gras_msgtype_t to the function (to cache
1114      the type and avoid the lookup time), use the gras_msg_send_() variant.
1115    - Impacted functions:
1116      gras_cb_register, gras_cb_unregister, gras_msg_send, gras_msg_wait,
1117      gras_msg_rpccall, gras_msg_rpc_async_call, gras_msg_wait_ext
1118    * The callbacks are now expected to return 0 when everything went well
1119      (just like the main() function)
1120
1121   GRAS new features and improvements:
1122   * New module mecanism where user code can use per process globals [Mt]
1123     This is similar to gras_userdata_*() functions, but for libraries. It
1124       factorize some code developped over and over in the examples and AMOK.
1125     It has still to be documented and used (only amok/peermanagement is
1126       converted for now).
1127   * Fix a vicious bug in the TCP buffering mecanism which leaded to message
1128     loss when they were small enough to fit into the buffer and sent quickly
1129     enough so that they can all get received in one shoot.
1130   * gras_datadesc_by_name and gras_msgtype_by_name: now raise an exception
1131     if not found. Use the *_or_null() variant for the old semantic.
1132   * In gras_msg_handle, do not discard messages without callback.
1133     They are probably messages to be explicitly awaited later (ie, proofs of
1134     mis-synchronization in userland since they are sent before being awaited)
1135     No big deal usually.
1136   * gras_socket_meas_send/recv: semantic changed!
1137     The numerical arguments used to be (1) the total amount of data to send
1138     and (2) msg_size. This was changed to (1) msg_size and (2) amount of
1139     messages. This was need for the fool willing to send more than MAXINT
1140     bytes on quite fat pipes.
1141         
1142   AMOK:
1143   * Do really rename the hostmanagement module to peermanagement. [Mt]
1144     Ie, rename functions from amok_hm_* to amok_pm_*. This breaks the API,
1145     but this is rather new and this was documented in the module
1146     documentation (poor excuses, I admit)
1147   * Bandwidth measurement semantic changed! This follows the changes to
1148     gras_socket_meas_send/recv explained above.
1149
1150   SIMDAG:
1151   * A sequential mode has been added to the workstations. When a workstation
1152     is in sequential mode, it can execute only one task, and the other tasks
1153     are waiting in a FIFO. [Christophe Thiery]
1154
1155   SURF:
1156   * The KCCFLN05 workstation model now handles parallel tasks. It is the
1157     model for SIMDAG. [Christophe Thiery]
1158   * Bug fix in the maxmin solver: Some values were close to 0 instead of
1159     equal to 0, which caused some bad behaviors in
1160     saturated_constraint_set_update. I now use a threshold mechanism like in
1161     surf. [AL]
1162
1163   XBT:
1164   * When running manually src/testall, you select specific units [Mt]
1165     testall is the result of our cunit mecanism, and should replace all
1166     the scripty thingy around since bash don't run easily on billware.
1167
1168   * A mallocator system has been added. [Christophe Thiery]
1169     Mallocators allow you to recycle your unused objects instead of freeing them
1170     and allocating new ones.
1171
1172   Documentation update:
1173   * FAQ reworking + New FAQs:
1174     - "Valgrind spits tons of errors!" [Mt]
1175     - "How to repport bugs" [Mt]
1176     - "Cross-compiling a Windows DLL of SimGrid from Linux" [Mt]
1177     - "What is the difference between MSG, SimDag, and GRAS?" [Mt]
1178     - Communication time measurement within MSG [AL]
1179     - I experience weird communication times when I change the latency [AL]
1180   * GRAS tutorial [Mt]
1181     It contains:
1182      - an introduction to the framework and to the used communication model
1183      - an initiatic tour introducing the most proheminent features:
1184        o Part 1: Bases
1185          . Lesson 0: Installing GRAS
1186          . Lesson 1: Setting up your own project
1187        o Part 2: Message passing
1188          . Lesson 2: Exchanging simple messages
1189          . Lesson 3: Passing arguments to the processes (in SG)
1190          . Lesson 4: Attaching callbacks to messages
1191          . Lesson 5: Using globals in processes
1192          . Lesson 6: Logging informations properly
1193          . Lesson 7: Using internal timers
1194          . Lesson 8: Handling errors through exceptions
1195          . Lesson 9: Exchanging simple data
1196          . Lesson 10: Remote Procedure Calling (RPC)
1197          . Lesson 11: Explicitely waiting for messages
1198          . Recapping of message passing features in GRAS
1199      - A HOWTO section containing:
1200        o HOWTO design a GRAS application
1201        More are due, of course. They will come latter. In the meanwhile, you can
1202        check the examples which are still here.
1203
1204  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Fri Mar 16 21:11:46 CET 2007
1205
1206 SimGrid (3.1) stable; urgency=high
1207
1208   General:
1209   * Port to gcc 4.x
1210     There was a stack corruption somewhere, visible only when optimizing
1211     with these versions. [Vince]
1212
1213   SIMDAG:
1214   * This is a NEW module! SimDAG (SD for short) is a revival of the old SG
1215     module that enabled to play with Directed Acyclic Graphs. It is built
1216     directly on top of SURF and provides an API rather close to the old
1217     SG. Some old codes using SG are currently under rewrite to check that
1218     all needful functions are provided. [Christophe Thiery]
1219         
1220   SURF:
1221   * Complete rewrite of the KCCFLN05 workstation model. It is now an
1222     extension of the classical CLM03 model that gracefully handles
1223     failures. This is now the default model for MSG and GRAS. It doesn't
1224     handle parallel tasks yet though. [AL]
1225   * Bug fix: Weights were not correctly set in the network part.
1226     WARNING: This may have resulted in incorrect results with simulations
1227     where there are more than one flow on a given link. [AL]
1228
1229   SURF, MSG, GRAS:
1230   * After a (long ?) discussion on simgrid-devel, we have decided that the
1231     convention we had on units was stupid. That is why it has been decided
1232     to move from (MBits, MFlops, seconds) to (Bits, Flops, seconds).
1233     WARNING : This means that all previous platform files will not work as
1234     such with this version! A warning is issued to ask users to update
1235     their files. [AL]
1236     A conversion script can be found in the contrib module of the CVS, under
1237     the name contrib/platform_generation/surfxml_update.pl [MQ]
1238
1239   MSG,GRAS:
1240   * Bug fix: Processes were started in reverse order, wrt deployment file.
1241     WARNING: if your code relies on this bug, please fix it.    [AL]
1242   * Bug fix: Add a test in MSG_task_execute to stop whenever a task is
1243     being executed on two different locations.                  [AL]
1244   * Bug fix: Failures are now better supported thanks to Derrick's tests
1245     (there was many failure situations I hadn't thought of and that weren't
1246     correctly handled). [AL]
1247   * New function: MSG_host_is_avail indicates you whether a given m_host_t
1248     is up or down. [AL]
1249
1250   GRAS:
1251   * New! a real RPC mecanism, as it ought to be since too long. [MQ]
1252       Exception occurring on server-side are propagated back to client (!).
1253
1254     API CHANGE: the callback changed their prototype. Change:
1255         int my_handler(gras_socket_t expeditor, void *payload_data) {
1256       to:
1257         int my_handler(gras_msg_cb_ctx_t ctx  , void *payload_data) {
1258           gras_socket_t expeditor=gras_msg_cb_ctx_from(ctx);
1259       and you're set.
1260   * New! function: gras_msg_handleall to deal with all messages arriving
1261       within a given period.
1262   * New! function: gras_socket_server_range to get a server socket in a
1263     range of port numbers (ease to avoid port number conflicts) [MQ]
1264   * New! gras processes display their backtrace when they get a SIGUSR1
1265       or when Ctrl-C is pressed. Use Ctrl-C Ctrl-C to exit.
1266       Sweet to debug RL processes [MQ]
1267
1268   AMOK:
1269   * Bandwidth module:
1270     - Do not force experiment sizes to be expressed in kb, or it becomes
1271       impossible to measure the latency this way (needs one byte-long tests)
1272     WARNING: this changes the amok_bw_* function semantic. [MQ]
1273     - Implements the link saturation stuff. [MQ]
1274   * Peer management module:
1275     New! module factorizing code that we wrote over and over [MQ].
1276
1277   XBT:
1278   * New module: cunit (my jUnit implementation in ansi C) [MQ]
1279     - Test units are placed directly into the library code, they get extracted
1280       automatically and placed into the src/testall binary.
1281     - Convert most of the XBT tests to this system.
1282   * New functions: xbt_dynar_getfirst_as() and xbt_dynar_getlast_as() [MQ]
1283   * XML parsing: rewrote parts of flexml to enable multiple xml parsers to
1284     live in the same C code. This required to change a little bit the API
1285     of surfxml parsing but shouldn't be an issue for end-users. [AL]
1286   * New module: sparse graph structure with basic algorithms (this is work
1287     in progress and the API is not considered to be frozen yet). [AL]
1288   * Display more information on backtraces: source line & function names are
1289     now displayed just like valgrind does (rely on addr2line tool) [MQ]
1290   * New function: xbt_backtrace_display(). Sweet while debuging [MQ]
1291   * Reworked a little bit some #include statements to load only required
1292     headers. Some user code that relied on SimGrid to include stdlib or
1293     stdio may need to include it by themselves. [AL]
1294   * Fixed xbt/log.h. A missing SG_BEGIN_DECL prevented compilation with
1295     g++. [AL]
1296   * Renamed xbt_host_t into xbt_peer_t since it betterly describes what I
1297     meant. This breaks the API of AMOK and of xbt/config. Sorry about this,
1298     but I guess that almost nobody used those parts. [MQ]
1299
1300  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr> Fri, 14 Jul 2006 01:32:27 +0200
1301
1302 SimGrid (3.0.1) stable; urgency=low
1303
1304   XBT:
1305   * Unfortunately, I had missed 5 misnamed functions:
1306       xbt_fifo_item_t xbt_fifo_newitem(void);
1307       void xbt_fifo_freeitem(xbt_fifo_item_t);
1308       xbt_fifo_item_t xbt_fifo_getFirstItem(xbt_fifo_t l);
1309       xbt_fifo_item_t xbt_fifo_getNextItem(xbt_fifo_item_t i);
1310       xbt_fifo_item_t xbt_fifo_getPrevItem(xbt_fifo_item_t i);
1311     They're now deprecated. Please use their new versions:
1312       xbt_fifo_item_t xbt_fifo_new_item(void);
1313       void xbt_fifo_free_item(xbt_fifo_item_t);
1314       xbt_fifo_item_t xbt_fifo_get_first_item(xbt_fifo_t l);
1315       xbt_fifo_item_t xbt_fifo_get_next_item(xbt_fifo_item_t i);
1316       xbt_fifo_item_t xbt_fifo_get_prev_item(xbt_fifo_item_t i);
1317     [AL]
1318   * Bugfix: really disconnect fifo items which are remove_item()ed [AL]
1319   * Documentation: xbt_log module unmercifully reworked [MQ]
1320   * Bugfix: there was a problem with the ending of contexts with
1321     the pthread backend. It caused some weird deadlock or behavior
1322     depending on the pthread implementation. [AL]
1323   * Bugfix: get the exceptions raised in the simulator repport where
1324     and why they come from when they are not catched in time [AL, MQ]
1325
1326   SURF:
1327   * Bugfix: Do repport the error when two non-connected hosts try to
1328     exchange data (Thanks to Flavien for stumbling into this one) [AL]
1329
1330   SURF:
1331   * Add additionnal checkings on communications. Assert that two
1332     communicating hosts are connected by a set of links... [AL]
1333         
1334   MSG:
1335   * Add additionnal checkings on channel values in communication [AL]
1336   * New: MSG_task_get_source to see on which host a task was generated [HC]
1337   * New: int MSG_task_probe_from_host(int channel, m_host_t host): returns
1338     the number of tasks waiting to be received on channel and sent
1339     by host. [AL]
1340   * New: MSG_error_t MSG_task_get_from_host(m_task_t * task, int channel, m_host_t host);
1341     waits for the first task coming from a given host.. [AL]
1342         
1343   GRAS new functionnalities: [MQ]
1344   * Enhance the parsing macro to allow the size of multidimentional objects
1345     to be given thru annotations.
1346   * New example (and documentation): Matrix Multiplication a la RPC
1347     (as when I was young!) and fix a bunch of bugs found on the way.
1348
1349   GRAS performance improvements: [MQ]
1350   [DataDesc]
1351   * Reduce the amount of cbps creation/destruction by making it static to
1352     datadesc_send/recv() and using a (newly created) cbps_reset (based on
1353     dynar_reset ())
1354   [Virtu]
1355   * Change libdata to a set so that we can search for stuff by ID (and thus
1356     reduce the insane amount of dict lookups)
1357
1358   [Transport]
1359   * Actually implement gras_datadesc_copy() so that we don't have to mimick
1360     RL communication on top of SG since it's so uneffective.
1361     It may also be used for inter-thread communication in RL, one day.
1362   * Use gras_datadesc_copy() to exchange messages on top of SG
1363     Allows to:
1364     - improve message exchange performance on top of SG
1365     - deprecate transport_plugin_sg.c:gras_trp_sg_chunk_send() & recv()
1366   * Don't exchange on the network the size of the used part of buffer,
1367     instead, specify the possible buffer size to read().
1368     Advantages:
1369      - reduces the amount of read/write calls (one pair per exchange)
1370      - reduces the amount of exchanged data (the size)
1371      - allows to retrieve all arrived data on receiver side, if we don't need
1372        it right now (subsequent read will peek the buffer)
1373      - allows the receiver to proceed with the begining of the stream before
1374        everything is arrived
1375      - make it possible to build an iov transport (using readv/writev)
1376     Extra difficulty:
1377      - take care of the data with non-stable storage (like stacked data),
1378        and bufferize them.
1379   * If possible, TCP send uses vector I/O (when writev() is here)
1380      - Don't use it for receive since we send data sizes and data on the
1381        same stream, so we wouldn't be able to chain large amount of chunks
1382        before having to flush the stuff to read the size.
1383   * Rework the transport plugin mecanism to simplify it and reduce the
1384     amount of pointer dereferencement when searching for the right function
1385     to use.
1386
1387   * I guess that now, we do almost as few system calls as possible while
1388     doing as few data copy as possible.
1389
1390     To improve it further, we could try to send all the sizes first and then
1391     all the data (to use iov on receiving size), but it's only a partial
1392     solution: when you have 2 dimensional data, the sizes of the second
1393     dimension is data of the first dimension, so you need 3 streams.
1394
1395     I'm not sure the potential performance gains justify the coding burden.
1396
1397  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Fri, 21 Oct 2005 14:42:20 +0200
1398
1399 SimGrid (3.00) stable; urgency=high
1400
1401  SURF:
1402   * New! Give the possibility to hijack the surf parser and thus bypass
1403     MSG_create_environment and MSG_launch_application. Have a look at
1404     examples/msg/msg_test_surfxml_bypassed.c to see how it can be done.
1405         
1406  -- Arnaud Legrand <simgrid-devel@lists.gforge.inria.fr>  Sat, 20 Aug 2005 23:25:25 -0700
1407
1408 SimGrid (2.96) unstable; urgency=low
1409
1410   AKA SimGrid 3 rc 2.
1411
1412   XBT:
1413   * New! Exception handling with setjmp or such (code from OSSP ex) [MQ]
1414     This deprecates the xbt_error_t mecanisms.
1415     It modifies (simplifies) all XBT and GRAS API.
1416     MSG API keeps unchanged (exceptions raised by XBT are catched from
1417      within MSG and masked with existing error handling facilities)
1418
1419   SURF:
1420   * New! Add a FATPIPE model. [AL]
1421   * New! Add a parallel task model. [AL]
1422   * New! Add automatically a loopback interface (in the default
1423     network model) if none was precised.
1424
1425   MSG
1426   * Bugfix: MSG_process_resume now works with the current running process.
1427     [AL]
1428   * New! Add MSG_parallel_task_create and MSG_parallel_task_execute. [AL]
1429   * Modification of MSG_task_get_compute_duration. Once a task has been
1430     processed, the value returned by this function is now equal to 0. [AL]
1431   * New! Add double MSG_task_get_remaining_computation(m_task_t task) and
1432     MSG_error_t MSG_task_cancel(m_task_t task). Add a state
1433     (MSG_TASK_CANCELLED) to MSG_error_t corresponding to the cancelation
1434     of a m_task. For now, MSG_task_cancel only works with computation
1435     tasks. [AL]
1436   * New! Add double MSG_get_host_speed(m_host_t h) that returns the speed
1437     of the processor (in Mflop/s) regardless of the current load on the
1438     machine. [AL]
1439   * API Change: use proper naming convention for MSG_getClock and
1440     MSG_process_isSuspended: MSG_get_clock and MSG_process_is_suspended.
1441     [AL]
1442   * New! Add void MSG_task_set_priority(m_task_t task, double priority).
1443     This function changes the priority of a computation task. This priority
1444     doesn't affect the transfer rate. A priority of 2 will make a task
1445     receive two times more cpu power than the other ones. This function
1446     has been added to suit the needs of Nguyen The Loc and hasn't been that
1447     much tested yet. So if it fails, please report it and send me your code.
1448     [AL]
1449   * API Change: removed all functions and types that were marked "deprecated"
1450     since many months. Renamed MSG_global_init_args to MSG_global_init.
1451
1452  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Mon,  8 Aug 2005 17:58:47 -0700
1453
1454 SimGrid (2.95) unstable; urgency=low
1455
1456   XBT
1457   * Steal some nice code to GNU pth to fix context detection and usage [AL]
1458   * Cleanup in the xbt_config API; add configuration callbacks. [MQ]
1459   * Cleanup in the initialization API: the unused "defaultlog" is dead. [MQ]
1460
1461   SURF
1462   * Bugfix: Allow absolute paths for platform description files [MQ]
1463   * Bugfix: do free the variables after use. Leads to drastic performance
1464     improvement [AL]
1465   * Implement max_duration (ie, timeouts) on resources [AL]
1466
1467   MSG
1468   * Implement MSG_config to configure MSG at runtime. xbt_cfg test on a real
1469     case ;) [MQ]
1470   * Implement MSG_channel_select_from() to help GRAS now that SURF provide
1471     the needed support (timeouts) [AL]
1472
1473   GRAS (new features)
1474   * Implement measurement sockets. You can now get the bandwidth between two
1475     hosts thanks to AMOK (see below). [MQ]
1476   * gras_datadesc_dynar() builds a dynar type descriptor, allowing to send
1477     dynar over the network (yeah) [MQ]
1478   * Real (even if simplistic) implementation of gras_os_myname() on RL [MQ]
1479   * simple/static token-ring example. [Alexandre Colucci and MQ]
1480   * Use MSG_channel_select_from() and remove the *slow* hack we had to put
1481     in place before [MQ]
1482
1483   GRAS (bug fixes)
1484   * Differentiate the types "char[22]" and "unsigned char[22]" in automatic
1485     type parsing. "short" and "long" modifiers were also ignored; other
1486     modifier (such as reference level) are still ignored. [MQ]
1487   * Embeed the buffer size within the buffer itself on SG. [MQ]
1488     That way, send() are atomic and cannot get intermixed anymore (at least
1489     the ones which are less than 100k; bigger messages still have the issue)
1490   * Array size pushed by the field, not by the field type (or each
1491     and every long int will push stuff to the cbps) [MQ]
1492   * use select() to sleep since it allows to portably sleep less than one
1493     second. [MQ]
1494
1495   GRAS (minor cleanups)
1496   * <project>.Makefile.local (generated from gras_stub_generator) |MQ]:
1497     - Do clean .o files
1498     - Compile with -g
1499   * Type Callbacks now receive the gras_datadesc_type_t they work on as argument.
1500   * type category 'ignored' killed as it was never used and were difficult
1501     to transmit.
1502   * whether a type can cycle or not is now a flag, leaving room for more
1503     flags (as "ignored", if we feel the need one day ;)
1504   * Rename raw sockets to measurement sockets since "raw" has another
1505     meaning in networking community.
1506
1507   AMOK
1508   * Advanced Metacomputing Overlay Kit introduction. It is based over GRAS
1509     and offers features not belonging to GRAS but that most applications
1510     need. One day, it may be a set of plugins loadable at runtime.
1511   * New module: bandwidth
1512     bandwidth measurement between arbitrary nodes running this module. [MQ]
1513
1514  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Thu, 30 Jun 2005 16:29:20 -0700
1515
1516 SimGrid (2.94) unstable; urgency=low
1517
1518   The first beta release of SimGrid 3 !
1519
1520   >>>Arnaud<<<
1521   (documentation)
1522   * Update the main page and the FAQ. Adding references to gforge.
1523
1524   (gras)
1525   * Add a gras_os_getpid function.
1526
1527   (msg)
1528   * Add MSG_task_get_compute_duration() and MSG_task_get_data_size()
1529   * Extend the logs so that they also print PID, hostname, date, ... if
1530     available.
1531   * Convert the MSG example to the use of xbt_logs instead of PRINT_MESSAGE,
1532     and kill the old version which were in testsuite/
1533   * Rewrite tools/MSG_visualization/colorize.pl for using with logs instead
1534     of PRINT_MESSAGE
1535
1536   (xbt)
1537   * Add xbt_os_time(). As the rest of xbt/portability, this is not public
1538     for users. Instead, each programming environment (GRAS, MSG,...) use it
1539     when needed to provide such a feature to users.
1540     Don't shortcut the mecanism or you will also shortcut the virtualization
1541     you need on the simulator.
1542
1543   >>>Martin<<<
1544   (infrastructure)
1545   * Cleanups in configury with regard to compile optimization/warning flags.
1546     Also add -fno-loop-optimize to any powerpc since it's the optimization
1547     killing gcc (< 3.4.0).
1548   * Doxygen cleanups: move MSG examples, kill the second Doxygen phase
1549     needed by MSG examples complications
1550   * Borrow configury beautifications from PHP
1551
1552   (xbt)
1553   * Bugfix: XBT_LOG_NEW_DEFAULT_CATEGORY now compiles without compiler
1554     warning (thanks loris for stumbling into this one).
1555   * Bugfix: stop loading private headers (gras_config.h) from the public
1556     ones (xbt/swag.h).
1557
1558   (gras)
1559   * Change SIMGRID_INSTALL_PATH to GRAS_ROOT in Makefiles generated for user.
1560   * Rename gras_get_my_fqdn to gras_os_myname and implement it in the simulator
1561     RL would imply a DNS resolver, which is *hard* to do in a portable way
1562     (and therefore delayed).
1563   * Implement a real timer mecanism and use it in timing macros. This allows
1564     to avoid rounding errors and get a 0.000005 sec precision in timing
1565     macros. While I was at it, various cleanups:
1566      - allow to declare more than one timed section per file (fix a stupid bug)
1567      - move some private declaration to the right place
1568      - merge conditional execution and timing macros into emulation module
1569      - document the module
1570      - make sure the module cleanups its mess on gras_exit
1571   * Documentation improvements:
1572      - (new) how to compile applications using GRAS
1573      - (new) emulation support (timing macros)
1574
1575  -- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>  Fri, 13 May 2005 10:49:31 +0200
1576
1577 SimGrid (2.93) unstable; urgency=low
1578
1579   Alpha 4 on the path to SimGrid 3 (aka the "neuf-trois" version)
1580
1581   [Arnaud]
1582    - Use Paje properly where used. Still to be sanitized properly.
1583    - Portability fix: Add an implementation of the contexts using pthread
1584
1585   [Martin]
1586   (misc)
1587    - Add xbt_procname(): returns the name of the current process.
1588      Use it to show the current process's name in all logging.
1589   (infrastructure)
1590    - fix detection of older flex version and the reaction, since we do
1591      depend on modern ones (we use lex_destroy)
1592    - Better separation of SG and RL in the libs: remove all simulation code
1593      from libgras. As a result, this lib is now only 200k when stripped.
1594      Some of the xbt modules may also be duplicated (two sets and such) and
1595      should be cleaned/killed before SG3.
1596    - Insist on using xlC on AIX because of weird problems involving gcc there.
1597    - Cleanup the make remote stuff. This is now done by scripts
1598      tools/graspe-{master,slave} (GRAS Platform Expender). This is still
1599      mainly for our private use, but we're working on changing them to user
1600      tools, too.
1601   (gras)
1602    - Bugfix: flush the socket on close only if there is some *output*.
1603    - Bugfix: flush idempotent when there's nothing to send (don't send size=0)
1604   (msg)
1605    - Add MSG_task_get_name. The task names are mainly for debugging purpose,
1606      but anyway.
1607
1608  -- SimGrid team <simgrid2-users@listes.ens-lyon.fr>  Fri,  4 Mar 2005 14:32:37 -0800
1609
1610 SimGrid (2.92) unstable; urgency=low
1611
1612   Alpha 3 on the path to SimGrid 3
1613
1614   [Arnaud]
1615   (gras)
1616    - New! First try of benchmarking macros.
1617    - New! First try so that gras_stub_generator generate deployment and
1618      remote compilation helpers.
1619   (msg)
1620    - Bugfix: Initialization fix in msg_test.
1621
1622   [Martin]
1623   (surf)
1624    - Bugfix: applied patch to lexer so that it doesn't need a huge heap.
1625   (xbt)
1626    - Bugfix: let dicts work with NULL content (_foreach didn't) and cleanups
1627   (gras)
1628    - API Change: gras_os_sleep to take the amount of seconds as a double.
1629      Accepting an int was error prone since it was the only location where
1630      seconds were coded as such. It leaded to damn rounding errors.
1631    - Bugfix: Hard to belive that timers ever worked before this.
1632
1633  -- SimGrid team <simgrid2-users@listes.ens-lyon.fr>  Wed, 23 Feb 2005 22:09:21 +0100
1634
1635 SimGrid (2.91) unstable; urgency=low
1636
1637   Alpha 2 on the path to SimGrid 3
1638
1639   [Arnaud]
1640   (surf)
1641    - Bug fix in the lmm_solver.
1642   (msg)
1643    - New! Interface to Paje (see http://www-id.imag.fr/Logiciels/paje/)
1644      through the function MSG_paje_output.
1645    - New! Introducing two new functions MSG_process_kill() and MSG_process_killall().
1646    - It is possible to bound the rate of a communication in MSG with
1647      MSG_task_put_bounded() (was already in the previous version but I had forgotten
1648      to write it in the changelog).
1649    - Bug fix to let GRAS run on top of MSG until we move it directly on top
1650      of the SURF.
1651
1652   [Martin]
1653   (infrastructure)
1654    - Various cleanups to the autotools stuff
1655    - Begin to move Gras examples to examples/gras/
1656    - Let make distcheck work again (yeah!)
1657   (documentation)
1658    - documentation overhauled using doxygen.
1659      gtk-doc-tools is dead in SimGrid now.
1660    - Automatically extract all existing logging categories, and add the list
1661      to the documentation (long standing one, to say the less)
1662   (gras)
1663    - Cleanup the known architecture table. Reorder the entries to group what
1664      should be, and use a more consistent naming scheme.
1665      (some of the test dataset are still to be regenerated)
1666    - New! Allow library to register globals on each process just as userdata
1667      does.
1668       This is implemented using a xbt_dict and not a xbt_set, so we loose the
1669        lookup time (for now).
1670       Use it in msg and trp.
1671       This cleans a lot the internals and helps enforcing privacy of the
1672        headers between the gras components.
1673    - New! Add a timer mechanism, not unlike cron(8) and at(1).
1674    - Bugfix: gras_os_time was delirious in RL.
1675    - Bugfix: gras_trp_select/RL don't run into the wall when asked to select
1676      onto 0 sockets.
1677    - Reenable GRAS now that it works.
1678
1679  -- Arnaud Legrand <Arnaud.Legrand@imag.fr>  Mon, 14 Feb 2005 14:02:13 -0800
1680
1681 SimGrid (2.90) unstable; urgency=low
1682
1683   Alpha 1 on the path to SimGrid 3
1684
1685   * It is a long time since the last release of SimGrid. I'm sorry about
1686     that but as I had told you, I was rewriting a lot of things. I apologize
1687     to those who had been reporting bugs to me and that I had not answered.
1688     If your bug is still in the new version, please tell me. Here is a
1689     summary of the main changes.
1690
1691   * REVOLUTION 1: The SimGrid project has merged with the GRAS project
1692     lead by Martin Quinson. As a consequence SimGrid gains a lot in
1693     portability, speed, and a lot more but you'll figure it out later.
1694     SimGrid now comprises 3 different projects : MSG, GRAS and SMPI.
1695     I wanted to release the new MSG as soon as possible and I have
1696     broken GRAS, which is the reason why, for now, only MSG is fully
1697     functional. A laconic description of these projects is available
1698     in the documentation.
1699
1700   * REVOLUTION 2: I have removed SG and I am now using a new simulation
1701     kernel optimized for our needs (called SURF but only the developers
1702     should use it). Hence, MSG is now roughly 30 times faster and I think
1703     that by rewriting a little bit MSG, I could event speed it up a little
1704     bit more. Beside the gain in speed, it is also much easier to encode a
1705     new platform model with SURF than it was with SG. More to come...
1706
1707   * REVOLUTION 3: I have tried to change a little as possible the API of
1708     MSG but a few things really had to disappear. The main differences
1709     with the previous version are :
1710        1) no more m_links_t and the corresponding functions. Platforms are
1711          directly read from a XML description and cannot be hard-coded
1712          anymore. The same format is used for application deployment
1713          description. The new format is described in the documentation.
1714          Have a look in tools/platform_generation. There is a tiny script
1715          that converts from the old platform format to the new one. Concerning
1716          the application deployment format, parsing the old one is tricky.
1717          I think most of you should however be able to convert your files.  If
1718          it is really an issue, I can write a C code that does the conversion.
1719          Let me know.
1720        2) the toolbox tbx does not exist anymore. We now have a library
1721           with much more data-structures but without the hash-tables (we have
1722           dictionaries that are much faster).
1723
1724  -- Arnaud Legrand <Arnaud.Legrand@imag.fr>  Mon, 31 Jan 2005 10:45:53 -0800
1725
1726 *****************************************************************************
1727 * Follows the old GRAS changelog. It does not follow the same syntax, but I *
1728 * don't feel like converting the oldies. (Mt)                                *
1729 *****************************************************************************
1730
1731 2005-01-31 Arnaud
1732   Version 2.90: "the long awaited one"
1733   - Finished rewriting and debugging MSG. Rewrote the documentation.
1734   - disable GRAS for now since it needs to be ported to the newest SG
1735
1736 2004-12-16 Martin
1737   - Finish the port to windows (using mingw32 for cross-compile)
1738
1739 2004-11-28 Arnaud
1740   - Main loop and datastructures of SURF. A cpu resource object is
1741     functional. Surf can thus be used to create cpu's with variable
1742     performance on which you can execute some actions.
1743         
1744 2004-11-15 Martin Quinson
1745   - Port to ARM. Simply added the alignment and size descriptions. Should
1746     work, but the ARM machines are so slow that I didn't had the opportunity
1747     to 'make check' over there yet.
1748
1749 2004-11-15 Arnaud Legrand
1750   - Trace manager now written. It uses a heap structure and is therefore
1751     expected to be efficient. It may however be speeded up (particularly
1752     when many events occur at the same date) by using red and black
1753     trees. One day maybe...
1754   - Max-min linear system solver written. It uses a sparse matrix
1755     structure taking advantage of its expected use. Most operations are
1756     O(1) and free/calloc are called as few as possible. The computation of
1757     the minimum could however be improved by using a red and black tree
1758     (again ! ;).
1759
1760 2004-11-03 Arnaud Legrand
1761   - Rename every gras_* function that was in xbt/ to its xbt_
1762     counterpart.
1763   - Add a heap and a doubly-linked list to xbt
1764   - Added a dichotomy to the dictionaries. make check works as well before
1765     so I assume that the patch is correct. I do not know however if things
1766     run effectively faster than before now. :)
1767
1768   Inclusion of the SimGrid tree in the GRAS one. The archive is renamed to
1769   SimGrid, and the version number is bumped to 2.x
1770
1771 2004-10-29 Martin Quinson
1772   - Introduction of the remote errors.
1773     They are the result of a RMI/RPC on the remote machine.
1774     ErrCodes being scalar values, you can't get the host on which those
1775     errors did happen. Extending the error mechanism as in Gnome is possible.
1776     No idea yet whether it is a good idea.
1777
1778 2004-10-28 Martin Quinson
1779   - Interface revolution: the Starred Structure Eradication.
1780     I used to do typedef struct {} toto_t; and then handle *toto_t.
1781     Arnaud (and Oli) didn't like it, and I surrendered. Now, you have:
1782       - ???_t is a valid type (builded with typedef)
1783       - s_toto_t is a structure (access to fields with .)
1784       - s_toto   is a structure needing 'struct' keyword to be used
1785       - e_toto_t is an enum
1786       -   toto_t is an 'object' (struct*)
1787     Exemple:
1788       typedef struct s_toto {} s_toto_t, *toto_t;
1789       typedef enum {} e_toto_t;
1790     Moreover, only toto_t (and e_toto_t) are public. The rest (mainly
1791      s_toto_t) is private.
1792
1793   - While I was at it, all gras_<obj>_free() functions want a gras_<obj>_t*
1794     so that it can set the variable to NULL. It was so for dicts and sets,
1795     it changed for dynars.
1796
1797   - Fix a bunch of memleaks in dict_remove
1798   - Fix a bug in sg/server_socket opening: it failed all the time.
1799
1800 2004-10-07 Martin Quinson
1801   - Speed up dynar lookup operation a bit.
1802
1803     gras_dynar_get is dead.
1804
1805     Now, you can choose between gras_dynar_get_cpy (the old gras_dynar_get
1806     but should be avoided for efficiency reasons) and gras_dynar_get_ptr
1807     (which gives you the address of the stored data).
1808
1809     gras_dynar_get_as is an helpful macro which allows you to retrieve a
1810     copy of the data using an affectation to do the job and not a memcpy.
1811
1812     int toto = gras_dynar_get_as(dyn,0,int); rewrites itself to
1813     int toto = *(int*)gras_dynar_get_ptr(dyn,0);
1814
1815     It does not really speedup the dynar test because they are
1816     setting elements all the time (and look them seldom). But the dict does
1817     far more lookup than setting.
1818
1819     So, this brings the dict_crash test from ~33s to ~25s (200000 elms).
1820
1821 2004-10-05 Martin Quinson
1822   - Allow to (en/dis)able the cycle detection at run time.
1823
1824     Whether we should check for cycle or not is now a property of each
1825     datatype. When you think there may be some cycle, use datadesc_cycle_set.
1826     datadesc_cycle_unset allow to remove this property when previously set.
1827
1828     Note that the cycle detection is off by default since it impacts the
1829     performance. Watch the data you feed GRAS with ;)
1830
1831     This property is hereditary. Any element embedded in a structure having it
1832     set have it set for the time of this data exchange.
1833
1834     You should set it both on sender and receiver side. If you don't set it on
1835     sender side, it will enter an endless loop. If you forget on receiver
1836     side, the cycles won't be recreated after communication.
1837
1838   - Header reorganization.
1839     Kill gras_private.h, each submodule must load the headers it needs.
1840
1841 2004-10-04 Martin Quinson
1842   - Interface revolution: do not try to survive to malloc failure.
1843
1844     Now, gras_malloc and friends call gras_abort() on failure.
1845     As a conclusion, malloc_error is not a valid error anymore, and all
1846       functions for which it was the only gras_error_t return value are
1847       changed. They now return void, or there result directly.
1848     This simplify the API a lot.
1849
1850 2004-09-29 Martin Quinson
1851   - Re-enable raw sockets.
1852     Created by gras_socket_{client,server}_ext;
1853     Used with gras_raw_{send,recv}
1854     No select possible.
1855
1856     It should allow to kill the last bits of gras first version soon.
1857
1858     This is not completely satisfactory yet (duplicate code with
1859      chunk_{send,recv}; a bit out of the plugin mechanism), but it should
1860      work.
1861
1862   - Simplify transport plugin (internal) interface by not passing any
1863     argument to _server and _client, but embedding them in the socket
1864     struct directly.
1865
1866 2004-09-28 Martin Quinson
1867   - Finish the port to AIX.
1868     autoconf was my problem (segfault within the malloc replacement
1869     function. No idea why)
1870
1871 2004-09-16 Martin Quinson
1872   - Fix some size_t madness on 64bit architectures.
1873
1874 2004-09-08 Martin Quinson
1875   - Reduce the number of system headers loaded, overload some more system
1876     calls (such as malloc to cast the result of the system one, and work
1877     properly on AIX)
1878   - Fix and reintroduce the config support
1879
1880 2004-09-07 Martin Quinson
1881   - Source code reorganization to allow Arnaud to surf all over there.
1882   - Allow to document the logging categories.
1883   - Remove all uppercase from logging categories and useless cleanup in names.
1884
1885 2004-08-18 Martin Quinson
1886   Version 0.6.2 (protocol not changed; API changed)
1887   - Interface cleanup: gras_msgtype_by_name returns the type (instead of a
1888      gras_error_t), and NULL when not found. Functions expecting a msgtype
1889      as argument (msg_wait; msg_send) deal with NULL argument by providing a
1890      hopefully usefull message.
1891   - Portability to prehistoric sparcs again
1892
1893 2004-08-17 Martin Quinson
1894   Version 0.6.1 (protocol not changed; ABI not changed)
1895   - prealloc some buffers to speed things up
1896
1897 2004-08-11 Martin Quinson
1898   Version 0.6 (protocol not changed; ABI expended)
1899   - The parsing macro can deal with the references, provided that you add
1900     the relevant annotations (using GRAS_ANNOTE(size,field_name))
1901
1902 2004-08-09 Martin Quinson
1903   Version 0.5 (protocol not changed; ABI changed)
1904   - Allow to off turn the cycle detection code in data exchange at
1905     compilation time. It should be at run time, but I'm short of time (and
1906     the config stuff is still broken). That way, we keep dict out of the
1907     critical path, which is good because the performance is poor:
1908      - search not dichotomial yet
1909      - dynar give no way to access their content and memcpy everytime
1910   - In composed data description (struct, ref and so on), stop foolness of
1911     keeping the subtype's ID, but store the type itself. This keeps sets out
1912     of the critical path, which is good since they rely on dynar and
1913     dictionnaries. The only loose of that is that we cannot detect the
1914     redeclaration of a structure/union with another content (but I'm not sure
1915     the code detected well this error before anyway). We still can detect
1916     the redefinition discrepancy for the other types.
1917   - Use a whole bunch of optimisation flags (plus -fno-strict-aliasing since
1918     it breaks the code because of type-punning used all over the place).
1919     This breaks on all non-gcc architectures (for now).
1920
1921   All those changes (plus the buffer of last time) allow me to gain 2 order
1922   of magnitude on cruel tests consisting of 800000 array of integers on two
1923   level of a hierarchical structure (200 secondes -> 4 secondes)
1924
1925   API change:
1926     - the selector of reference must now return the type it points to, not
1927       the ID of this type.
1928
1929 2004-08-06 Martin Quinson
1930   Version 0.4 (protocol changed; ABI not changed)
1931   - Allow to pass --gras-log argument to processes in simulation mode. Really.
1932   - New debugging level: trace (under debug) to see effect of GRAS_IN/OUT
1933   - Implement a buffer transport, and use it by default (it relies on tcp in
1934      real life and on sg in simulation).
1935     That's a bit hackish since I had a new field to the structure to store
1936      its data without interfering with the subtype ones. Inheritance
1937      is tricky in C. And that's a kind of reverse inheritance with one class
1938      derivating two classes. Or maybe a game with java interfaces. Anyway,
1939      that's damn hard in C (at least).
1940     Moreover, I got tired while trying to ensure plugin separation and
1941      genericity in SG mode. MSG wants me to do weird things, so let's go for
1942      cruel hacks (temporarily of course ;).
1943      See comment in transport_private.h:71
1944   - do not include all the _interface headers in private but in the files
1945     which really need them (to cut the compilation time when they are
1946     modified)
1947
1948 2004-07-26 Martin Quinson
1949   Version 0.3 (protocol not changed; ABI changed)
1950   - Major overhault of the datadesc interface to simplify it:
1951     - shorted the function names:
1952       s/gras_datadesc_declare_struct/gras_datadesc_struct/ and so on
1953     - add a trivial way to push/pop integers into the cbps without malloc.
1954       This allows to make really generic sub_type description, which simply
1955         pop their size of the stack.
1956     - add a function gras_datadesc_ref_pop_arr() which does what users want
1957       most of the time: Declare a dynamic array (which pops its size of the
1958       stack) and declare a reference to it. Poor name, but anyway.
1959     - kill the post-send callback, add a post-receive one
1960
1961 2004-07-23 Martin Quinson
1962   Version 0.2 (protocol changed; ABI changed)
1963   - add some testing for cpbs in the test cases, and fix some more bugs.
1964     This invalidate again the little64 data file, since I cannot regenerate
1965     it myself.
1966   - remove an awfull optimization in the logging stuff, allowing me to:
1967     - understand it again
1968     - learn gcc how to check that the argument match the provided format
1969     - fix all errors revealed by gcc after that
1970   - internal keys of dict are not \0 terminated. Deal with it properly in
1971     loggings instead of segfaulting when the user want to see the logs :-/
1972
1973 2004-07-22 Martin Quinson
1974   - Fix some stupid bug preventing cbps (callback postit) from working
1975
1976 2004-07-21 Martin Quinson
1977   - Some documentation cleanups
1978   - remove the useless last argument of msgtype_declare
1979   - rename the Virtu functions to fit into the 'os' namespace
1980   - move headers src/include -> src/include/gras/ and stop fooling with
1981     gras -> . symbolic link
1982   - make distcheck is now successful
1983
1984 2004-07-19 Martin Quinson
1985   Version 0.1.1
1986   - Build shared library also
1987   - Install html doc to the right location
1988   - stop removing maintainer files in make clean
1989   - build tests only on make check
1990
1991 2004-07-13 Martin Quinson
1992   version 0.1
1993   - No major issue in previous version => change versionning schema
1994   - Re-enable little64 convertion test now that Abdou kindly regenerated the
1995     corresponding dataset.
1996
1997 2004-07-11 Martin Quinson
1998   version 0.0.4
1999   - Get it working with any kind of structure (we can compute the padding
2000     bytes remotely for all the architectures I have access to)
2001   - Implement the structure parsing macro (still not quite robust/complete)
2002   - Improvement to the remote testing toysuite
2003
2004 2004-07-10 Martin Quinson
2005  [autoconf mechanism]
2006   - get ride of a bunch of deprecated macros
2007   - actually run the test for two-compliment, not only compile it :-/
2008   - test whether the structures get packed (and bail out if yes. Damn.
2009     Alignment is a serious matter)
2010   - test whether the structures get compacted (but respecting the alignment
2011     constraints of each types)
2012   - test whether the array fields of structures can straddle alignment boundaries
2013  [base]
2014   - Damnit, double are bigger than float (typo in creation of 'double' datadesc)
2015     (took me 2 hours to find that bug, looking at the wrong place)
2016   - Add gras_datadesc_declare_{union,struct}_close(). They must be used
2017     before sending/receiving and are used to compute the offsets of fields
2018   - Given that padding size depend even on compiler options, keep track of
2019     alignment and aligned_size only for the current architecture. Not a big
2020     deal since we send structure fields one after the other (seems
2021     reasonable).
2022   - Add the datastructure used for IEEE paper by the PBIO guys to the test
2023     program, let it work on linux/gcc/little32. portability todo.
2024
2025 2004-07-08 Martin Quinson
2026   - import and improve remote compilation support from FAST
2027   - make sure make check works on half a dozen of machines out there
2028
2029 2004-07-07 Martin Quinson
2030  Let's say it's version 0.0.3 ;)
2031   - Implement conversions (yuhu!)
2032   - Let it work on solaris (beside conversion, of course)
2033   - Stupid me, using rand() to generate the conversion datatests in not wise.
2034
2035 2004-07-06 Martin Quinson
2036   - Let make dist work, since I'm gonna need it to compile on remote hosts
2037   - Let Tests/datadesc_usage write the architecture on which the file was
2038     generated as first byte.
2039   - Add PowerPC (being also IRIX64), SPARC (also power4) and ALPHA
2040     architecture descriptions.
2041   - Add datadesc_usage.{i386,ppc,sparc} files being the result of execution
2042     on those architectures.
2043   - Optimization: send/recv array of scalar in one shoot
2044
2045 2004-07-05 Martin Quinson
2046   - YEAH! GRAS/SG and GRAS/RL are both able to run the ping example !
2047
2048   - Plug a whole bunch of memleaks
2049   - each process now have to call gras_{init,exit}. One day, their log
2050     settings will be separated
2051   - Continue the code factorisation between SG, RL and common in Transport.
2052
2053 2004-07-04 Martin Quinson
2054  [Transport]
2055   - Redistribution between SG and RL.
2056     We wanna have to accept in SG, so move accepted related parts of RL in
2057     the common part. (more precisely, the dynar of all known sockets is no
2058     more a static in transport.c, but part of the process_data)
2059  [Core/module.c]
2060  [gras_stub_generator]
2061   - Bug fix: Do call gras_process_init from gras_init (wasnt called in RL).
2062
2063 2004-07-03 Martin Quinson
2064   - Create a new log channel tbx containing dict, set, log, dynar (to shut
2065     them all up in one shot)
2066  [DataDesc]
2067   - Fix the ugly case of reference to dynamic array.
2068   - New (semi-public) function gras_datadesc_size to allow the messaging
2069     layer to malloc the needed space for the buffer.
2070  [Transport]
2071   - gras_socket_close now expect the socket to close (and not its address to
2072     put NULL in it after it). This is because the socket passed to handlers
2073     is one of their argument (=> not writable).
2074  [Messaging]
2075   - propagate the interface cleanup from last week in datadesc, ie remove a
2076     superfluous level of indirection. User pass adress of variable
2077     containing data (both when sending and receiving), and not of a variable
2078     being a pointer to the data. Let's say that I like it better ;)
2079       The price for that is constructs like "int msg=*(int*)payload" in
2080     handlers, but it's a fine price, IMHO.
2081  [examples/ping]
2082   - Let it work in RL (yuhu)
2083
2084 2004-06-21 Martin Quinson
2085  [Transport]
2086    - porting SG plugin and SG select to new standards (works almost).
2087    - plug memleaks and fix bugs around.
2088
2089  [DataDesc]
2090    - cleanup the prototype of data recv and force users to specify when they
2091      want to handle references to objects. Test case working even for cycles.
2092    - plug memleaks. Valgrind is perfectly ok with this.
2093
2094 2004-06-12 Martin Quinson
2095  [Transport]
2096    - cleanup the separation between plugin and main code in plugin creation
2097
2098 2004-06-11 Martin Quinson
2099  [Transport]
2100    - Reput hook for raw sockets, needed for BW experiments
2101    - kill a few lines of dead code
2102  [Data description] Interface cleanup
2103    - gras_datadesc_by_name returns the searched type or NULL.
2104      That way, no variable is needed to use a type desc once, which makes
2105       the code clearer.
2106    - gras_datadesc_declare_[struct|union]_append_name is removed. The last
2107       two parameters were strings (field name, type name), leading to
2108       common errors.
2109  [Dicos] Interface cleanup
2110    - gras_dico_retrieve -> gras_dico_get ; gras_dico_insert -> gras_dico_set
2111      This is consistant with the dynar API.
2112
2113 2004-04-21 Martin Quinson
2114  [Messaging]
2115    - Porting to new standards.
2116  [Data description]
2117    - interface cleanup.
2118      There is no bag anymore, no need to take extra provision to mask the
2119        pointers behind "ID".
2120      Better splitup of functions between files create/exchange/convert.
2121        This is still a bit artificial since convert and receive are so
2122        interleaved, but anyway.
2123  [Virtu(process)]
2124    - add a queued message list to procdata (the ones not matching criteria
2125      in msg_wait)
2126    - factorize some more code between SG and RL wrt procdata
2127  [Tests]
2128    - use gras_exit in example to track memleaks
2129    - get rid of gs_example now that GS is properly integrated into gras
2130    - update run_test to integrate the lastest tests (datadesc)
2131  [Logging]
2132    - rename WARNINGn macros to WARNn since it prooved error-prone
2133
2134 2004-04-19 Martin Quinson
2135  [Data description]
2136    - register init/exit functions within gras module mechanism
2137    - send/receive function.
2138    Convertion is not implemented, but short-cutted if not needed.
2139    struct/array elements are sent one by one (instead of block-wise), but
2140      nobody really cares (yet). Get a prototype before optimizing.
2141    - tests (using a file socket) for DD send/receive on:
2142      - base types: int, float
2143      - array: fixed size, string (ie ref to dynamic string)
2144      - structure: homogeneous, heterogeneous
2145      - chained list, graph with cycle
2146    Believe it or not, valgrind is not too unhappy with the results. The
2147     cycle happily segfaults, but the others are ok. And I'm sick of pointers
2148     for now.
2149  [Transport]
2150    [File plugin]
2151      - Bugfix when using a filename explicitely (instead of '-')
2152
2153 2004-04-09 Martin Quinson
2154  [Transport plugins]
2155    - factorize more code between RL and SG in socket creation
2156    - Complete the implementation and tests of:
2157      o TCP
2158      o file (only in RL, and mainly for debugging)
2159
2160      I lost 3 days to design a portable address resolver, and then decided
2161        that the prototype mainly have to run on my box.
2162      Addressing portability too early may be like optimizing too early :-/
2163  [Tests]
2164    - use gras_init in the Tests instead of the crappy parse_log_opt
2165      (the latter function is removed)
2166  [Conditional execution]
2167    - New functions: gras_if_RL/gras_if_SG (basic support for this)
2168  [Code reorganisation]
2169   - Get rid of libgrasutils.a since it makes more trouble than it solves.
2170     Build examples against the RL library, since there is no way to disable
2171     its creation for now.
2172
2173 For information, the beginning of coding on GRAS was back in june
2174 2003. I guess that every line has been rewritten at least twice since
2175 then.