Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoAdd MSG_task_dsend function to MSG.
cristianrosa [Mon, 31 Jan 2011 13:24:36 +0000 (13:24 +0000)]
Add MSG_task_dsend function to MSG.
MSG_task_dsend performs a best effort asynchronous send or dettached send.

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

13 years agoReturn the host failures in the same process sleep requests.
cristianrosa [Fri, 28 Jan 2011 16:25:50 +0000 (16:25 +0000)]
Return the host failures in the same process sleep requests.

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

13 years agoSet the task to NULL to avoid a warning message.
cristianrosa [Fri, 28 Jan 2011 16:25:39 +0000 (16:25 +0000)]
Set the task to NULL to avoid a warning message.

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

13 years agoCosmetic changes
cristianrosa [Fri, 28 Jan 2011 16:25:37 +0000 (16:25 +0000)]
Cosmetic changes

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

13 years agoMake msg_comm_t be a real structure again, not an alias of smx_comm_t.
thiery [Fri, 28 Jan 2011 16:23:54 +0000 (16:23 +0000)]
Make msg_comm_t be a real structure again, not an alias of smx_comm_t.

This avoids many SIMIX requests related to communications.

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

13 years agoSkip requests for SIMIX_req_rdv_get_by_name and call the function directly.
cristianrosa [Fri, 28 Jan 2011 14:48:31 +0000 (14:48 +0000)]
Skip requests for SIMIX_req_rdv_get_by_name and call the function directly.
It is too expensive to post a request just to get the rendez-vous point.

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

13 years agoMake the platform symmetric.
cristianrosa [Fri, 28 Jan 2011 14:48:20 +0000 (14:48 +0000)]
Make the platform symmetric.

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

13 years agoAdd example pcontexts2 (parallel independent master/slave processes).
cristianrosa [Fri, 28 Jan 2011 14:48:18 +0000 (14:48 +0000)]
Add example pcontexts2 (parallel independent master/slave processes).

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

13 years agoReplace the return value of SIMIX_req_process_create() by a parameter.
thiery [Thu, 27 Jan 2011 16:42:16 +0000 (16:42 +0000)]
Replace the return value of SIMIX_req_process_create() by a parameter.

This is because the new process created may start its execution before this function
returns, making the assignment of the return value occur too late.

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

13 years agoMake SIMIX_req_host_execution_wait to also destroy the execution action when done.
cristianrosa [Thu, 27 Jan 2011 13:59:28 +0000 (13:59 +0000)]
Make SIMIX_req_host_execution_wait to also destroy the execution action when done.
This avoids a subsequent request just to destroy it.

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

13 years agoReturn action state on SIMIX_req_host_execution_wait().
cristianrosa [Thu, 27 Jan 2011 13:59:26 +0000 (13:59 +0000)]
Return action state on SIMIX_req_host_execution_wait().
This avoids a call to SIMIX_req_host_execution_get_state right afterwards.

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

13 years agoAdd extra argument "priority" to SIMIX_req_host_execute.
cristianrosa [Thu, 27 Jan 2011 13:59:24 +0000 (13:59 +0000)]
Add extra argument "priority" to SIMIX_req_host_execute.
This avoids a second request to set it right afterwards.

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

13 years agoCHECK_HOST() is very inefficient and only for debugging purposes, redefine it as...
cristianrosa [Thu, 27 Jan 2011 13:59:20 +0000 (13:59 +0000)]
CHECK_HOST() is very inefficient and only for debugging purposes, redefine it as nothing.

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

13 years agoAdd MSG's parallel_contexts example.
cristianrosa [Thu, 27 Jan 2011 11:00:18 +0000 (11:00 +0000)]
Add MSG's parallel_contexts example.

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

13 years agoFix memory leaks in msg examples.
agiersch [Thu, 27 Jan 2011 10:52:03 +0000 (10:52 +0000)]
Fix memory leaks in msg examples.

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

13 years agoFix memory leaks in testall.
agiersch [Thu, 27 Jan 2011 10:51:59 +0000 (10:51 +0000)]
Fix memory leaks in testall.

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

13 years agoAlways free cat->layout on xbt_log_layout_set.
agiersch [Thu, 27 Jan 2011 10:51:55 +0000 (10:51 +0000)]
Always free cat->layout on xbt_log_layout_set.

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

13 years agoDisplay the config options, sorted by their names.
agiersch [Thu, 27 Jan 2011 10:51:52 +0000 (10:51 +0000)]
Display the config options, sorted by their names.

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

13 years agoDo not unref action twice.
agiersch [Thu, 27 Jan 2011 10:51:49 +0000 (10:51 +0000)]
Do not unref action twice.

It is already done in SIMIX_synchro_destroy, which is called via
SIMIX_synchro_finish.

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

13 years agoDelete useless option given to pwd.
agiersch [Thu, 27 Jan 2011 10:51:45 +0000 (10:51 +0000)]
Delete useless option given to pwd.

If `-L' and `-P' are both given to pwd, the last one takes precedence.

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

13 years agoFix installation of example files.
agiersch [Thu, 27 Jan 2011 10:51:41 +0000 (10:51 +0000)]
Fix installation of example files.

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

13 years agoSome cleanup in cmake files.
agiersch [Thu, 27 Jan 2011 10:51:38 +0000 (10:51 +0000)]
Some cleanup in cmake files.

Remove unused or duplicated code.

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

13 years agoIt is not Experimental test but nightly.
navarrop [Wed, 26 Jan 2011 14:01:52 +0000 (14:01 +0000)]
It is not Experimental test but nightly.

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

13 years agoPCRE is installed on /usr/lib
navarrop [Wed, 26 Jan 2011 14:01:50 +0000 (14:01 +0000)]
PCRE is installed on /usr/lib

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

13 years agoBugfix: return testany requests' result when they succeed on MC mode.
cristianrosa [Wed, 26 Jan 2011 13:54:33 +0000 (13:54 +0000)]
Bugfix: return testany requests' result when they succeed on MC mode.

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

13 years agoDebug generation clean-ups.
cristianrosa [Wed, 26 Jan 2011 13:54:22 +0000 (13:54 +0000)]
Debug generation clean-ups.

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

13 years agoChange again the size of the problem for the MC.
cristianrosa [Wed, 26 Jan 2011 13:54:20 +0000 (13:54 +0000)]
Change again the size of the problem for the MC.

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

13 years agoIncrease the frequency of chord's getrequest operations when running the mc.
cristianrosa [Wed, 26 Jan 2011 13:54:09 +0000 (13:54 +0000)]
Increase the frequency of chord's getrequest operations when running the mc.

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

13 years agoBugfix: the dependence relation between isend/irecv and "wait timeout" is not symetrical.
cristianrosa [Wed, 26 Jan 2011 13:54:07 +0000 (13:54 +0000)]
Bugfix: the dependence relation between isend/irecv and "wait timeout" is not symetrical.

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

13 years agoImprove independence detection and request pretty printing.
cristianrosa [Wed, 26 Jan 2011 13:53:55 +0000 (13:53 +0000)]
Improve independence detection and request pretty printing.

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

13 years agoBugfix: do not use the action state to determine the result of TEST requests when...
cristianrosa [Wed, 26 Jan 2011 13:53:53 +0000 (13:53 +0000)]
Bugfix: do not use the action state to determine the result of TEST requests when running in MC mode.

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