Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agoimplement refcount on sockets since they are somehow shared between sender and receiv...
mquinson [Thu, 25 Nov 2010 09:24:22 +0000 (09:24 +0000)]
implement refcount on sockets since they are somehow shared between sender and receiver in SG. This makes the all2all test pass (yuhu)

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

13 years agomore explicit error messages
mquinson [Thu, 25 Nov 2010 09:24:20 +0000 (09:24 +0000)]
more explicit error messages

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

13 years agoRevert "Always decrement the semaphore capacity, even if it will go under 0 that...
pini [Thu, 25 Nov 2010 08:41:28 +0000 (08:41 +0000)]
Revert "Always decrement the semaphore capacity, even if it will go under 0 that way (because release does ++ all the time)"
-> The released token is already taken after it has been waited for.

This reverts commit 34e7986909807638c6670c20a0704f949d696d11.

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

13 years agograph of platform is always traced if tracing is enabled
schnorr [Thu, 25 Nov 2010 07:55:57 +0000 (07:55 +0000)]
graph of platform is always traced if tracing is enabled

details:
- tracing/platform:1 now only traces the categorized resource utilization

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

13 years agoadapt to lastest prototype change, and kill a race condition at the end of the execut...
mquinson [Wed, 24 Nov 2010 16:19:11 +0000 (16:19 +0000)]
adapt to lastest prototype change, and kill a race condition at the end of the execution (the crude way)

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

13 years agoimplement gras_agent_spawn in RL, kill the data argument out of it
mquinson [Wed, 24 Nov 2010 16:19:00 +0000 (16:19 +0000)]
implement gras_agent_spawn in RL, kill the data argument out of it

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

13 years agocosmetics
mquinson [Wed, 24 Nov 2010 16:18:58 +0000 (16:18 +0000)]
cosmetics

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

13 years agoBe less picky about the passed arguments
mquinson [Wed, 24 Nov 2010 16:18:48 +0000 (16:18 +0000)]
Be less picky about the passed arguments

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

13 years agoadd queue.h to the public header
mquinson [Wed, 24 Nov 2010 16:18:46 +0000 (16:18 +0000)]
add queue.h to the public header

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

13 years agoCompletely reimplement the spawn example: speaking with spawned agents cannot be...
mquinson [Wed, 24 Nov 2010 16:18:35 +0000 (16:18 +0000)]
Completely reimplement the spawn example: speaking with spawned agents cannot be reliable since they share their listener thread

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

13 years agonote in the comments the truth about a temptating (but doomed to failure) change
mquinson [Wed, 24 Nov 2010 16:18:33 +0000 (16:18 +0000)]
note in the comments the truth about a temptating (but doomed to failure) change

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

13 years agoinitialize a variable, and some more debug
mquinson [Wed, 24 Nov 2010 16:18:22 +0000 (16:18 +0000)]
initialize a variable, and some more debug

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

13 years agothat tesh file was wrongly regenerated at some point, I guess
mquinson [Wed, 24 Nov 2010 16:18:20 +0000 (16:18 +0000)]
that tesh file was wrongly regenerated at some point, I guess

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

13 years agotracing platform on process migration example so we can get the graph
schnorr [Wed, 24 Nov 2010 14:13:58 +0000 (14:13 +0000)]
tracing platform on process migration example so we can get the graph

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

13 years agoone more entry
suter [Wed, 24 Nov 2010 08:53:57 +0000 (08:53 +0000)]
one more entry

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

13 years agoFix a few typos in the bib file.
alegrand [Wed, 24 Nov 2010 05:41:04 +0000 (05:41 +0000)]
Fix a few typos in the bib file.

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

13 years agoUpdate with Ghislain's publication.
alegrand [Wed, 24 Nov 2010 05:41:01 +0000 (05:41 +0000)]
Update with Ghislain's publication.

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

13 years agonew line of output caused by default tracing:1
suter [Tue, 23 Nov 2010 21:25:34 +0000 (21:25 +0000)]
new line of output caused by default tracing:1

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

13 years agoNew tesh file for the msg actions (plus some little fixes to make it work)
mquinson [Tue, 23 Nov 2010 21:09:19 +0000 (21:09 +0000)]
New tesh file for the msg actions (plus some little fixes to make it work)

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

13 years agostop that misuse of semaphores and use conditions where they are expected (ok, Arnaud...
mquinson [Tue, 23 Nov 2010 20:54:33 +0000 (20:54 +0000)]
stop that misuse of semaphores and use conditions where they are expected (ok, Arnaud, you won that battle, but not the war)

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

13 years agomore debug
mquinson [Tue, 23 Nov 2010 20:29:22 +0000 (20:29 +0000)]
more debug

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

13 years agocleanup the text files around the actions; tesh files should follow soon
mquinson [Tue, 23 Nov 2010 20:29:02 +0000 (20:29 +0000)]
cleanup the text files around the actions; tesh files should follow soon

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

13 years agothat should never have landed in the SVN in the first place
mquinson [Tue, 23 Nov 2010 20:28:41 +0000 (20:28 +0000)]
that should never have landed in the SVN in the first place

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

13 years agoAlways decrement the semaphore capacity, even if it will go under 0 that way (because...
mquinson [Tue, 23 Nov 2010 20:28:19 +0000 (20:28 +0000)]
Always decrement the semaphore capacity, even if it will go under 0 that way (because release does ++ all the time)

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

13 years agoSynchronize threads before exit on armageddon.
agiersch [Tue, 23 Nov 2010 20:01:16 +0000 (20:01 +0000)]
Synchronize threads before exit on armageddon.

This fixes a segfault when a runner thread tries to use the logging
facility after it has been shut down.

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

13 years agono longer need to call TRACE_start and TRACE_end on gtnets
schnorr [Tue, 23 Nov 2010 15:30:46 +0000 (15:30 +0000)]
no longer need to call TRACE_start and TRACE_end on gtnets

sorry for the noise

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

13 years agoSD_init and SD_exit call TRACE_start/end if tracing is enabled
schnorr [Tue, 23 Nov 2010 15:30:45 +0000 (15:30 +0000)]
SD_init and SD_exit call TRACE_start/end if tracing is enabled

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

13 years agoupdating smpirun to use new tracing option (otherwise nothing is traced)
schnorr [Tue, 23 Nov 2010 15:16:20 +0000 (15:16 +0000)]
updating smpirun to use new tracing option (otherwise nothing is traced)

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

13 years agoupdating tesh files to go ok with new tracing option
schnorr [Tue, 23 Nov 2010 15:16:19 +0000 (15:16 +0000)]
updating tesh files to go ok with new tracing option

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

13 years agoTRACE_start and TRACE_end should no longer be called by user-code
schnorr [Tue, 23 Nov 2010 14:42:08 +0000 (14:42 +0000)]
TRACE_start and TRACE_end should no longer be called by user-code

details:
- MSG_global_init and MSG_clean do the job for the user
if tracing is set to on in cmake

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

13 years agotracing: new configuration option to control if tracing is active or not
schnorr [Tue, 23 Nov 2010 14:42:07 +0000 (14:42 +0000)]
tracing: new configuration option to control if tracing is active or not

details:
- if tracing is 0, the tracing system is completely inactive
even if SimGrid was compiled with tracing=on
- by default it is 0

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

13 years agoadding XBT_IN with 6 parameters
schnorr [Tue, 23 Nov 2010 14:42:05 +0000 (14:42 +0000)]
adding XBT_IN with 6 parameters

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

13 years agoremoving log message from network constant model
schnorr [Tue, 23 Nov 2010 14:42:02 +0000 (14:42 +0000)]
removing log message from network constant model

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

13 years agoUpdate memcheck tests.
navarrop [Tue, 23 Nov 2010 12:54:36 +0000 (12:54 +0000)]
Update memcheck tests.

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

13 years agoRemove tracing from buildname.
navarrop [Tue, 23 Nov 2010 12:54:35 +0000 (12:54 +0000)]
Remove tracing from buildname.

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

13 years agoUpdate script for pipol
navarrop [Tue, 23 Nov 2010 12:54:34 +0000 (12:54 +0000)]
Update script for pipol

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

13 years agoAdd a dependency for smpi.
navarrop [Tue, 23 Nov 2010 10:14:10 +0000 (10:14 +0000)]
Add a dependency for smpi.
Need f2c.h to compile.

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

13 years agoCosmetics.
navarrop [Tue, 23 Nov 2010 10:14:09 +0000 (10:14 +0000)]
Cosmetics.

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

13 years agoSupport for Fortran code in SMPI based on f2c, some perl and some dirty hacks.
pini [Mon, 22 Nov 2010 17:21:01 +0000 (17:21 +0000)]
Support for Fortran code in SMPI based on f2c, some perl and some dirty hacks.
Only few MPI calls are implemented yet.

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

13 years agoEnable supernovae only if all needed tools are installed.
navarrop [Mon, 22 Nov 2010 15:24:46 +0000 (15:24 +0000)]
Enable supernovae only if all needed tools are installed.

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

13 years agoMake static libraries if enabled with supernovae mode.
navarrop [Mon, 22 Nov 2010 15:18:57 +0000 (15:18 +0000)]
Make static libraries if enabled with supernovae mode.

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

13 years agoThose messages should appear only on Mac platform.
navarrop [Mon, 22 Nov 2010 14:29:34 +0000 (14:29 +0000)]
Those messages should appear only on Mac platform.

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

13 years agoAdd function generic_new_route.
navarrop [Mon, 22 Nov 2010 14:29:33 +0000 (14:29 +0000)]
Add function generic_new_route.

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

13 years agoCompletely remove parse_routes table.
navarrop [Mon, 22 Nov 2010 14:29:33 +0000 (14:29 +0000)]
Completely remove parse_routes table.
Implement for dijkstra model.
Delete function generic_set_route and generic_set_ASroute.

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

13 years agoAdd tests for floyd model.
navarrop [Mon, 22 Nov 2010 14:29:32 +0000 (14:29 +0000)]
Add tests for floyd model.

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

13 years agoUpdate script for make a remake a tesh file.
navarrop [Mon, 22 Nov 2010 14:29:31 +0000 (14:29 +0000)]
Update script for make a remake a tesh file.

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

13 years agoAdd new scripts to distrib.
navarrop [Mon, 22 Nov 2010 14:29:30 +0000 (14:29 +0000)]
Add new scripts to distrib.

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

13 years agoMake new function model_floyd_set_route for route and ASroute.
navarrop [Mon, 22 Nov 2010 14:29:29 +0000 (14:29 +0000)]
Make new function model_floyd_set_route for route and ASroute.

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

13 years agoPrint more information in xbt_dynar_compare.
navarrop [Mon, 22 Nov 2010 14:29:29 +0000 (14:29 +0000)]
Print more information in xbt_dynar_compare.

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

13 years agoCalled the same function for set route and ASroute from model Full.
navarrop [Mon, 22 Nov 2010 14:29:28 +0000 (14:29 +0000)]
Called the same function for set route and ASroute from model Full.

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

13 years agoAdd two new structs that contains a list of link_name (char *).
navarrop [Mon, 22 Nov 2010 14:29:27 +0000 (14:29 +0000)]
Add two new structs that contains a list of link_name (char *).

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

13 years agoDelete the temporary route table for model Full.
navarrop [Mon, 22 Nov 2010 14:29:26 +0000 (14:29 +0000)]
Delete the temporary route table for model Full.

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

13 years agoFix full flag mode with Mac.
navarrop [Mon, 22 Nov 2010 14:19:52 +0000 (14:19 +0000)]
Fix full flag mode with Mac.

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

13 years agoPermit to enable maintainer_mode on mac and Windows if having all tools.
navarrop [Mon, 22 Nov 2010 14:15:51 +0000 (14:15 +0000)]
Permit to enable maintainer_mode on mac and Windows if having all tools.

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

13 years agoAdd verification for LUA_CPATH for use require.
navarrop [Mon, 22 Nov 2010 14:15:49 +0000 (14:15 +0000)]
Add verification for LUA_CPATH for use require.

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

13 years agoUpdate liste of failure tests.
navarrop [Thu, 18 Nov 2010 18:19:03 +0000 (18:19 +0000)]
Update liste of failure tests.
Add an hide option for setting them.

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

13 years agoAdded deployment file for fullduplex model.
velho [Thu, 18 Nov 2010 17:52:58 +0000 (17:52 +0000)]
Added deployment file for fullduplex model.

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

13 years agoAdded test files for testing fullduplex TCP model.
velho [Thu, 18 Nov 2010 17:52:43 +0000 (17:52 +0000)]
Added test files for testing fullduplex TCP model.

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

13 years agoAdd example to test the fullduplex aware TCP model, this option is disabled by defaul...
velho [Thu, 18 Nov 2010 17:52:24 +0000 (17:52 +0000)]
Add example to test the fullduplex aware TCP model, this option is disabled by default. To active this use --cfg=fullduplex:1.

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

13 years agoBug fix inspired by Arnaud Guiersh's patch but that required one day of investigation...
velho [Thu, 18 Nov 2010 17:14:36 +0000 (17:14 +0000)]
Bug fix inspired by Arnaud Guiersh's patch but that required one day of investigation to be functionnal!!!

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

13 years agoAdd more precision to the output for colorize.pl
velho [Thu, 18 Nov 2010 17:14:20 +0000 (17:14 +0000)]
Add more precision to the output for colorize.pl

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

13 years agoFix compilation warning.
velho [Thu, 18 Nov 2010 17:14:02 +0000 (17:14 +0000)]
Fix compilation warning.

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

13 years agoRidiculously tiny economy of a stupid useless allocation.
velho [Thu, 18 Nov 2010 17:13:45 +0000 (17:13 +0000)]
Ridiculously tiny economy of a stupid useless allocation.

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

13 years agoAllow the get_route function to be used twice in a row.
velho [Thu, 18 Nov 2010 17:13:28 +0000 (17:13 +0000)]
Allow the get_route function to be used twice in a row.

Before, the returned dynar was cleaned automatically by the second call to get_route.

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

13 years agoNow for null communications MSG_get_task_remaining returns ZERO.
velho [Thu, 18 Nov 2010 17:13:11 +0000 (17:13 +0000)]
Now for null communications MSG_get_task_remaining returns ZERO.

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

13 years agoBug fix. This is a backroute!
velho [Thu, 18 Nov 2010 17:12:53 +0000 (17:12 +0000)]
Bug fix. This is a backroute!

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

13 years agoAdd debug information.
velho [Thu, 18 Nov 2010 17:12:31 +0000 (17:12 +0000)]
Add debug information.

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

13 years agoAdd more path to find Lua
navarrop [Thu, 18 Nov 2010 16:50:30 +0000 (16:50 +0000)]
Add more path to find Lua

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

13 years agoFix detection of lua.h on linux
navarrop [Thu, 18 Nov 2010 16:46:23 +0000 (16:46 +0000)]
Fix detection of lua.h on linux

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

13 years agoFix lua detection on apple and re-enable option lua and ruby. \But examples doesn...
navarrop [Thu, 18 Nov 2010 16:43:39 +0000 (16:43 +0000)]
Fix lua detection on apple and re-enable option lua and ruby. \But examples doesn't work due to require simgrid which is not a bundle on mac.

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

13 years agoUpdate default platform in smpirun.
pini [Thu, 18 Nov 2010 14:55:31 +0000 (14:55 +0000)]
Update default platform in smpirun.

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

13 years agoMPI_Comm_split is back to life.
pini [Thu, 18 Nov 2010 14:55:29 +0000 (14:55 +0000)]
MPI_Comm_split is back to life.

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

13 years agoHide options on apple or windows if they are not worked yet.
navarrop [Thu, 18 Nov 2010 14:51:25 +0000 (14:51 +0000)]
Hide options on apple or windows if they are not worked yet.

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

13 years agoMake example dot if graphviz is enable and if it is possible.
navarrop [Wed, 17 Nov 2010 17:20:42 +0000 (17:20 +0000)]
Make example dot if graphviz is enable and if it is possible.

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

13 years agoMake example dot if graphviz is enable.
navarrop [Wed, 17 Nov 2010 17:14:18 +0000 (17:14 +0000)]
Make example dot if graphviz is enable.

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

13 years agoRevert 'Delete the temporary route table for model Full' by Pierre since it broke...
mquinson [Wed, 17 Nov 2010 13:31:11 +0000 (13:31 +0000)]
Revert 'Delete the temporary route table for model Full' by Pierre since it broke midjy's work for no gain

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

13 years agoFix graphviz on Linux.
navarrop [Wed, 17 Nov 2010 13:05:01 +0000 (13:05 +0000)]
Fix graphviz on Linux.

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

13 years agoTry to install doc if enable.
navarrop [Wed, 17 Nov 2010 13:05:00 +0000 (13:05 +0000)]
Try to install doc if enable.

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

13 years agoDelete the temporary route table for model Full.
navarrop [Wed, 17 Nov 2010 13:04:59 +0000 (13:04 +0000)]
Delete the temporary route table for model Full.

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

13 years agoFix problem with detection of graphviz.
navarrop [Wed, 17 Nov 2010 12:53:29 +0000 (12:53 +0000)]
Fix problem with detection of graphviz.

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

13 years agoAdd symetrical=NO to msg_platform.xml (symetrical is now YES be default)
thiery [Tue, 16 Nov 2010 15:30:41 +0000 (15:30 +0000)]
Add symetrical=NO to msg_platform.xml (symetrical is now YES be default)

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

13 years agoAdd option enable_lib_static for compile libsimgrid.a and libsmpi.a
navarrop [Tue, 16 Nov 2010 10:10:59 +0000 (10:10 +0000)]
Add option enable_lib_static for compile libsimgrid.a and libsmpi.a

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

13 years agoMake my_valgrind.pl work with spaces in parameters.
agiersch [Tue, 16 Nov 2010 09:25:39 +0000 (09:25 +0000)]
Make my_valgrind.pl work with spaces in parameters.

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

13 years agoAdd full path when generating memcheck tests.
agiersch [Tue, 16 Nov 2010 09:25:35 +0000 (09:25 +0000)]
Add full path when generating memcheck tests.

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

13 years agoFix argument quoting in tesh files.
agiersch [Tue, 16 Nov 2010 09:25:32 +0000 (09:25 +0000)]
Fix argument quoting in tesh files.

This makes ADD_TEST in memcheck_tests.cmake to correctly split
the arguments.

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

13 years agoFix path to binary in tesh file.
agiersch [Tue, 16 Nov 2010 09:25:28 +0000 (09:25 +0000)]
Fix path to binary in tesh file.

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

13 years agoSimplify synchronization in parallel_log_crashtest.
agiersch [Tue, 16 Nov 2010 09:25:25 +0000 (09:25 +0000)]
Simplify synchronization in parallel_log_crashtest.

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

13 years agoTry to produce the same results with minmin on different setups.
agiersch [Tue, 16 Nov 2010 09:25:22 +0000 (09:25 +0000)]
Try to produce the same results with minmin on different setups.

Use a volatile double temporary variable to avoid rounding differences
on 32bit or 64bit x86, with or without gcc optimizations.

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

13 years agoAdd missing XBT_PUBLIC in declaration.
agiersch [Tue, 16 Nov 2010 09:25:18 +0000 (09:25 +0000)]
Add missing XBT_PUBLIC in declaration.

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

13 years agoFix memory leaks in msg/icomms examples.
agiersch [Mon, 15 Nov 2010 17:11:09 +0000 (17:11 +0000)]
Fix memory leaks in msg/icomms examples.

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

13 years agoFix use after free when using SIMIX_network_wait().
agiersch [Mon, 15 Nov 2010 17:11:05 +0000 (17:11 +0000)]
Fix use after free when using SIMIX_network_wait().

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

13 years agoRemove remaining references to static version of libraries.
agiersch [Mon, 15 Nov 2010 17:10:59 +0000 (17:10 +0000)]
Remove remaining references to static version of libraries.

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

13 years agoregenerate
mquinson [Mon, 15 Nov 2010 15:13:10 +0000 (15:13 +0000)]
regenerate

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

13 years agodon't build the static version anymore (should be a configure option?)
mquinson [Mon, 15 Nov 2010 15:13:08 +0000 (15:13 +0000)]
don't build the static version anymore (should be a configure option?)

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

13 years agoand now, make sure that the new GRAS code compiles w/o warning
mquinson [Mon, 15 Nov 2010 15:12:57 +0000 (15:12 +0000)]
and now, make sure that the new GRAS code compiles w/o warning

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

13 years agoan unsigned int cannot be negative, no need to enforce
mquinson [Mon, 15 Nov 2010 15:12:55 +0000 (15:12 +0000)]
an unsigned int cannot be negative, no need to enforce

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

13 years agoDon't overwrite an already existing route. Also fix a typo and indentation.
thiery [Mon, 15 Nov 2010 14:25:43 +0000 (14:25 +0000)]
Don't overwrite an already existing route. Also fix a typo and indentation.

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

13 years agoFix dynar test: cpt should be signed.
agiersch [Mon, 15 Nov 2010 10:39:38 +0000 (10:39 +0000)]
Fix dynar test: cpt should be signed.

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

13 years agoFix compilation failure.
agiersch [Mon, 15 Nov 2010 10:39:35 +0000 (10:39 +0000)]
Fix compilation failure.

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

13 years agoPartial fix of GRAS: gras-ping-sg now works again
mquinson [Fri, 12 Nov 2010 20:22:54 +0000 (20:22 +0000)]
Partial fix of GRAS: gras-ping-sg now works again
* Make the following function specific to the plugins:
  - gras_socket_my_port(sock)
  - gras_socket_peer_port(sock)
  - gras_socket_peer_name(sock)
  - gras_socket_peer_proc(sock)
  - gras_socket_peer_proc_set(sock,peer_proc)
* In SG plugin, implement them properly knowing that the same socket
  object gets shared between peers
* In TCP plugin, use the previous behavior
* In file plugin, use THROW_UNIMPLEMENTED

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