Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
15 years agoNow, a process can be killed and all process are killed at the end of the simulation.
alegrand [Wed, 26 Jan 2005 17:23:48 +0000 (17:23 +0000)]
Now, a process can be killed and all process are killed at the end of the simulation.

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

15 years agoBug fix: a task could sometimes not be immediately forwarded.
alegrand [Wed, 26 Jan 2005 17:10:42 +0000 (17:10 +0000)]
Bug fix: a task could sometimes not be immediately forwarded.

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

15 years agoUsefull function to "kill" a context before the function it was executing has terminated.
alegrand [Wed, 26 Jan 2005 17:08:36 +0000 (17:08 +0000)]
Usefull function to "kill" a context before the function it was executing has terminated.

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

15 years agoExtending the parser to handle bound on outgoing communications
alegrand [Wed, 26 Jan 2005 17:07:23 +0000 (17:07 +0000)]
Extending the parser to handle bound on outgoing communications

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

15 years agoFixing line number for an easier debugging.
alegrand [Wed, 26 Jan 2005 17:05:23 +0000 (17:05 +0000)]
Fixing line number for an easier debugging.

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

15 years agoUsing logs and making some message more clear.
alegrand [Wed, 19 Jan 2005 18:17:43 +0000 (18:17 +0000)]
Using logs and making some message more clear.

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

15 years agoNow, you can send a task of length 0 in a no latency model... Otherwise the emitter...
alegrand [Wed, 19 Jan 2005 18:16:43 +0000 (18:16 +0000)]
Now, you can send a task of length 0 in a no latency model... Otherwise the emitter used to hang.

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

15 years agoBugfix... I had forgotten to reorder elements when updating a variable weight (and...
alegrand [Wed, 19 Jan 2005 18:15:13 +0000 (18:15 +0000)]
Bugfix... I had forgotten to reorder elements when updating a variable weight (and the order is heavilly used later to break loops).

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

15 years agobugfix (shame on me!) + asserts to detect earlier weird behavior
alegrand [Wed, 19 Jan 2005 18:13:44 +0000 (18:13 +0000)]
bugfix (shame on me!) + asserts to detect earlier weird behavior

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

15 years agoTaking into account last SURF modifications (suspend, resume and is_suspended moved...
alegrand [Sat, 15 Jan 2005 00:54:20 +0000 (00:54 +0000)]
Taking into account last SURF modifications (suspend, resume and is_suspended moved in the common_public part).
Introducing a new convenient function: MSG_task_put_bounded

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

15 years agoCosmetics and forgot to say in the previous commit (gras/surf/include surf.h,1.19...
alegrand [Sat, 15 Jan 2005 00:52:07 +0000 (00:52 +0000)]
Cosmetics and forgot to say in the previous commit (gras/surf/include surf.h,1.19,1.20 and gras/src/surf cpu.c,1.27,1.28 network.c,1.15,1.16 network_private.h,1.9,1.10 workstation.c,1.11,1.12 workstation_KCCFLN05.c,1.4,1.5) that suspend, resume and is_suspended have now been moved into the common_public of resources. Sorry...

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

15 years agoNow surf communications come with a maximum rate. Also fixed a bug in network.c ...
alegrand [Sat, 15 Jan 2005 00:46:32 +0000 (00:46 +0000)]
Now surf communications come with a maximum rate. Also fixed a bug in network.c (was using 1 instead of SG_TCP_CTE_GAMMA when updating link characteristics)

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

15 years agoParsing values is good. Taking into account parsed values is better...
alegrand [Fri, 14 Jan 2005 21:31:55 +0000 (21:31 +0000)]
Parsing values is good. Taking into account parsed values is better...

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

15 years agoAdd a forwarder in the MSG example.
alegrand [Fri, 14 Jan 2005 19:57:03 +0000 (19:57 +0000)]
Add a forwarder in the MSG example.

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

15 years agonetwork actions should be suspendable too. In fact it seems to me that it is the...
alegrand [Fri, 14 Jan 2005 19:54:41 +0000 (19:54 +0000)]
network actions should be suspendable too. In fact it seems to me that it is the case for any action. Maybe those functions should be then moved into the common_public part of resources.

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

15 years agoFinding this damn fucking bug took me an inordinate amount of time ! It was well...
alegrand [Fri, 14 Jan 2005 19:52:28 +0000 (19:52 +0000)]
Finding this damn fucking bug took me an inordinate amount of time ! It was well hidden deep down in the maxmin solver...

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

15 years agoNot using MSG_suspend anymore in the internals
alegrand [Fri, 14 Jan 2005 19:47:24 +0000 (19:47 +0000)]
Not using MSG_suspend anymore in the internals

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

15 years agoNow, MSG internals do not use MSG_suspend/resume anymore.
alegrand [Wed, 12 Jan 2005 22:38:47 +0000 (22:38 +0000)]
Now, MSG internals do not use MSG_suspend/resume anymore.

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

15 years agoNow, it works.
alegrand [Tue, 11 Jan 2005 00:33:32 +0000 (00:33 +0000)]
Now, it works.

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

15 years agoIt worries me however, to realize how tough an ass-hole I have had to be, in
alegrand [Mon, 10 Jan 2005 22:19:52 +0000 (22:19 +0000)]
It worries me however, to realize how tough an ass-hole I have had to be, in
order to get to stick to the principle of doing things right, rather than  "just hack it in".
              -- Poul-Henning Kamp <phk@FreeBSD.org>

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

15 years agoAdding default values to the DTD
alegrand [Mon, 10 Jan 2005 22:17:56 +0000 (22:17 +0000)]
Adding default values to the DTD

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

15 years agoIntroducing new functionnality without breaking the API.
alegrand [Mon, 10 Jan 2005 22:17:12 +0000 (22:17 +0000)]
Introducing new functionnality without breaking the API.

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

15 years agocosmetics
alegrand [Mon, 10 Jan 2005 22:15:33 +0000 (22:15 +0000)]
cosmetics

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

15 years agoAdd two convenient functions
alegrand [Mon, 10 Jan 2005 22:13:16 +0000 (22:13 +0000)]
Add two convenient functions

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

15 years agoI had forgotten a host...
alegrand [Mon, 10 Jan 2005 22:11:59 +0000 (22:11 +0000)]
I had forgotten a host...

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

15 years agoKeep extending the DTD to handle an computation/communication interference model
alegrand [Fri, 7 Jan 2005 20:32:59 +0000 (20:32 +0000)]
Keep extending the DTD to handle an computation/communication interference model

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

15 years agofixed a few memleak
alegrand [Fri, 7 Jan 2005 20:32:07 +0000 (20:32 +0000)]
fixed a few memleak

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

15 years agoChanged my mind. This function will be defined somewhere else.
alegrand [Fri, 7 Jan 2005 20:01:59 +0000 (20:01 +0000)]
Changed my mind. This function will be defined somewhere else.

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

15 years agoRenamed resource initialization functions. Now they are postfixed by a alpha-style...
alegrand [Thu, 6 Jan 2005 21:52:21 +0000 (21:52 +0000)]
Renamed resource initialization functions. Now they are postfixed by a alpha-style reference to the first paper where this model was described.

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

15 years agoPreparing to parse interferences for a new model. Also added a tag include that does...
alegrand [Thu, 6 Jan 2005 21:49:03 +0000 (21:49 +0000)]
Preparing to parse interferences for a new model. Also added a tag include that does not work yet.

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

15 years agoI can't believe I had forgotten to add surf_parse.c... Also add a wrapper to surf_par...
alegrand [Thu, 6 Jan 2005 21:47:51 +0000 (21:47 +0000)]
I can't believe I had forgotten to add surf_parse.c... Also add a wrapper to surf_parse_lex.

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

15 years agoWe don't need you anymore. You are weak. Goodbye !
alegrand [Wed, 5 Jan 2005 23:19:44 +0000 (23:19 +0000)]
We don't need you anymore. You are weak. Goodbye !

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

15 years agoNow, any surf-based program can take --surf-path arguments to help locating platform...
alegrand [Wed, 5 Jan 2005 23:18:46 +0000 (23:18 +0000)]
Now, any surf-based program can take --surf-path arguments to help locating platform, trace or deployment files...
Martin had a dream, I made it come true. ;-)

However, now the gras_stub_generator is completely broken...

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

15 years agoPlease, flex, tell me on which line problems are. Also try to put the generated files...
alegrand [Wed, 5 Jan 2005 23:13:54 +0000 (23:13 +0000)]
Please, flex, tell me on which line problems are. Also try to put the generated files on the right place. And last, use a bigger stack. We're parsing huge XML platform description files afterall... ;)

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

15 years agoNo more need of these ones...
alegrand [Wed, 5 Jan 2005 00:48:54 +0000 (00:48 +0000)]
No more need of these ones...

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

15 years agoXML version of platform and deployment files
alegrand [Wed, 5 Jan 2005 00:47:58 +0000 (00:47 +0000)]
XML version of platform and deployment files

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

15 years agoMoved from flex to flexml.
alegrand [Wed, 5 Jan 2005 00:45:29 +0000 (00:45 +0000)]
Moved from flex to flexml.

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

15 years agoTaking into account an old behavior modification of surf_solve
alegrand [Wed, 5 Jan 2005 00:27:52 +0000 (00:27 +0000)]
Taking into account an old behavior modification of surf_solve

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

15 years agomoving to flexml
alegrand [Tue, 4 Jan 2005 23:23:06 +0000 (23:23 +0000)]
moving to flexml

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

15 years agoSince we're using the SURF and not SG anymore, we should use that kind of format.
alegrand [Fri, 31 Dec 2004 23:09:39 +0000 (23:09 +0000)]
Since we're using the SURF and not SG anymore, we should use that kind of format.

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

15 years agosearch the deployment files where they are
mquinson [Fri, 31 Dec 2004 20:44:53 +0000 (20:44 +0000)]
search the deployment files where they are

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

15 years agoFix perl syntax
mquinson [Fri, 31 Dec 2004 20:43:55 +0000 (20:43 +0000)]
Fix perl syntax

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

15 years agoTake into account last API modification. Sorry about that.
alegrand [Fri, 31 Dec 2004 17:19:11 +0000 (17:19 +0000)]
Take into account last API modification. Sorry about that.

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

15 years agolibrary rename
mquinson [Fri, 31 Dec 2004 17:12:37 +0000 (17:12 +0000)]
library rename

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

15 years agoSearch msg.h where it is
mquinson [Fri, 31 Dec 2004 17:11:46 +0000 (17:11 +0000)]
Search msg.h where it is

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

15 years agoSearch msg.h at the right location
mquinson [Fri, 31 Dec 2004 17:05:47 +0000 (17:05 +0000)]
Search msg.h at the right location

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

15 years agoAdd the prototypes
mquinson [Fri, 31 Dec 2004 17:00:42 +0000 (17:00 +0000)]
Add the prototypes

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

15 years agoget ready to use MSG NG
mquinson [Fri, 31 Dec 2004 16:54:10 +0000 (16:54 +0000)]
get ready to use MSG NG

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

15 years agocleanup
mquinson [Fri, 31 Dec 2004 16:53:06 +0000 (16:53 +0000)]
cleanup

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

15 years agoAdd the IDL compilation. But since it's WAYS broken, put it between #if 0/#endif
mquinson [Fri, 31 Dec 2004 16:45:49 +0000 (16:45 +0000)]
Add the IDL compilation. But since it's WAYS broken, put it between #if 0/#endif

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

15 years agoAdd the prototypes for the upcoming IDL compilation. Useless for now, but I want...
mquinson [Fri, 31 Dec 2004 16:44:45 +0000 (16:44 +0000)]
Add the prototypes for the upcoming IDL compilation. Useless for now, but I want to commit everything to cleanup stuff with Arnaud

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

15 years agoPre-release cleanup: rename libgrasrl to libgras and libgrassg to libsimgrid
mquinson [Fri, 31 Dec 2004 16:43:36 +0000 (16:43 +0000)]
Pre-release cleanup: rename libgrasrl to libgras and libgrassg to libsimgrid

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

15 years agoKill dead code, sorry for the noise
mquinson [Fri, 31 Dec 2004 14:39:24 +0000 (14:39 +0000)]
Kill dead code, sorry for the noise

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

15 years agoAdd optimization flags to the game
mquinson [Fri, 31 Dec 2004 12:09:53 +0000 (12:09 +0000)]
Add optimization flags to the game

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

15 years agoAdd a function I need in GRAS
mquinson [Fri, 31 Dec 2004 12:08:57 +0000 (12:08 +0000)]
Add a function I need in GRAS

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

15 years agoAutomatic update, damn gtkdoc-tools
mquinson [Fri, 31 Dec 2004 12:05:52 +0000 (12:05 +0000)]
Automatic update, damn gtkdoc-tools

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

15 years agoSimGrid is dead, long life to SimGrid
mquinson [Fri, 31 Dec 2004 12:04:21 +0000 (12:04 +0000)]
SimGrid is dead, long life to SimGrid

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

15 years agoProperly check for errno and unistd; don't check for old generation SimGrid as we...
mquinson [Fri, 31 Dec 2004 12:04:11 +0000 (12:04 +0000)]
Properly check for errno and unistd; don't check for old generation SimGrid as we prepare to get funky

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

15 years agocosmetics
mquinson [Fri, 31 Dec 2004 11:42:40 +0000 (11:42 +0000)]
cosmetics

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

15 years agoautomatic update
mquinson [Fri, 31 Dec 2004 11:39:18 +0000 (11:39 +0000)]
automatic update

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

15 years agoLet's get funky and try to settle gras on top of msg new generation
mquinson [Fri, 31 Dec 2004 11:29:34 +0000 (11:29 +0000)]
Let's get funky and try to settle gras on top of msg new generation

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

15 years agoremove dead code
mquinson [Fri, 31 Dec 2004 11:16:19 +0000 (11:16 +0000)]
remove dead code

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

15 years agoRemove the headers already loaded from somewhere else. Keep the remaining for the...
mquinson [Fri, 31 Dec 2004 11:14:30 +0000 (11:14 +0000)]
Remove the headers already loaded from somewhere else. Keep the remaining for the day I wonder how to let it work on some exotic platform

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

15 years agoremove complications to run tests from there own directory now that the path isn...
mquinson [Fri, 31 Dec 2004 10:45:10 +0000 (10:45 +0000)]
remove complications to run tests from there own directory now that the path isn't hardcoded anymore in surf/msg

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

15 years agosurf:~/Work/GRAS/heap $ valgrind --leak-check=yes --show-reachable=yes ./msg_test les
alegrand [Fri, 31 Dec 2004 03:03:00 +0000 (03:03 +0000)]
surf:~/Work/GRAS/heap $ valgrind --leak-check=yes  --show-reachable=yes ./msg_test les
...
[421.531] P3 | I'm done. See you!
MSG: Congratulations ! Simulation terminated : all process are over
Simulation time 421.531
==8295==
==8295== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==8295== malloc/free: in use at exit: 0 bytes in 0 blocks.
==8295== malloc/free: 195685 allocs, 195685 frees, 6498475 bytes allocated.
==8295== For counts of detected errors, rerun with: -v
==8295== No malloc'd blocks -- no leaks are possible.

Rha! The very good news is that this code (msg_test) behaves exactly in the same way as with the old MSG version. And it is a way faster !!! :)

Before :
  real    0m3.130s
  user    0m2.290s
  sys     0m0.030s

Now :
  real    0m0.392s
  user    0m0.290s
  sys     0m0.000s

Cool, isnt'it ? :)

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

15 years agoMem leak hunting!
alegrand [Fri, 31 Dec 2004 02:49:39 +0000 (02:49 +0000)]
Mem leak hunting!

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

15 years agoConvenient to optimize the SURF.
alegrand [Fri, 31 Dec 2004 02:49:07 +0000 (02:49 +0000)]
Convenient to optimize the SURF.

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

15 years agosearch data files in the right directory
mquinson [Wed, 29 Dec 2004 14:38:32 +0000 (14:38 +0000)]
search data files in the right directory

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

15 years agoMSG almost works. It enabled me to find some bug in the SURF. I'm going to optimize...
alegrand [Wed, 29 Dec 2004 03:15:51 +0000 (03:15 +0000)]
MSG almost works. It enabled me to find some bug in the SURF. I'm going to optimize maxmin and to fix this bug.

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

15 years ago*** empty log message ***
alegrand [Wed, 29 Dec 2004 03:11:50 +0000 (03:11 +0000)]
*** empty log message ***

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

15 years agoadd a startup and a cleanup function to each context
alegrand [Wed, 29 Dec 2004 03:11:03 +0000 (03:11 +0000)]
add a startup and a cleanup function to each context

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

15 years agoarguments were not set.
alegrand [Thu, 23 Dec 2004 00:56:58 +0000 (00:56 +0000)]
arguments were not set.

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

15 years agotask->data (formerly callback) could not be set by end-users.
alegrand [Thu, 23 Dec 2004 00:55:07 +0000 (00:55 +0000)]
task->data (formerly callback) could not be set by end-users.

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

15 years agoAPI modification in context breaks MSG. Removing MSG from the compilation list until...
alegrand [Wed, 22 Dec 2004 20:43:12 +0000 (20:43 +0000)]
API modification in context breaks MSG. Removing MSG from the compilation list until it is repaired.

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

15 years agoModifying the API so as to prevent a use of the context that would make valgrind...
alegrand [Wed, 22 Dec 2004 20:41:34 +0000 (20:41 +0000)]
Modifying the API so as to prevent a use of the context that would make valgrind unhappy. See, I really care about the happiness of valgrind...

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

15 years agoNo more leak: valgrind approved. However, some ways of using these context make valgr...
alegrand [Wed, 22 Dec 2004 20:19:52 +0000 (20:19 +0000)]
No more leak: valgrind approved. However, some ways of using these context make valgrind cry and I really don't know why. Some other people have faced the same problem but "solved" it by supressing valgrind's warning...

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

15 years agoHow can I have ever wrote such a thing !
alegrand [Wed, 22 Dec 2004 20:17:22 +0000 (20:17 +0000)]
How can I have ever wrote such a thing !

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

15 years agoTrying to make old MSG exemples run on top on SURF. Definitely need to wax it more...
alegrand [Tue, 21 Dec 2004 21:46:49 +0000 (21:46 +0000)]
Trying to make old MSG exemples run on top on SURF. Definitely need to wax it more, especially the context part.

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

15 years agodebug debug debug
alegrand [Tue, 21 Dec 2004 21:43:22 +0000 (21:43 +0000)]
debug debug debug

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

15 years agoForgot to disable debug printf's. Sorry for the noise.
alegrand [Tue, 21 Dec 2004 21:26:31 +0000 (21:26 +0000)]
Forgot to disable debug printf's. Sorry for the noise.

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

15 years agomake valgrind happy happy.
alegrand [Tue, 21 Dec 2004 21:24:50 +0000 (21:24 +0000)]
make valgrind happy happy.

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

15 years agoDude, that was baaad... ;)
alegrand [Tue, 21 Dec 2004 19:50:39 +0000 (19:50 +0000)]
Dude, that was baaad... ;)

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

15 years agoplatform file is not hardcoded anymore
alegrand [Sat, 18 Dec 2004 05:41:25 +0000 (05:41 +0000)]
platform file is not hardcoded anymore

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

15 years agoThis function has been accidentally deleted in the last version...
alegrand [Sat, 18 Dec 2004 00:17:39 +0000 (00:17 +0000)]
This function has been accidentally deleted in the last version...

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

15 years agoFinished to rewrite most functions. Now let's try it and spend one week to debug...
alegrand [Fri, 17 Dec 2004 23:52:52 +0000 (23:52 +0000)]
Finished to rewrite most functions. Now let's try it and spend one week to debug... :)

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

15 years agocosmetics
alegrand [Fri, 17 Dec 2004 23:43:04 +0000 (23:43 +0000)]
cosmetics

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

15 years agomoved src/surf/surf_parse.h to include/surf/
alegrand [Fri, 17 Dec 2004 23:41:39 +0000 (23:41 +0000)]
moved src/surf/surf_parse.h to include/surf/

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

15 years agoAdd a convenient function
alegrand [Fri, 17 Dec 2004 23:30:56 +0000 (23:30 +0000)]
Add a convenient function

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

15 years agoThis one was easy. :)
alegrand [Fri, 17 Dec 2004 22:45:59 +0000 (22:45 +0000)]
This one was easy. :)

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

15 years agoA few more functions and I'll be able to make MSG program start and crash... :)
alegrand [Fri, 17 Dec 2004 22:26:59 +0000 (22:26 +0000)]
A few more functions and I'll be able to make MSG program start and crash... :)

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

15 years agoCosmetics
alegrand [Fri, 17 Dec 2004 21:29:11 +0000 (21:29 +0000)]
Cosmetics

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

15 years agoKeep rewriting MSG so that it uses SURF instead of SG. The day I'm gonna run a MSG...
alegrand [Fri, 17 Dec 2004 21:18:52 +0000 (21:18 +0000)]
Keep rewriting MSG so that it uses SURF instead of SG. The day I'm gonna run a MSG program, it is gonna take a long time before it does not crash anymore...

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

15 years agoKeeping rewriting MSG
alegrand [Fri, 17 Dec 2004 05:46:56 +0000 (05:46 +0000)]
Keeping rewriting MSG

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

15 years agoAdding function to indicate whether an action is suspended or not.
alegrand [Fri, 17 Dec 2004 05:45:05 +0000 (05:45 +0000)]
Adding function to indicate whether an action is suspended or not.

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

15 years agoA few more functions usefull in MSG. They should not be written like functions though...
alegrand [Fri, 17 Dec 2004 05:43:49 +0000 (05:43 +0000)]
A few more functions usefull in MSG. They should not be written like functions though as they are used in loop. Nevermind.

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

15 years agocosmetics : s/sim_data/simdata/g
alegrand [Fri, 17 Dec 2004 00:04:50 +0000 (00:04 +0000)]
cosmetics : s/sim_data/simdata/g
still does not break backward compatibility. It was private before.

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

15 years agocosmetics : create -> new
alegrand [Thu, 16 Dec 2004 23:29:25 +0000 (23:29 +0000)]
cosmetics : create -> new

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

15 years agojust a move
alegrand [Thu, 16 Dec 2004 23:12:32 +0000 (23:12 +0000)]
just a move

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

15 years agoKeep rewriting MSG
alegrand [Thu, 16 Dec 2004 22:55:55 +0000 (22:55 +0000)]
Keep rewriting MSG

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

15 years agoMSG is not a module
alegrand [Thu, 16 Dec 2004 22:55:27 +0000 (22:55 +0000)]
MSG is not a module

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