Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
11 years agoNeed to passe this line in debug due to cfg = raw, thread or ucontext in tests.
navarrop [Thu, 6 Jan 2011 12:36:48 +0000 (12:36 +0000)]
Need to passe this line in debug due to cfg = raw, thread or ucontext in tests.
One tesh file for 3 configurations.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9376 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd an option to tesh : --cfg
navarrop [Thu, 6 Jan 2011 12:36:47 +0000 (12:36 +0000)]
Add an option to tesh : --cfg

ADD_TEST(msg-icomms-raw  tesh  --cfg simix/context:raw
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
ADD_TEST(msg-icomms-thread  tesh  --cfg simix/context:thread
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms
ADD_TEST(msg-icomms-ucontext tesh  --cfg simix/context:ucontext
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/icomms
--cd ${CMAKE_BINARY_DIR}/examples/msg/icomms

We can give many cfg to tesh.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9375 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agogenerate sources into CMAKE_CURRENT_BINARY_DIR.
navarrop [Thu, 6 Jan 2011 10:23:32 +0000 (10:23 +0000)]
generate sources into CMAKE_CURRENT_BINARY_DIR.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9374 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoNeed this lines because when using gtnets, the libgtnets make a libc malloc
navarrop [Thu, 6 Jan 2011 10:23:31 +0000 (10:23 +0000)]
Need this lines because when using gtnets, the libgtnets make a libc malloc
so we can't do a mfree after.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9373 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoUpdate tesh for mc.
navarrop [Thu, 6 Jan 2011 10:23:30 +0000 (10:23 +0000)]
Update tesh for mc.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9372 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoSuppress warning of cmake in mac.
navarrop [Thu, 6 Jan 2011 10:23:29 +0000 (10:23 +0000)]
Suppress warning of cmake in mac.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9371 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoWe have to somehow rely on F2C if we want it.
pini [Thu, 6 Jan 2011 10:13:36 +0000 (10:13 +0000)]
We have to somehow rely on F2C if we want it.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9370 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdded support for sampling up to a given number of iterations or until a threshold...
pini [Wed, 5 Jan 2011 18:11:39 +0000 (18:11 +0000)]
Added support for sampling up to a given number of iterations or until a threshold on relative standard error is reached (whichever occurs first). Use negative values to disable.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9369 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] updating process migration tracing tesh
schnorr [Wed, 5 Jan 2011 18:09:01 +0000 (18:09 +0000)]
[trace] updating process migration tracing tesh

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9368 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] process category is deprecated (for now, at least)
schnorr [Wed, 5 Jan 2011 18:09:00 +0000 (18:09 +0000)]
[trace] process category is deprecated (for now, at least)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9367 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] using process name and PID as identification for user when tracing/msg/process:1
schnorr [Wed, 5 Jan 2011 18:08:58 +0000 (18:08 +0000)]
[trace] using process name and PID as identification for user when tracing/msg/process:1

- process categorization is deprecated (simpler
instrumentation to try to make model-checking possible)
- simpler instrumentation == all process being traced
when tracing/msg/process:1

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9366 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] unique id's for types and containers have to be handled by respective "new...
schnorr [Wed, 5 Jan 2011 18:08:52 +0000 (18:08 +0000)]
[trace] unique id's for types and containers have to be handled by respective "new" functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9365 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoCosmetics
navarrop [Wed, 5 Jan 2011 16:32:19 +0000 (16:32 +0000)]

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9364 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoCan compile out of source now.
navarrop [Wed, 5 Jan 2011 15:46:13 +0000 (15:46 +0000)]
Can compile out of source now.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9363 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoDestroy mutex and condition.
navarrop [Wed, 5 Jan 2011 15:22:42 +0000 (15:22 +0000)]
Destroy mutex and condition.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9362 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoRemove old comments.
navarrop [Wed, 5 Jan 2011 13:57:46 +0000 (13:57 +0000)]
Remove old comments.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9361 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoTest if having futex.h.
navarrop [Wed, 5 Jan 2011 13:56:25 +0000 (13:56 +0000)]
Test if having futex.h.
If it's not present use xbt_os_thread.h

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9360 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] clean-up tracing ctests
schnorr [Wed, 5 Jan 2011 09:08:13 +0000 (09:08 +0000)]
[trace] clean-up tracing ctests

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9359 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd suport for TestAny and WaitAny requests to the model-checker.
cristianrosa [Wed, 5 Jan 2011 09:02:47 +0000 (09:02 +0000)]
Add suport for TestAny and WaitAny requests to the model-checker.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9358 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: killall should execute all processes after killing them in order to let them...
cristianrosa [Wed, 5 Jan 2011 09:02:45 +0000 (09:02 +0000)]
Bugfix: killall should execute all processes after killing them in order to let them clean up.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9357 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoRework state's implementation to better support waitany and testany type of transitions
cristianrosa [Wed, 5 Jan 2011 09:02:34 +0000 (09:02 +0000)]
Rework state's implementation to better support waitany and testany type of transitions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9356 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoReplace the setsets in the MC's states by malloced arrays.
cristianrosa [Wed, 5 Jan 2011 09:02:32 +0000 (09:02 +0000)]
Replace the setsets in the MC's states by malloced arrays.
In the case that a process has multiple transitions enabled
(like when executing a waitany request) the process should be
several times in the interleave set, so we need multisets, and
the setsets are useless.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9355 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoFix SMPI scripts against the target directory
pini [Tue, 4 Jan 2011 14:36:24 +0000 (14:36 +0000)]
Fix SMPI scripts against the target directory

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9352 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoStill working on Chord
thiery [Tue, 4 Jan 2011 14:13:57 +0000 (14:13 +0000)]
Still working on Chord

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9351 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd a debug message
thiery [Tue, 4 Jan 2011 14:13:55 +0000 (14:13 +0000)]
Add a debug message

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9350 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] updating tracing tesh'es to check correct container destruction order
schnorr [Mon, 3 Jan 2011 14:49:19 +0000 (14:49 +0000)]
[trace] updating tracing tesh'es to check correct container destruction order

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9349 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] improved example of traced migration
schnorr [Mon, 3 Jan 2011 14:49:18 +0000 (14:49 +0000)]
[trace] improved example of traced migration

- more migrations
- set task category to see states and links of task send/receive/execute

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9348 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] tracing/msg/process:1 has states/links for task execute/send/receive
schnorr [Mon, 3 Jan 2011 14:49:17 +0000 (14:49 +0000)]
[trace] tracing/msg/process:1 has states/links for task execute/send/receive

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9347 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] dump *before* destroy container, correct trace file
schnorr [Mon, 3 Jan 2011 14:49:15 +0000 (14:49 +0000)]
[trace] dump *before* destroy container, correct trace file

- unconditional dump when any container is destroyed
- this is needed in order to create a consistent trace
for process migration and task gantt-chart

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9346 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] setting the process state to "executing" after migration
schnorr [Mon, 3 Jan 2011 14:49:13 +0000 (14:49 +0000)]
[trace] setting the process state to "executing" after migration

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9345 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] faster method to insert into buffer
schnorr [Mon, 3 Jan 2011 12:30:34 +0000 (12:30 +0000)]
[trace] faster method to insert into buffer

- insert directly at the end if last event has
the same timestamp as the event to be inserted

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9344 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] updating tesh'es to unconditional buffer dump after platform parsing
schnorr [Mon, 3 Jan 2011 12:30:32 +0000 (12:30 +0000)]
[trace] updating tesh'es to unconditional buffer dump after platform parsing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9343 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] faster method to dump when unconditional dump to trace file is possible
schnorr [Mon, 3 Jan 2011 12:30:31 +0000 (12:30 +0000)]
[trace] faster method to dump when unconditional dump to trace file is possible

- if force == 1, no checks: dump and free all events
- specially useful for big platform files (such as g5k)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9342 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] fix on tesh again, missing log lines
schnorr [Mon, 3 Jan 2011 11:43:16 +0000 (11:43 +0000)]
[trace] fix on tesh again, missing log lines

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9341 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] fixing the tesh to contain the proper log format
schnorr [Mon, 3 Jan 2011 10:30:15 +0000 (10:30 +0000)]
[trace] fixing the tesh to contain the proper log format

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9340 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] simpler verifications to see what is enabled before tracing
schnorr [Wed, 29 Dec 2010 13:53:57 +0000 (13:53 +0000)]
[trace] simpler verifications to see what is enabled before tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9339 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] kill dictionary that is no longer necessary
schnorr [Wed, 29 Dec 2010 13:53:56 +0000 (13:53 +0000)]
[trace] kill dictionary that is no longer necessary

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9338 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] updating tracing tesh files to compare trace files also (and debug messages...
schnorr [Wed, 29 Dec 2010 12:44:08 +0000 (12:44 +0000)]
[trace] updating tracing tesh files to compare trace files also (and debug messages for ms.tesh)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9337 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] debug messages for tracing data structures (creation and destruction)
schnorr [Wed, 29 Dec 2010 12:44:07 +0000 (12:44 +0000)]
[trace] debug messages for tracing data structures (creation and destruction)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9336 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] debug messages for event buffering and tracing
schnorr [Wed, 29 Dec 2010 12:44:06 +0000 (12:44 +0000)]
[trace] debug messages for event buffering and tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9335 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] removing unused code
schnorr [Wed, 29 Dec 2010 12:44:05 +0000 (12:44 +0000)]
[trace] removing unused code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9334 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] dump previous events because container is about to be destroyed
schnorr [Wed, 29 Dec 2010 11:38:04 +0000 (11:38 +0000)]
[trace] dump previous events because container is about to be destroyed

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9333 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] cosmetics
schnorr [Wed, 29 Dec 2010 11:38:04 +0000 (11:38 +0000)]
[trace] cosmetics

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9332 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] only CPU models control the last timestamp to be dumped to trace file
schnorr [Wed, 29 Dec 2010 11:38:03 +0000 (11:38 +0000)]
[trace] only CPU models control the last timestamp to be dumped to trace file

- for CPU model Cas01_fullupdate, it is safe to set TRACE_last_timestamp_to_dump to now-delta
- for CPU model Cas01, the last timestamp to be dumped must be equal
to the smaller cpu->last_update among all cpu resources
- for now, network models depend on cpu models to dump their events
       => if a simulator is configured to have only a network model, without
       an instrumented cpu model (or without a cpu model at all), the
       dump will occur only in the end of simulation.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9331 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] dump the sorted buffer at the end of every simulation round
schnorr [Wed, 29 Dec 2010 11:38:02 +0000 (11:38 +0000)]
[trace] dump the sorted buffer at the end of every simulation round

- remember that this dump might do nothing if
the TRACE_last_timestamp_to_dump was not updated previously

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9330 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] at the end of tracing, dump everything up to last simulated time
schnorr [Wed, 29 Dec 2010 11:38:01 +0000 (11:38 +0000)]
[trace] at the end of tracing, dump everything up to last simulated time

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9329 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] limiting the dumping of buffered events to a given timestamp
schnorr [Wed, 29 Dec 2010 11:38:00 +0000 (11:38 +0000)]
[trace] limiting the dumping of buffered events to a given timestamp

- the given timestamp is the one of variable TRACE_last_timestamp_to_dump
- this allows a better control of the dumping, so the tracing system
can dump at the same time it assures a perfectly time-ordered trace file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9328 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] have to dump the buffer, trace events might use the container that is about...
schnorr [Tue, 28 Dec 2010 23:19:50 +0000 (23:19 +0000)]
[trace] have to dump the buffer, trace events might use the container that is about to be freed

- this only affects simulators with process migration
- this might break the timestamps order in the trace file,
a better solution consists in cleaning out from the buffer
only the affected events

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9327 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] removing old code
schnorr [Tue, 28 Dec 2010 23:19:49 +0000 (23:19 +0000)]
[trace] removing old code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9326 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] free memory after events are recorded in trace file
schnorr [Tue, 28 Dec 2010 23:19:47 +0000 (23:19 +0000)]
[trace] free memory after events are recorded in trace file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9325 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] same field order for all specific event structures
schnorr [Tue, 28 Dec 2010 23:19:46 +0000 (23:19 +0000)]
[trace] same field order for all specific event structures

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9324 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] buffering all events except type hierarchy definition and create/destroy...
schnorr [Tue, 28 Dec 2010 23:19:44 +0000 (23:19 +0000)]
[trace] buffering all events except type hierarchy definition and create/destroy container

- leaking memory now, to be fixed in the next commits

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9323 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] set of initial value of variables to any resource variable
schnorr [Tue, 28 Dec 2010 23:19:42 +0000 (23:19 +0000)]
[trace] set of initial value of variables to any resource variable

- otherwise paje won't simulate add/sub variable events

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9322 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] simpler event types handling, integer of enum is the event identifier
schnorr [Tue, 28 Dec 2010 23:19:40 +0000 (23:19 +0000)]
[trace] simpler event types handling, integer of enum is the event identifier

- we have now 15 paje events on the trace header

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9321 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] re-organizing structures for tracing events
schnorr [Tue, 28 Dec 2010 09:37:59 +0000 (09:37 +0000)]
[trace] re-organizing structures for tracing events

- paje_event_t is allocated by all types, data field contains
specific information. it is possible to cast correctly following
the event_type value.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9320 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] removing unused fields on event structure
schnorr [Tue, 28 Dec 2010 09:37:58 +0000 (09:37 +0000)]
[trace] removing unused fields on event structure

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9319 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] creation of a type also defines its own color, when appropriate
schnorr [Tue, 28 Dec 2010 09:37:57 +0000 (09:37 +0000)]
[trace] creation of a type also defines its own color, when appropriate

- colors are significant only if type is variable or event, otherwise
the type color attribute is NULL.
- if no color is provided when a variable or event type is defined,
its color will be white.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9318 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] cosmetics, simpler code
schnorr [Tue, 28 Dec 2010 09:37:56 +0000 (09:37 +0000)]
[trace] cosmetics, simpler code

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9317 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] changing the interface to write on the tracing file
schnorr [Mon, 27 Dec 2010 16:56:16 +0000 (16:56 +0000)]
[trace] changing the interface to write on the tracing file

- this is a first step towards event buffering and friends

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9316 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] updating the configuration generated for triva
schnorr [Wed, 22 Dec 2010 18:37:54 +0000 (18:37 +0000)]
[trace] updating the configuration generated for triva

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9314 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] register of node and edge types that were defined during tracing
schnorr [Wed, 22 Dec 2010 18:37:52 +0000 (18:37 +0000)]
[trace] register of node and edge types that were defined during tracing

- they are used to generate triva graph configurations

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9313 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] keep tracing data structures until the very last moment before shutdown
schnorr [Wed, 22 Dec 2010 18:37:51 +0000 (18:37 +0000)]
[trace] keep tracing data structures until the very last moment before shutdown

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9312 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] this problem is already fixed in a previous commit
schnorr [Wed, 22 Dec 2010 18:37:49 +0000 (18:37 +0000)]
[trace] this problem is already fixed in a previous commit

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9311 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] cosmetics
schnorr [Wed, 22 Dec 2010 18:37:48 +0000 (18:37 +0000)]
[trace] cosmetics

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9310 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] a source file to keep functions to deal with data structures for paje tracing
schnorr [Wed, 22 Dec 2010 18:37:46 +0000 (18:37 +0000)]
[trace] a source file to keep functions to deal with data structures for paje tracing

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9309 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] renaming instrumentation source file
schnorr [Wed, 22 Dec 2010 18:37:45 +0000 (18:37 +0000)]
[trace] renaming instrumentation source file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9308 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] assertions to point out errors on tracing
schnorr [Wed, 22 Dec 2010 18:37:43 +0000 (18:37 +0000)]
[trace] assertions to point out errors on tracing

- all char parameters of these functions must be non-NULL
and have at least one character

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9307 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoNew way to install gtnets.
navarrop [Wed, 22 Dec 2010 14:55:34 +0000 (14:55 +0000)]
New way to install gtnets.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9306 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoUpdate tesh.pl
navarrop [Wed, 22 Dec 2010 14:55:33 +0000 (14:55 +0000)]
Update tesh.pl

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9305 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoUpdate tesh file for gtnets.
navarrop [Wed, 22 Dec 2010 14:55:32 +0000 (14:55 +0000)]
Update tesh file for gtnets.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9304 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] fix on link type creation (was indexed by type name, but should consider...
schnorr [Wed, 22 Dec 2010 13:45:09 +0000 (13:45 +0000)]
[trace] fix on link type creation (was indexed by type name, but should consider source and dest)

- small re-organization of the code, type declaration is made on get function
if the type the caller is looking for is not found

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9303 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] fix on use of dynar, storing pointers in it, have to correctly cast when...
schnorr [Mon, 20 Dec 2010 16:50:11 +0000 (16:50 +0000)]
[trace] fix on use of dynar, storing pointers in it, have to correctly cast when getting them back

- this fix a segfault when destroying containers and freeing memory

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9302 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] category of a task without before dependencies equals the category of the...
schnorr [Mon, 20 Dec 2010 14:33:34 +0000 (14:33 +0000)]
[trace] category of a task without before dependencies equals the category of the task of after dependency

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9301 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years ago[trace] fix segfault, only get category from depbefore if depbefore->src is different...
schnorr [Mon, 20 Dec 2010 14:33:33 +0000 (14:33 +0000)]
[trace] fix segfault, only get category from depbefore if depbefore->src is different of NULL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9300 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: return after answering the request when running in MC mode.
cristianrosa [Mon, 20 Dec 2010 09:45:39 +0000 (09:45 +0000)]
Bugfix: return after answering the request when running in MC mode.
Othrewise it will answer the request twice.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9299 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoImprove debugging information
cristianrosa [Mon, 20 Dec 2010 09:45:36 +0000 (09:45 +0000)]
Improve debugging information

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9298 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoProtect some host execute functions in the case that simix actions don't have a surf...
cristianrosa [Mon, 20 Dec 2010 09:45:32 +0000 (09:45 +0000)]
Protect some host execute functions in the case that simix actions don't have a surf action associated to it.
This is the case when running the MC

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9297 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoLonger error messages taken into account
suter [Sat, 18 Dec 2010 13:56:27 +0000 (13:56 +0000)]
Longer error messages taken into account

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9296 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoFix the fix that fixes parameter passing through makecontext.
pini [Sat, 18 Dec 2010 09:09:17 +0000 (09:09 +0000)]
Fix the fix that fixes parameter passing through makecontext.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9295 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoexplain clearly when things go wrong just because we broke the backward compatibility
mquinson [Fri, 17 Dec 2010 20:33:27 +0000 (20:33 +0000)]
explain clearly when things go wrong just because we broke the backward compatibility

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9294 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoOnly evaluate the arguments needed.
pini [Fri, 17 Dec 2010 20:21:16 +0000 (20:21 +0000)]
Only evaluate the arguments needed.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9293 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agofix a linking error in libgras. At least I hope since another issue prevents me from...
mquinson [Fri, 17 Dec 2010 19:54:40 +0000 (19:54 +0000)]
fix a linking error in libgras. At least I hope since another issue prevents me from even compiling...

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9292 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: assuming that arguments are pushed on the stack is just wrong at least on...
pini [Fri, 17 Dec 2010 14:45:19 +0000 (14:45 +0000)]
Bugfix: assuming that arguments are pushed on the stack is just wrong at least on some 64 bits machines.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9289 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd include/xbt/parmap.h to install target.
navarrop [Fri, 17 Dec 2010 11:55:41 +0000 (11:55 +0000)]
Add include/xbt/parmap.h to install target.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9288 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd bin graphicator to gitignore.
navarrop [Fri, 17 Dec 2010 11:55:40 +0000 (11:55 +0000)]
Add bin graphicator to gitignore.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9287 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd functions to tesh.pl
navarrop [Fri, 17 Dec 2010 11:55:38 +0000 (11:55 +0000)]
Add functions to tesh.pl

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9286 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoFix memory leaks
thiery [Fri, 17 Dec 2010 11:00:20 +0000 (11:00 +0000)]
Fix memory leaks

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9285 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agothis line is not only UGLY, but it exists a path where it could be dangerous. Good...
mquinson [Fri, 17 Dec 2010 09:22:44 +0000 (09:22 +0000)]
this line is not only UGLY, but it exists a path where it could be dangerous. Good catch cppcheck

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9284 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoprivatize static globals so that supernovae works again
mquinson [Fri, 17 Dec 2010 08:47:07 +0000 (08:47 +0000)]
privatize static globals so that supernovae works again

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9283 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agokill pimples in SIMIX intended to make the stack-free context factory working: this...
mquinson [Fri, 17 Dec 2010 08:38:50 +0000 (08:38 +0000)]
kill pimples in SIMIX intended to make the stack-free context factory working: this attempt was abandoned

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9282 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoload the right header to make sure that we have getline
mquinson [Fri, 17 Dec 2010 08:38:48 +0000 (08:38 +0000)]
load the right header to make sure that we have getline

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9281 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoDocument lastest change from Midjy (since he doesn't do it himself ;)
mquinson [Fri, 17 Dec 2010 08:38:39 +0000 (08:38 +0000)]
Document lastest change from Midjy (since he doesn't do it himself ;)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9280 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoChord finally beats the deadlocks
thiery [Thu, 16 Dec 2010 18:16:34 +0000 (18:16 +0000)]
Chord finally beats the deadlocks

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9279 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoThe term 'request' was misleading here
thiery [Thu, 16 Dec 2010 18:16:31 +0000 (18:16 +0000)]
The term 'request' was misleading here

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9278 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoRemove generated file
thiery [Thu, 16 Dec 2010 16:20:34 +0000 (16:20 +0000)]
Remove generated file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9277 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: deadlock detection was wrong. Reimplemented.
cristianrosa [Thu, 16 Dec 2010 16:16:11 +0000 (16:16 +0000)]
Bugfix: deadlock detection was wrong. Reimplemented.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9276 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: correctly set/unset the raw memory when taking/restoring snapshots
cristianrosa [Thu, 16 Dec 2010 16:16:09 +0000 (16:16 +0000)]
Bugfix: correctly set/unset the raw memory when taking/restoring snapshots

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9275 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoAdd deployment file for the bugged3 example.
cristianrosa [Thu, 16 Dec 2010 16:15:59 +0000 (16:15 +0000)]
Add deployment file for the bugged3 example.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9274 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoImprove the debugging information
cristianrosa [Thu, 16 Dec 2010 16:15:57 +0000 (16:15 +0000)]
Improve the debugging information

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9273 48e7efb5-ca39-0410-a469-dd3cf9ba447f

11 years agoBugfix: make sure we include the definition of HAVE_MC
cristianrosa [Thu, 16 Dec 2010 16:15:47 +0000 (16:15 +0000)]
Bugfix: make sure we include the definition of HAVE_MC

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9272 48e7efb5-ca39-0410-a469-dd3cf9ba447f