Logo AND Algorithmique Numérique Distribuée

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoReduce the run size for the MC
cristianrosa [Wed, 26 Jan 2011 13:53:42 +0000 (13:53 +0000)]
Reduce the run size for the MC

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

8 years agoImprove the show stack function. (Now it prints the timeouts).
cristianrosa [Wed, 26 Jan 2011 13:53:40 +0000 (13:53 +0000)]
Improve the show stack function. (Now it prints the timeouts).

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

8 years agoPcre for fedora.
navarrop [Tue, 25 Jan 2011 15:16:05 +0000 (15:16 +0000)]
Pcre for fedora.

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

8 years agoAdd test install to pipol.
navarrop [Tue, 25 Jan 2011 15:16:04 +0000 (15:16 +0000)]
Add test install to pipol.
Remove jaunty distrib to pipol.

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

8 years agoFinally beat the communication failure leaks of MSG
thiery [Tue, 25 Jan 2011 14:43:35 +0000 (14:43 +0000)]
Finally beat the communication failure leaks of MSG

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

8 years agoAdd a test for pipol.
navarrop [Tue, 25 Jan 2011 13:10:21 +0000 (13:10 +0000)]
Add a test for pipol.
Target "make install" with test reported into cdash.

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

8 years agoPipol
navarrop [Tue, 25 Jan 2011 12:55:35 +0000 (12:55 +0000)]
Pipol

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

8 years agoPipol
navarrop [Tue, 25 Jan 2011 12:55:34 +0000 (12:55 +0000)]
Pipol

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

8 years agoStringify e_smx_req_t just by using macros (remove the special header)
thiery [Tue, 25 Jan 2011 12:46:55 +0000 (12:46 +0000)]
Stringify e_smx_req_t just by using macros (remove the special header)

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

8 years agoPipol
navarrop [Tue, 25 Jan 2011 11:58:50 +0000 (11:58 +0000)]
Pipol

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

8 years agoPipol
navarrop [Tue, 25 Jan 2011 11:57:29 +0000 (11:57 +0000)]
Pipol

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

8 years agoUpdate pipol files
navarrop [Tue, 25 Jan 2011 11:55:41 +0000 (11:55 +0000)]
Update pipol files

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

8 years agoChange tests for having raw thread and ucontext.
navarrop [Tue, 25 Jan 2011 11:55:39 +0000 (11:55 +0000)]
Change tests for having raw thread and ucontext.
Use script :
perl generate_new_tests.pl AddTests_old.cmake > AddTests.cmake

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

8 years agoFix test lua-msg-masterslave-console (was broken since r9407)
thiery [Tue, 25 Jan 2011 10:39:29 +0000 (10:39 +0000)]
Fix test lua-msg-masterslave-console (was broken since r9407)

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

9 years agoUse a linear sweep waitall when MC is enabled.
pini [Mon, 24 Jan 2011 16:17:40 +0000 (16:17 +0000)]
Use a linear sweep waitall when MC is enabled.

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

9 years agoCosmetics
navarrop [Mon, 24 Jan 2011 15:44:05 +0000 (15:44 +0000)]
Cosmetics

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

9 years agoWe can now compile simgrid into a link directory.
navarrop [Mon, 24 Jan 2011 15:44:04 +0000 (15:44 +0000)]
We can now compile simgrid into a link directory.

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

9 years agoUpdate tesh for 64bits
navarrop [Mon, 24 Jan 2011 14:04:52 +0000 (14:04 +0000)]
Update tesh for 64bits

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

9 years agoruby
navarrop [Mon, 24 Jan 2011 14:04:51 +0000 (14:04 +0000)]
ruby

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

9 years agoAdd a flag --cfg=contexts/stacksize and rename other context flags to be
thiery [Mon, 24 Jan 2011 13:37:15 +0000 (13:37 +0000)]
Add a flag --cfg=contexts/stacksize and rename other context flags to be
more uniform.

--cfg=simix/context is replaced by --cfg=contexts/factory
and --cfg=parallel-contexts is replaced by --cfg=contexts/parallel

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

9 years agoSIMIX requests: generate strings from enumeration values automatically
thiery [Mon, 24 Jan 2011 12:02:47 +0000 (12:02 +0000)]
SIMIX requests: generate strings from enumeration values automatically

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

9 years agoMove SIMIX comm requests to the top of the big switch
thiery [Mon, 24 Jan 2011 12:02:45 +0000 (12:02 +0000)]
Move SIMIX comm requests to the top of the big switch

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

9 years agoNow install ruby v1.9.*
navarrop [Mon, 24 Jan 2011 12:00:24 +0000 (12:00 +0000)]
Now install ruby v1.9.*

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

9 years agoReplace while+modulo by a bitwise operation
thiery [Sun, 23 Jan 2011 20:16:23 +0000 (20:16 +0000)]
Replace while+modulo by a bitwise operation

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

9 years agomade it so that to apply varget for statics we not only have to match the name
markls [Fri, 21 Jan 2011 14:52:10 +0000 (14:52 +0000)]
made it so that to apply varget for statics we not only have to match the name
of the variable, but also the containing function.

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