Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoCorrectely use xbt_str_varsubs
navarrop [Tue, 15 Feb 2011 16:43:24 +0000 (16:43 +0000)]
Correctely use xbt_str_varsubs

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

8 years agoAdd another SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:09:02 +0000 (16:09 +0000)]
Add another SMPI bugged example to test the MC.

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

8 years agoAlways show the MC statistics on exit.
cristianrosa [Tue, 15 Feb 2011 16:09:00 +0000 (16:09 +0000)]
Always show the MC statistics on exit.

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

8 years agoIf --cfg=model-check:2 was passed, use a DFS exploration.
cristianrosa [Tue, 15 Feb 2011 16:08:49 +0000 (16:08 +0000)]
If --cfg=model-check:2 was passed, use a DFS exploration.

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

8 years agoAdd SMPI bugged example to test the MC.
cristianrosa [Tue, 15 Feb 2011 16:08:48 +0000 (16:08 +0000)]
Add SMPI bugged example to test the MC.

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

8 years agoCount the context switches as user code also.
cristianrosa [Tue, 15 Feb 2011 16:08:37 +0000 (16:08 +0000)]
Count the context switches as user code also.

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

8 years agoCompute the real simulation time.
cristianrosa [Tue, 15 Feb 2011 16:08:35 +0000 (16:08 +0000)]
Compute the real simulation time.

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

8 years agoThis job is done two time.
navarrop [Tue, 15 Feb 2011 13:15:58 +0000 (13:15 +0000)]
This job is done two time.
Also in surf_parse_add_callback_config(void)

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

8 years agoFind simgrid version
navarrop [Tue, 15 Feb 2011 13:15:54 +0000 (13:15 +0000)]
Find simgrid version

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

8 years agoConsider the value of the cfg=model-checker flag
thiery [Tue, 15 Feb 2011 10:01:50 +0000 (10:01 +0000)]
Consider the value of the cfg=model-checker flag

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

8 years agoAdd sources for rngstreams
navarrop [Mon, 14 Feb 2011 16:25:20 +0000 (16:25 +0000)]
Add sources for rngstreams

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

8 years agoAdd --log option to token_ring.tesh
navarrop [Mon, 14 Feb 2011 13:49:15 +0000 (13:49 +0000)]
Add --log option to token_ring.tesh

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

8 years agoReimplement old tag random.
navarrop [Mon, 14 Feb 2011 13:30:32 +0000 (13:30 +0000)]
Reimplement old tag random.
Need to be rewrite (in progress)

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

8 years agoCosmetics
navarrop [Mon, 14 Feb 2011 13:30:31 +0000 (13:30 +0000)]
Cosmetics

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

8 years agoAdd a gforge sync for simgrid.dtd
navarrop [Mon, 14 Feb 2011 13:30:30 +0000 (13:30 +0000)]
Add a gforge sync for simgrid.dtd

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

8 years agoAdd an unused (for the moment) module file
navarrop [Mon, 14 Feb 2011 13:30:29 +0000 (13:30 +0000)]
Add an unused (for the moment) module file

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

8 years agoDon't search for RngStream.h but specific file simulator.h
navarrop [Mon, 14 Feb 2011 13:30:28 +0000 (13:30 +0000)]
Don't search for RngStream.h but specific file simulator.h

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

8 years ago[trace] fix bug on interconnections tracing
schnorr [Mon, 14 Feb 2011 13:19:48 +0000 (13:19 +0000)]
[trace] fix bug on interconnections tracing

details:
- this commit reduces the trace size (in the paje format)
of g5k platform from ~16M to ~404K without loss of information

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

8 years agoReview const attribute for pointers..
agiersch [Fri, 11 Feb 2011 17:01:08 +0000 (17:01 +0000)]
Review const attribute for pointers..

The main goal for this patch is to remove the cast for the argument of
free() in MSG_action_runner().

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

8 years agoUse xbt_dynar_free to destroy dynar.
agiersch [Fri, 11 Feb 2011 17:01:03 +0000 (17:01 +0000)]
Use xbt_dynar_free to destroy dynar.

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

8 years agoRemove useless cast.
agiersch [Fri, 11 Feb 2011 17:01:00 +0000 (17:01 +0000)]
Remove useless cast.

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

8 years agoCosmetics: fix indentation.
agiersch [Fri, 11 Feb 2011 17:00:57 +0000 (17:00 +0000)]
Cosmetics: fix indentation.

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

8 years agoRemove useless operation.
agiersch [Fri, 11 Feb 2011 17:00:53 +0000 (17:00 +0000)]
Remove useless operation.

dynar is free'd two lines below...

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

8 years agoFix and cleanups for test msg-icomms-waitany.
agiersch [Fri, 11 Feb 2011 17:00:50 +0000 (17:00 +0000)]
Fix and cleanups for test msg-icomms-waitany.

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

8 years agoFree mallocator for SIMIX actions on exit.
agiersch [Fri, 11 Feb 2011 17:00:47 +0000 (17:00 +0000)]
Free mallocator for SIMIX actions on exit.

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

8 years agoAdd missing XBT_PUBLIC.
agiersch [Fri, 11 Feb 2011 17:00:44 +0000 (17:00 +0000)]
Add missing XBT_PUBLIC.

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

8 years agoRemove duplicated declaration.
agiersch [Fri, 11 Feb 2011 17:00:41 +0000 (17:00 +0000)]
Remove duplicated declaration.

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

8 years agoNeed to set DIR_IS_LINK for use pwd -P
navarrop [Fri, 11 Feb 2011 15:46:59 +0000 (15:46 +0000)]
Need to set DIR_IS_LINK for use pwd -P

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

8 years agoUse verbose instead of debug-
cristianrosa [Thu, 10 Feb 2011 15:37:42 +0000 (15:37 +0000)]
Use verbose instead of debug-

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

8 years agoCompute the user code execution time
cristianrosa [Thu, 10 Feb 2011 15:37:31 +0000 (15:37 +0000)]
Compute the user code execution time

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

8 years agoShow also the sub-scheduling rounds.
cristianrosa [Thu, 10 Feb 2011 15:37:29 +0000 (15:37 +0000)]
Show also the sub-scheduling rounds.

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

8 years agoAdd a verification on gcc version.
navarrop [Thu, 10 Feb 2011 12:57:15 +0000 (12:57 +0000)]
Add a verification on gcc version.
On mac we must have gcc45.
Set by default to gcc40 for other.

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

8 years agomake jedule compilable with all warning flags
sahu [Wed, 9 Feb 2011 11:40:17 +0000 (11:40 +0000)]
make jedule compilable with all warning flags

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

8 years agojed output written to simgrid.jed
sahu [Wed, 9 Feb 2011 11:40:16 +0000 (11:40 +0000)]
jed output written to simgrid.jed

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

8 years agoadded jedule output to SimDAG
sahu [Wed, 9 Feb 2011 11:40:14 +0000 (11:40 +0000)]
added jedule output to SimDAG

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

8 years agojedule binding to SD started
sahu [Wed, 9 Feb 2011 11:40:11 +0000 (11:40 +0000)]
jedule binding to SD started

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

8 years agoSimix: add requests to make isend+wait or irecv+wait in only one call
thiery [Tue, 8 Feb 2011 17:37:25 +0000 (17:37 +0000)]
Simix: add requests to make isend+wait or irecv+wait in only one call

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

8 years agoChord: display the number of messages created
thiery [Tue, 8 Feb 2011 17:37:22 +0000 (17:37 +0000)]
Chord: display the number of messages created

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

8 years agoIt does not work on apple to.
navarrop [Tue, 8 Feb 2011 16:18:45 +0000 (16:18 +0000)]
It does not work on apple to.

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

8 years agoThose lines are UNIX only.
navarrop [Tue, 8 Feb 2011 16:08:05 +0000 (16:08 +0000)]
Those lines are UNIX only.

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

8 years agoAdd tests for code covergae.
navarrop [Tue, 8 Feb 2011 16:08:04 +0000 (16:08 +0000)]
Add tests for code covergae.
Tests for :
get_network_element_type(key)
Model Dijkstra

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

8 years ago[trace] process container creation must be before simix request
schnorr [Mon, 7 Feb 2011 15:26:59 +0000 (15:26 +0000)]
[trace] process container creation must be before simix request

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

8 years agoRemoved unnecessary print on master process, tests now cope with this change.
velho [Mon, 7 Feb 2011 13:41:43 +0000 (13:41 +0000)]
Removed unnecessary print on master process, tests now cope with this change.

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

8 years agoRemoved master message to improve output readability.
velho [Mon, 7 Feb 2011 13:41:40 +0000 (13:41 +0000)]
Removed master message to improve output readability.

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

8 years ago[trace] updating tesh'es to consider the new event in tracefile
schnorr [Mon, 7 Feb 2011 13:36:40 +0000 (13:36 +0000)]
[trace] updating tesh'es to consider the new event in tracefile

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

8 years ago[trace] only one id generator for tracing system
schnorr [Mon, 7 Feb 2011 13:36:38 +0000 (13:36 +0000)]
[trace] only one id generator for tracing system

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

8 years ago[trace] free the type values
schnorr [Mon, 7 Feb 2011 13:36:38 +0000 (13:36 +0000)]
[trace] free the type values

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

8 years ago[trace] new data structure to hold values of states, events and links
schnorr [Mon, 7 Feb 2011 13:36:37 +0000 (13:36 +0000)]
[trace] new data structure to hold values of states, events and links

details:
- we save some trace space with this, by using aliases to state values
- links is yet to be done

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

8 years ago[trace] removing unused code
schnorr [Mon, 7 Feb 2011 13:36:36 +0000 (13:36 +0000)]
[trace] removing unused code

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

8 years ago[trace] better way of getting references to types
schnorr [Mon, 7 Feb 2011 13:36:35 +0000 (13:36 +0000)]
[trace] better way of getting references to types

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

8 years agoDefine CONTEXT_THREADS in simgrid_config.h.
agiersch [Fri, 4 Feb 2011 15:50:10 +0000 (15:50 +0000)]
Define CONTEXT_THREADS in simgrid_config.h.

It is needed by include/simix/context.h, but it cannot include
gras_config.h which is not installed.

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

8 years agoDoctype as changed.
agiersch [Fri, 4 Feb 2011 15:50:06 +0000 (15:50 +0000)]
Doctype as changed.

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

8 years ago[trace] cleaner instrumentation
schnorr [Fri, 4 Feb 2011 14:09:33 +0000 (14:09 +0000)]
[trace] cleaner instrumentation

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

8 years ago[trace] categories are only used for characterized resource utilization tracing
schnorr [Fri, 4 Feb 2011 14:09:31 +0000 (14:09 +0000)]
[trace] categories are only used for characterized resource utilization tracing

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

8 years ago[trace] return NULL instead of launching exception if a container does not exists
schnorr [Fri, 4 Feb 2011 12:49:32 +0000 (12:49 +0000)]
[trace] return NULL instead of launching exception if a container does not exists

details:
- it shouldn't be like this, but it is the easy way of ignoring updates
on links such as the __lookback__, not known by the tracing before-hand

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

8 years agomodel-check output more parsable
schnorr [Fri, 4 Feb 2011 09:52:41 +0000 (09:52 +0000)]
model-check output more parsable

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

8 years agoChoose between parallel and serial dynamically only if needed
thiery [Thu, 3 Feb 2011 18:39:39 +0000 (18:39 +0000)]
Choose between parallel and serial dynamically only if needed

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

8 years agoVarious optimizations
thiery [Thu, 3 Feb 2011 17:09:11 +0000 (17:09 +0000)]
Various optimizations

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

8 years agoThis action name is not used
thiery [Thu, 3 Feb 2011 15:52:14 +0000 (15:52 +0000)]
This action name is not used

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

8 years agoThe process list of MSG is now a swag instead of a fifo.
thiery [Thu, 3 Feb 2011 13:20:47 +0000 (13:20 +0000)]
The process list of MSG is now a swag instead of a fifo.

When a process finishes, MSG removes it from the list and this operation
was not efficient with a fifo.

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

8 years agoOptimization of the lmm_variable_t mallocator
thiery [Thu, 3 Feb 2011 09:30:39 +0000 (09:30 +0000)]
Optimization of the lmm_variable_t mallocator

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

8 years agoLarge-scale simulations need bigger mallocators
thiery [Wed, 2 Feb 2011 17:13:35 +0000 (17:13 +0000)]
Large-scale simulations need bigger mallocators

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

8 years agoUse a mallocator for SIMIX actions
thiery [Wed, 2 Feb 2011 16:50:16 +0000 (16:50 +0000)]
Use a mallocator for SIMIX actions

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

8 years agoOptimize xbt heaps a little bit: xbt_heap_pop() is 18% faster now
thiery [Wed, 2 Feb 2011 16:50:14 +0000 (16:50 +0000)]
Optimize xbt heaps a little bit: xbt_heap_pop() is 18% faster now

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

8 years agoC99 allows us to put %zu after all
thiery [Wed, 2 Feb 2011 16:50:10 +0000 (16:50 +0000)]
C99 allows us to put %zu after all

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

8 years ago[trace] fixing tracing tesh'es due to changes in event order
schnorr [Wed, 2 Feb 2011 13:23:20 +0000 (13:23 +0000)]
[trace] fixing tracing tesh'es due to changes in event order

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

8 years ago[trace] constant model is explicitly not traced
schnorr [Wed, 2 Feb 2011 10:53:29 +0000 (10:53 +0000)]
[trace] constant model is explicitly not traced

details:
- this resolves a segfault when network constant model is used
with --cfg=tracing:1

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

8 years agoA cast is needed here to avoid warnings in both 32 bit and 64 bit
thiery [Wed, 2 Feb 2011 10:37:26 +0000 (10:37 +0000)]
A cast is needed here to avoid warnings in both 32 bit and 64 bit

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

8 years agoFix a compilation warning introduced by r9557
thiery [Tue, 1 Feb 2011 17:39:47 +0000 (17:39 +0000)]
Fix a compilation warning introduced by r9557

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

8 years agoAdd a flag --cfg=contexts/parallel_threshold:n
thiery [Tue, 1 Feb 2011 17:34:19 +0000 (17:34 +0000)]
Add a flag --cfg=contexts/parallel_threshold:n

At each scheduling rounding, the user contexts are run in
parallel if their number is greater than this threshold.

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

8 years agoAdd parallel contexts test binary to .gitignore
thiery [Tue, 1 Feb 2011 16:31:18 +0000 (16:31 +0000)]
Add parallel contexts test binary to .gitignore

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

8 years agoRemove SIMIX requests that get src and dst buffers and their sizes
thiery [Tue, 1 Feb 2011 16:31:16 +0000 (16:31 +0000)]
Remove SIMIX requests that get src and dst buffers and their sizes

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

8 years agoUse a mallocator for the Surf actions
thiery [Tue, 1 Feb 2011 16:31:14 +0000 (16:31 +0000)]
Use a mallocator for the Surf actions

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

8 years agoForgot void inside parenthesis
thiery [Tue, 1 Feb 2011 16:31:12 +0000 (16:31 +0000)]
Forgot void inside parenthesis

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

8 years agoOptimization, if no parallel execution is selected use the serial execution.
cristianrosa [Tue, 1 Feb 2011 15:00:26 +0000 (15:00 +0000)]
Optimization, if no parallel execution is selected use the serial execution.

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

8 years agoImplement a dynamic parallel execution mode.
cristianrosa [Tue, 1 Feb 2011 14:32:10 +0000 (14:32 +0000)]
Implement a dynamic parallel execution mode.

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

8 years ago-Add smx_ctx_sysv_get_thread_id to the parallel ucontext factory.
cristianrosa [Tue, 1 Feb 2011 13:34:25 +0000 (13:34 +0000)]
-Add smx_ctx_sysv_get_thread_id to the parallel ucontext factory.
-Unify smx_current_context variable for both sequential and // raw/sysv contexts.

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

8 years agoDon't read a comm after completion since it is auto-destroyed now.
thiery [Tue, 1 Feb 2011 12:53:00 +0000 (12:53 +0000)]
Don't read a comm after completion since it is auto-destroyed now.

This fixes the tests that were broken by r9538.

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

8 years agoCompile fix: rename function changed after merge.
cristianrosa [Tue, 1 Feb 2011 12:41:02 +0000 (12:41 +0000)]
Compile fix: rename function changed after merge.

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

8 years agoReplace the req_todo heap with a table of swags one for each running thread.
cristianrosa [Tue, 1 Feb 2011 12:37:27 +0000 (12:37 +0000)]
Replace the req_todo heap with a table of swags one for each running thread.

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

8 years agoUse the extra data field of the xbt_os_thread to store the worker id.
cristianrosa [Tue, 1 Feb 2011 12:37:25 +0000 (12:37 +0000)]
Use the extra data field of the xbt_os_thread to store the worker id.

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

8 years ago- Add SIMIX_context_get_thread_id to the context factory interface.
cristianrosa [Tue, 1 Feb 2011 12:37:22 +0000 (12:37 +0000)]
- Add SIMIX_context_get_thread_id to the context factory interface.
- Implement a default base function for it.
- Implement a raw context version for use with // threads.

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

8 years agoBugfix: set parallel contexts to 1 par default
cristianrosa [Tue, 1 Feb 2011 12:37:18 +0000 (12:37 +0000)]
Bugfix: set parallel contexts to 1 par default

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

8 years agoI forgot the ones without the extension .tesh
thiery [Tue, 1 Feb 2011 10:30:35 +0000 (10:30 +0000)]
I forgot the ones without the extension .tesh

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

8 years agoProtect --log=root.fmt flag with double quotes in tesh files
thiery [Tue, 1 Feb 2011 10:27:02 +0000 (10:27 +0000)]
Protect --log=root.fmt flag with double quotes in tesh files

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

8 years agoRename flag cfg=contexts/parallel to cfg=contexts/nthreads
thiery [Tue, 1 Feb 2011 09:15:46 +0000 (09:15 +0000)]
Rename flag cfg=contexts/parallel to cfg=contexts/nthreads

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

8 years agocfg=contexts/parallel:nb is now the number of threads instead of a boolean
thiery [Tue, 1 Feb 2011 09:03:59 +0000 (09:03 +0000)]
cfg=contexts/parallel:nb is now the number of threads instead of a boolean

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

8 years agoFix possible compilation problem with the declaration of msg_comm_t
thiery [Mon, 31 Jan 2011 19:19:53 +0000 (19:19 +0000)]
Fix possible compilation problem with the declaration of msg_comm_t

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

8 years agoFix segfault when using parallel contexts
thiery [Mon, 31 Jan 2011 19:11:20 +0000 (19:11 +0000)]
Fix segfault when using parallel contexts

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

8 years agoUse a thread specific variable to store the current context instead of pthread_set...
cristianrosa [Mon, 31 Jan 2011 18:30:35 +0000 (18:30 +0000)]
Use a thread specific variable to store the current context instead of pthread_set/get specific.

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

8 years agobetter to include msg/msg.h to use msg functions
suter [Mon, 31 Jan 2011 18:26:00 +0000 (18:26 +0000)]
better to include msg/msg.h to use msg functions

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

8 years agoMake SIMIX_req_comm(test/wait/testany/waitany) requests to destroy the comm actions.
cristianrosa [Mon, 31 Jan 2011 16:21:54 +0000 (16:21 +0000)]
Make SIMIX_req_comm(test/wait/testany/waitany) requests to destroy the comm actions.

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

8 years agoFix a compilation problem with dsend and Chord
thiery [Mon, 31 Jan 2011 16:14:21 +0000 (16:14 +0000)]
Fix a compilation problem with dsend and Chord

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

8 years agoRename two_peer by two_peers
navarrop [Mon, 31 Jan 2011 15:49:09 +0000 (15:49 +0000)]
Rename two_peer by two_peers

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

8 years agoAdd token_ring example.
navarrop [Mon, 31 Jan 2011 15:47:55 +0000 (15:47 +0000)]
Add token_ring example.
For latency change get_latency between two routers by two AS with the same coordinates.

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

8 years agoMake SIMIX cleanup the user data of the detached isend communication actions.
cristianrosa [Mon, 31 Jan 2011 15:01:04 +0000 (15:01 +0000)]
Make SIMIX cleanup the user data of the detached isend communication actions.

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

8 years agoChord: use MSG_task_dsend when possible
thiery [Mon, 31 Jan 2011 14:48:12 +0000 (14:48 +0000)]
Chord: use MSG_task_dsend when possible

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

8 years agoAdd an example for communication between cluster or peer.
navarrop [Mon, 31 Jan 2011 13:35:28 +0000 (13:35 +0000)]
Add an example for communication between cluster or peer.

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

8 years agoI need those source files for java for the moment.
navarrop [Mon, 31 Jan 2011 13:35:27 +0000 (13:35 +0000)]
I need those source files for java for the moment.

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

8 years agoWe need to had symmetrical "no" to route from version x to 3.
navarrop [Mon, 31 Jan 2011 13:35:26 +0000 (13:35 +0000)]
We need to had symmetrical "no" to route from version x to 3.

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