Logo AND Algorithmique Numérique Distribuée

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

9 years agoFlatifier is now with http://simgrid.gforge.inria.fr/simgrid.dtd
navarrop [Fri, 21 Jan 2011 13:56:10 +0000 (13:56 +0000)]
Flatifier is now with simgrid.gforge.inria.fr/simgrid.dtd

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

9 years agoWe now use http://simgrid.gforge.inria.fr/simgrid.dtd to generate maintainer sources.
navarrop [Fri, 21 Jan 2011 13:50:31 +0000 (13:50 +0000)]
We now use simgrid.gforge.inria.fr/simgrid.dtd to generate maintainer sources.

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

9 years agoLet simgrid.dtd to be accessible from the web in order to enable automatic validation...
navarrop [Fri, 21 Jan 2011 12:39:51 +0000 (12:39 +0000)]
Let simgrid.dtd to be accessible from the web in order to enable automatic validation when using an XML editor
Updated all XML files to point to the new dtd location.

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

9 years agoCorrectly set callbacks for tags.
navarrop [Fri, 21 Jan 2011 11:21:58 +0000 (11:21 +0000)]
Correctly set callbacks for tags.

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

9 years agoChord: protect MC calls
thiery [Thu, 20 Jan 2011 17:36:37 +0000 (17:36 +0000)]
Chord: protect MC calls

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

9 years agoChord: fix more memory leaks
thiery [Thu, 20 Jan 2011 17:36:35 +0000 (17:36 +0000)]
Chord: fix more memory leaks

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

9 years agoDon't access a task that failed to be received
thiery [Thu, 20 Jan 2011 17:36:34 +0000 (17:36 +0000)]
Don't access a task that failed to be received

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

9 years agoAdd a clock per process when running in MC mode.
cristianrosa [Thu, 20 Jan 2011 15:46:02 +0000 (15:46 +0000)]
Add a clock per process when running in MC mode.

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

9 years agoAdd assertions to use with the model-checker
cristianrosa [Thu, 20 Jan 2011 15:45:59 +0000 (15:45 +0000)]
Add assertions to use with the model-checker

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

9 years agoLet the model-checker decide if the wait transitions should timeout or not.
cristianrosa [Thu, 20 Jan 2011 15:45:57 +0000 (15:45 +0000)]
Let the model-checker decide if the wait transitions should timeout or not.

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

9 years agoCode refactor: move the functions associated to the request enabledness to mc_request.c
cristianrosa [Thu, 20 Jan 2011 15:45:53 +0000 (15:45 +0000)]
Code refactor: move the functions associated to the request enabledness to mc_request.c

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

9 years agoImprove debug information for waitany and testany requests.
cristianrosa [Thu, 20 Jan 2011 15:45:41 +0000 (15:45 +0000)]
Improve debug information for waitany and testany requests.

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

9 years agoBugfix: do not compare comm actions to decide if they are dependent or not, and impro...
cristianrosa [Thu, 20 Jan 2011 15:45:39 +0000 (15:45 +0000)]
Bugfix: do not compare comm actions to decide if they are dependent or not, and improve dependence detection.

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

9 years agoBugfix: correctly set the process to MC_DONE once the last transition of it was execu...
cristianrosa [Thu, 20 Jan 2011 15:45:28 +0000 (15:45 +0000)]
Bugfix: correctly set the process to MC_DONE once the last transition of it was executed (for waitany and testany).

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

9 years agoBugfix: return after answering the sleep request when running in MC mode.
cristianrosa [Thu, 20 Jan 2011 15:45:26 +0000 (15:45 +0000)]
Bugfix: return after answering the sleep request when running in MC mode.

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

9 years agoBugfix: every state should also save a copy of the communication action associated...
cristianrosa [Thu, 20 Jan 2011 15:45:15 +0000 (15:45 +0000)]
Bugfix: every state should also save a copy of the communication action associated to the request.

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

9 years agoTranslate the executed TestAny and WaitAny requests into Test and Wait ones.
cristianrosa [Thu, 20 Jan 2011 15:45:13 +0000 (15:45 +0000)]
Translate the executed TestAny and WaitAny requests into Test and Wait ones.

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

9 years agoBugfix: save only the state of the heap and libsimgrid.
cristianrosa [Thu, 20 Jan 2011 15:45:11 +0000 (15:45 +0000)]
Bugfix: save only the state of the heap and libsimgrid.

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

9 years agoBugfix: do not assume that request of different type are independent, as it is wrong.
cristianrosa [Thu, 20 Jan 2011 15:45:00 +0000 (15:45 +0000)]
Bugfix: do not assume that request of different type are independent, as it is wrong.

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

9 years agoDo not free the data structures before leaving because there are issues in the implem...
cristianrosa [Thu, 20 Jan 2011 15:44:58 +0000 (15:44 +0000)]
Do not free the data structures before leaving because there are issues in the implementation.

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

9 years agoSome bugfixes:
cristianrosa [Thu, 20 Jan 2011 15:44:47 +0000 (15:44 +0000)]
Some bugfixes:
- consider timeouts on wait calls
- test calls are always enabled
- do not destroy surf actions on comm_cancel when running the MC

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

9 years agoBugfix: manually increase the time when running the model-checkers on sleep calls.
cristianrosa [Thu, 20 Jan 2011 15:44:45 +0000 (15:44 +0000)]
Bugfix: manually increase the time when running the model-checkers on sleep calls.
This is a horrible hack.

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

9 years agoFix memory leaks
thiery [Thu, 20 Jan 2011 15:12:26 +0000 (15:12 +0000)]
Fix memory leaks

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

9 years agoAdded macros definitions and runtime support for cocci-processed local static variables.
pini [Thu, 20 Jan 2011 14:18:36 +0000 (14:18 +0000)]
Added macros definitions and runtime support for cocci-processed local static variables.

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

9 years agoAdd functions for callbacks.
navarrop [Thu, 20 Jan 2011 13:09:24 +0000 (13:09 +0000)]
Add functions for callbacks.

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

9 years agoMake a function to know if the configuration is set by default or by command line.
navarrop [Thu, 20 Jan 2011 13:09:22 +0000 (13:09 +0000)]
Make a function to know if the configuration is set by default or by command line.

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

9 years agoUntested update to take deployment file into account.
alegrand [Thu, 20 Jan 2011 13:04:55 +0000 (13:04 +0000)]
Untested update to take deployment file into account.

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

9 years agoupdated patch file to work with static variables. This probably needs some
markls [Thu, 20 Jan 2011 10:43:09 +0000 (10:43 +0000)]
updated patch file to work with static variables. This probably needs some
testing, and maybe we should rename the .cocci file, and maybe roll all of this
into smpicc, possibly with a command line switch to output revised source
instead of compiling it.

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

9 years agoChord: make a lookup every 10 seconds
thiery [Wed, 19 Jan 2011 17:04:22 +0000 (17:04 +0000)]
Chord: make a lookup every 10 seconds

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

9 years agoChord: load a platform with appropriate size
thiery [Wed, 19 Jan 2011 17:04:20 +0000 (17:04 +0000)]
Chord: load a platform with appropriate size

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

9 years agoCosmetics
navarrop [Wed, 19 Jan 2011 16:37:14 +0000 (16:37 +0000)]
Cosmetics

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

9 years agoTest if the configuration into tag_config is already set by command line.
navarrop [Wed, 19 Jan 2011 16:37:13 +0000 (16:37 +0000)]
Test if the configuration into tag_config is already set by command line.

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