Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
13 years agoClean and reorganize: move some frees to the right locations...
alegrand [Tue, 10 Jun 2008 13:23:35 +0000 (13:23 +0000)]
Clean and reorganize: move some frees to the right locations...

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

13 years agoFactorize some code in the parser, hide some functions and variables, avoid useless...
alegrand [Tue, 10 Jun 2008 12:59:38 +0000 (12:59 +0000)]
Factorize some code in the parser, hide some functions and variables, avoid useless calls, plug some memleaks.

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

13 years agoPlug a memleak
alegrand [Tue, 10 Jun 2008 12:59:32 +0000 (12:59 +0000)]
Plug a memleak

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

13 years agoPlug memleak.
alegrand [Tue, 10 Jun 2008 12:59:26 +0000 (12:59 +0000)]
Plug memleak.

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

13 years agoSome more debug output
mquinson [Tue, 10 Jun 2008 12:00:48 +0000 (12:00 +0000)]
Some more debug output

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

13 years agoplug memleaks
mquinson [Tue, 10 Jun 2008 11:57:57 +0000 (11:57 +0000)]
plug memleaks

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

13 years agoOups, I changed the prototype of these functions
mquinson [Tue, 10 Jun 2008 10:04:51 +0000 (10:04 +0000)]
Oups, I changed the prototype of these functions

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

13 years agouseless cleanup
mquinson [Tue, 10 Jun 2008 09:55:31 +0000 (09:55 +0000)]
useless cleanup

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

13 years agoallow to attribute a rank to slaves in peer groups. This allow to make tests with...
mquinson [Tue, 10 Jun 2008 09:08:32 +0000 (09:08 +0000)]
allow to attribute a rank to slaves in peer groups. This allow to make tests with more predicatable outputs. Also change the example outputs, also to make them more predictable.

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

13 years agono need to dupplicate the work of svn blame
mquinson [Tue, 10 Jun 2008 07:49:13 +0000 (07:49 +0000)]
no need to dupplicate the work of svn blame

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

13 years agouseless cleanup
mquinson [Tue, 10 Jun 2008 07:45:05 +0000 (07:45 +0000)]
useless cleanup

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

13 years agoCut a now useless dependency of surf.h to portable.h which would have caused the...
mquinson [Tue, 10 Jun 2008 07:39:49 +0000 (07:39 +0000)]
Cut a now useless dependency of surf.h to portable.h which would have caused the whole simulation world to be recompiled each time we reconfigure the source

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

13 years agoRemove the surf_*_model_description_size constants. They were hard to compute when...
mquinson [Tue, 10 Jun 2008 07:31:22 +0000 (07:31 +0000)]
Remove the surf_*_model_description_size constants. They were hard to compute when we add a new model, and we can go without them by using NULL terminated arrays

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

13 years agoPropagate recent modifications of change_host function to java.
alegrand [Mon, 9 Jun 2008 21:56:41 +0000 (21:56 +0000)]
Propagate recent modifications of change_host function to java.

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

13 years agolast changes of tesh2
cherierm [Mon, 9 Jun 2008 15:36:05 +0000 (15:36 +0000)]
last changes of tesh2

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

13 years agoRemoved duplicated declaration of surf_network_model_init_GTNETS in network_gtnets.c .
velho [Mon, 9 Jun 2008 11:26:46 +0000 (11:26 +0000)]
Removed duplicated declaration of surf_network_model_init_GTNETS in network_gtnets.c .

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

13 years agoAdded a properties field to struct network_card_GTNETS.
velho [Mon, 9 Jun 2008 11:26:42 +0000 (11:26 +0000)]
Added a properties field to struct network_card_GTNETS.

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

13 years agoMoving init_GTNETS function to the right place.
velho [Mon, 9 Jun 2008 11:26:39 +0000 (11:26 +0000)]
Moving init_GTNETS function to the right place.

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

13 years agoSDP compiling now, added header portable.h to header file and sdp.
velho [Mon, 9 Jun 2008 11:26:34 +0000 (11:26 +0000)]
SDP compiling now, added header portable.h to header file and sdp.

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

13 years agoReno2 now compatible with the new and more appropriated name for define_callbacks...
velho [Mon, 9 Jun 2008 11:26:29 +0000 (11:26 +0000)]
Reno2 now compatible with the new and more appropriated name for define_callbacks (old named parse_file).

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

13 years agoCorrect the network_model_description_size in order to include Reno2.
velho [Mon, 9 Jun 2008 11:26:26 +0000 (11:26 +0000)]
Correct the network_model_description_size in order to include Reno2.

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

13 years agoAdded Reno2, a model that takes 2W/RTT as the utility parameter in the Low proposed...
velho [Mon, 9 Jun 2008 11:26:22 +0000 (11:26 +0000)]
Added Reno2, a model that takes 2W/RTT as the utility parameter in the Low proposed Reno bandwidth sharing model.

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

13 years agoAdded a function and the bound to the variable structure.
velho [Mon, 9 Jun 2008 11:26:18 +0000 (11:26 +0000)]
Added a function and the bound to the variable structure.

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

13 years agoAdded the feature of getting remaining communication from gtnets flows.
velho [Mon, 9 Jun 2008 11:26:14 +0000 (11:26 +0000)]
Added the feature of getting remaining communication from gtnets flows.

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

13 years agoFixed small bug when running_actions were empty.
velho [Mon, 9 Jun 2008 11:26:10 +0000 (11:26 +0000)]
Fixed small bug when running_actions were empty.

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

13 years agoMake GTNETS compatible with new parsing and variable name convention.
velho [Mon, 9 Jun 2008 11:26:07 +0000 (11:26 +0000)]
Make GTNETS compatible with new parsing and variable name convention.

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

13 years agoUse the same type name (network_link_GTNETS_t) as in the private header.
velho [Mon, 9 Jun 2008 11:26:04 +0000 (11:26 +0000)]
Use the same type name (network_link_GTNETS_t) as in the private header.

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

13 years agoBetter management of additionnal network models
velho [Mon, 9 Jun 2008 11:26:01 +0000 (11:26 +0000)]
Better management of additionnal network models

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

13 years agoClean up the mess. Now the GTNETS and SDP detection are clean.
velho [Mon, 9 Jun 2008 11:25:57 +0000 (11:25 +0000)]
Clean up the mess. Now the GTNETS and SDP detection are clean.

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

13 years agoAfter extensible reading in automake info files the AC_DEFINE is not used for definin...
velho [Mon, 9 Jun 2008 11:25:53 +0000 (11:25 +0000)]
After extensible reading in automake info files the AC_DEFINE is not used for defining a macro directly it only creates a config.in.h to autoheaders or to the temporary tests. For the moment the best opition is to put this -D... flag for all compilations.

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

13 years agoEnsure that the random generator respects the provided mean and standard deviation...
mquinson [Mon, 9 Jun 2008 09:04:32 +0000 (09:04 +0000)]
Ensure that the random generator respects the provided mean and standard deviation. Based on a patch from Louis-Claude Canon, thanks

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

13 years agoRodrigo Righi patch to enable migration.
alegrand [Sat, 7 Jun 2008 14:09:22 +0000 (14:09 +0000)]
Rodrigo Righi patch to enable migration.

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

13 years agoRevalidate "output" avec Benjamin Depardon's bug correction.
alegrand [Sat, 7 Jun 2008 13:59:21 +0000 (13:59 +0000)]
Revalidate "output" avec Benjamin Depardon's bug correction.

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

13 years agoFix the bug raised by Benjamin Depardon.
alegrand [Sat, 7 Jun 2008 13:45:22 +0000 (13:45 +0000)]
Fix the bug raised by Benjamin Depardon.

  The usage of this changed_state attribute was "premature
  optimization". The use of FIFO mode complicates the call path and
  makes things more complicated. That is why I've finally decide to
  use a clean dynar...

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

13 years agoa win32 auto.tesh (because echo test and pwd do not exist on Windows)
cherierm [Fri, 6 Jun 2008 15:58:32 +0000 (15:58 +0000)]
a win32 auto.tesh (because echo test and pwd do not exist on Windows)

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

13 years agolast change of Tesh2
cherierm [Fri, 6 Jun 2008 15:55:38 +0000 (15:55 +0000)]
last change of Tesh2

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

13 years agoCorrected small bug in network model host_number is used instead of card_number.
velho [Fri, 6 Jun 2008 10:27:48 +0000 (10:27 +0000)]
Corrected small bug in network model host_number is used instead of card_number.

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

13 years agoSome extra check to ensure portability
mquinson [Thu, 5 Jun 2008 14:34:18 +0000 (14:34 +0000)]
Some extra check to ensure portability

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

13 years agomalloc(0) fails on AIX
mquinson [Thu, 5 Jun 2008 14:25:22 +0000 (14:25 +0000)]
malloc(0) fails on AIX

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

13 years agodamn ANSI C
mquinson [Thu, 5 Jun 2008 10:03:14 +0000 (10:03 +0000)]
damn ANSI C

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

13 years agoOps, sorry windows. I'll stick to ANSI
mquinson [Wed, 4 Jun 2008 19:30:36 +0000 (19:30 +0000)]
Ops, sorry windows. I'll stick to ANSI

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

13 years agonot needed (use Cat.c instead)
cherierm [Wed, 4 Jun 2008 17:54:32 +0000 (17:54 +0000)]
not needed (use Cat.c instead)

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

13 years agoa example of Tesh variables
cherierm [Wed, 4 Jun 2008 17:50:44 +0000 (17:50 +0000)]
a example of Tesh variables

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

13 years agonot needed
cherierm [Wed, 4 Jun 2008 17:48:52 +0000 (17:48 +0000)]
not needed

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

13 years agosource code to manage the Windows Unix and Mac file formats.
cherierm [Wed, 4 Jun 2008 17:47:23 +0000 (17:47 +0000)]
source code to manage the Windows Unix and Mac file formats.

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

13 years agosource code used to check if a specified command exists (if the command checking...
cherierm [Wed, 4 Jun 2008 17:45:41 +0000 (17:45 +0000)]
source code used to check if a specified command exists (if the command checking is enabled)

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

13 years agoa text file which contains the list of sh built-ins.
cherierm [Wed, 4 Jun 2008 17:43:42 +0000 (17:43 +0000)]
a text file which contains the list of sh built-ins.

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

13 years agosome new files used to check Tesh
cherierm [Wed, 4 Jun 2008 17:41:51 +0000 (17:41 +0000)]
some new files used to check Tesh

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

13 years agoLast corrections of Tesh tool.
cherierm [Wed, 4 Jun 2008 17:39:00 +0000 (17:39 +0000)]
Last corrections of Tesh tool.

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

13 years agokill dead code
mquinson [Wed, 4 Jun 2008 16:15:44 +0000 (16:15 +0000)]
kill dead code

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

13 years agoplug a memleak on thread cancelation (gras listener are always canceled)
mquinson [Wed, 4 Jun 2008 16:11:13 +0000 (16:11 +0000)]
plug a memleak on thread cancelation (gras listener are always canceled)

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

13 years agofix expected output
mquinson [Wed, 4 Jun 2008 16:09:54 +0000 (16:09 +0000)]
fix expected output

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

13 years agoSolve the empty_main bug: simply yield main gras thread right after the listener...
mquinson [Wed, 4 Jun 2008 16:05:55 +0000 (16:05 +0000)]
Solve the empty_main bug: simply yield main gras thread right after the listener creation so that it gets a chance to finish its initialization before we cancel it right away if the main is empty

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

13 years agoSome more debug output to understand the gras/empty_main bug
mquinson [Wed, 4 Jun 2008 16:04:24 +0000 (16:04 +0000)]
Some more debug output to understand the gras/empty_main bug

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

13 years agoMake sure all the source files have an reference of the copyright and of the licence
mquinson [Wed, 4 Jun 2008 15:16:26 +0000 (15:16 +0000)]
Make sure all the source files have an reference of the copyright and of the licence

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

13 years agoInform valgrind about ucontextes [Sékou Diakite]
mquinson [Tue, 3 Jun 2008 20:56:06 +0000 (20:56 +0000)]
Inform valgrind about ucontextes [Sékou Diakite]

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

13 years agoWell. Some of the tests do not fail
mquinson [Tue, 3 Jun 2008 20:53:20 +0000 (20:53 +0000)]
Well. Some of the tests do not fail

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

13 years agoOk, amok tests do fail. I know that, but I'm sick of delaying the release for that...
mquinson [Tue, 3 Jun 2008 20:36:52 +0000 (20:36 +0000)]
Ok, amok tests do fail. I know that, but I'm sick of delaying the release for that piece of code that nobody uses (beside Lionel of course)

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

13 years agoWell, actually, yes, top_srcdir is supposed to be a relative path. But since it's...
mquinson [Tue, 3 Jun 2008 16:04:43 +0000 (16:04 +0000)]
Well, actually, yes, top_srcdir is supposed to be a relative path. But since it's not in eclipse, let's go for abs_top_srcdir instead of crude hacks around the directory when calling a command from a subdir

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

13 years agotop_srcdir is not supposed to be a relative path
mquinson [Tue, 3 Jun 2008 15:56:24 +0000 (15:56 +0000)]
top_srcdir is not supposed to be a relative path

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

13 years agotop_srcdir is not supposed to be a relative path
mquinson [Tue, 3 Jun 2008 15:53:43 +0000 (15:53 +0000)]
top_srcdir is not supposed to be a relative path

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

13 years agodos2unix + indent
mquinson [Tue, 27 May 2008 10:13:00 +0000 (10:13 +0000)]
dos2unix + indent

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

13 years agothe makefile used on bob
cherierm [Thu, 22 May 2008 12:06:20 +0000 (12:06 +0000)]
the makefile used on bob

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

13 years agonot needed
cherierm [Thu, 22 May 2008 12:04:26 +0000 (12:04 +0000)]
not needed

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

13 years agoDisplay any possible format sequence when the user provided an invalid one
mquinson [Wed, 21 May 2008 18:28:29 +0000 (18:28 +0000)]
Display any possible format sequence when the user provided an invalid one

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

13 years agoThese files are missing from the archive sometimes
mquinson [Wed, 21 May 2008 15:48:07 +0000 (15:48 +0000)]
These files are missing from the archive sometimes

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

13 years agoBecause of numerical stability issues (once again), the timings are not exactly the...
mquinson [Wed, 21 May 2008 15:35:48 +0000 (15:35 +0000)]
Because of numerical stability issues (once again), the timings are not exactly the same on 32bits and 64bits for the small_sleep test case

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

13 years agoDamn. The order of events changed again in surf. Revalidate once again
mquinson [Wed, 21 May 2008 15:29:47 +0000 (15:29 +0000)]
Damn. The order of events changed again in surf. Revalidate once again

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

13 years agoDamn. The order of events changed again in surf. Revalidate once again
mquinson [Wed, 21 May 2008 15:28:38 +0000 (15:28 +0000)]
Damn. The order of events changed again in surf. Revalidate once again

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

13 years agoRefactoring of code and documentation.
cherierm [Wed, 21 May 2008 15:11:47 +0000 (15:11 +0000)]
Refactoring of code and documentation.

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

13 years agoAdd a class of exception for file not found and Msg files containing the declarations...
cherierm [Wed, 21 May 2008 15:11:19 +0000 (15:11 +0000)]
Add a class of exception for file not found and Msg files containing the declarations and implementation of the function connected to MSG.

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

13 years agoalso capture the output of the tests (which all write to stderr)
mquinson [Wed, 21 May 2008 15:00:43 +0000 (15:00 +0000)]
also capture the output of the tests (which all write to stderr)

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

13 years agokill all free_string functions declared locally to cleanup dynars afterward, and...
mquinson [Wed, 21 May 2008 14:58:52 +0000 (14:58 +0000)]
kill all free_string functions declared locally to cleanup dynars afterward, and use xbt_free_ref consitantly for that (plus plug two memleaks on the way in surf parser)

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

13 years agoSpeed up update_action_state AND generic_maxmin_share for sleep actions with no maxim...
alegrand [Wed, 21 May 2008 13:48:56 +0000 (13:48 +0000)]
Speed up update_action_state AND generic_maxmin_share for sleep actions with no maximum duration.

These sleep actions are not put in the running_action swag but in
another private one. Thus, they're somehow hiden from the surf kernel
but it does not need to see them anyway. The cpu module takes care of
them as the only thing that might happen to them (from the surf kernel
perspective) would be to fail, which is now done through the
update_resource function.

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

13 years agoWell the output of printf("%p",NULL) might depend on the system. So let's use a more...
alegrand [Wed, 21 May 2008 09:53:01 +0000 (09:53 +0000)]
Well the output of printf("%p",NULL) might depend on the system. So let's use a more stable convetion and revalidate the output.

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

13 years agoDo not use NULL as a name since AIX and linux do not display them the same way (AIX...
mquinson [Wed, 21 May 2008 09:46:39 +0000 (09:46 +0000)]
Do not use NULL as a name since AIX and linux do not display them the same way (AIX->"";Linux->"(null)")

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

13 years agocomplete the auto.tesh file
cherierm [Wed, 21 May 2008 09:45:35 +0000 (09:45 +0000)]
complete the auto.tesh file

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

13 years agoDo not print pointers (%p) when using INFO. This kind of output is system dependant...
alegrand [Wed, 21 May 2008 09:44:55 +0000 (09:44 +0000)]
Do not print pointers (%p) when using INFO. This kind of output is system dependant and it breaks the testsuites..

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

13 years agoadd catch-wrong-output.tesh to auto.tesh
cherierm [Wed, 21 May 2008 09:41:15 +0000 (09:41 +0000)]
add catch-wrong-output.tesh to auto.tesh

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

13 years agorevalidate output
mquinson [Wed, 21 May 2008 09:36:45 +0000 (09:36 +0000)]
revalidate output

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

13 years agoThis is the right condition that prevents deadlocks! :)
alegrand [Wed, 21 May 2008 09:32:47 +0000 (09:32 +0000)]
This is the right condition that prevents deadlocks! :)

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

13 years agochange the free function by a free_error function to clean all the tesh errors from...
cherierm [Wed, 21 May 2008 09:04:48 +0000 (09:04 +0000)]
change the free function by a free_error function to clean all the tesh errors from the dictionary.
change some distraction in tesh files.

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

13 years agoadd one more testing script to the archive
mquinson [Wed, 21 May 2008 09:04:36 +0000 (09:04 +0000)]
add one more testing script to the archive

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

13 years agoChange output of an example and fix the corresponding tesh file.
alegrand [Wed, 21 May 2008 09:04:35 +0000 (09:04 +0000)]
Change output of an example and fix the corresponding tesh file.

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

13 years agoRevalidate output!
alegrand [Wed, 21 May 2008 08:45:31 +0000 (08:45 +0000)]
Revalidate output!

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

13 years agoHandle failed tasks in update_resource_state function instead of the update_action_st...
alegrand [Wed, 21 May 2008 08:45:24 +0000 (08:45 +0000)]
Handle failed tasks in update_resource_state function instead of the update_action_state function.

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

13 years agodo not try to malloc 0-sized arrays
mquinson [Wed, 21 May 2008 08:42:02 +0000 (08:42 +0000)]
do not try to malloc 0-sized arrays

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

13 years agoadd every platform example that we have. Moreover, one of them is mandatory for a...
mquinson [Wed, 21 May 2008 08:18:31 +0000 (08:18 +0000)]
add every platform example that we have. Moreover, one of them is mandatory for a test

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

13 years agoAdd the test runner to the archive
mquinson [Wed, 21 May 2008 08:08:17 +0000 (08:08 +0000)]
Add the test runner to the archive

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

13 years agofix the test integration (they were meant to be run from teshsuite/gras/empty_main...
mquinson [Wed, 21 May 2008 07:26:52 +0000 (07:26 +0000)]
fix the test integration (they were meant to be run from teshsuite/gras/empty_main instead of teshsuite/)

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

13 years agoMmm. Time to bed
mquinson [Tue, 20 May 2008 23:22:03 +0000 (23:22 +0000)]
Mmm. Time to bed

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

13 years agoExtra care for environ shouldn't be mandatory here, since that's not a dynamic librar...
mquinson [Tue, 20 May 2008 23:20:37 +0000 (23:20 +0000)]
Extra care for environ shouldn't be mandatory here, since that's not a dynamic library but a binary. But the linker complains anyway

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

13 years agoI changed the way to connect traces afterward about 5 months ago. good time to notice...
mquinson [Tue, 20 May 2008 23:09:16 +0000 (23:09 +0000)]
I changed the way to connect traces afterward about 5 months ago. good time to notice that this example didn't got updated

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

13 years agoSecond try to let the darwin linker find the environment variables
mquinson [Tue, 20 May 2008 23:07:40 +0000 (23:07 +0000)]
Second try to let the darwin linker find the environment variables

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

13 years agorevalidate the output; more details get now displayed in about the platform, somehow...
mquinson [Tue, 20 May 2008 23:02:52 +0000 (23:02 +0000)]
revalidate the output; more details get now displayed in about the platform, somehow. Not sure of what happened to these outputs. That's what happen when a test remains broken for 5 months, stupid me

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

13 years agoOps, I was saving the data for further use, but I inverted key and value in the dict...
mquinson [Tue, 20 May 2008 22:59:00 +0000 (22:59 +0000)]
Ops, I was saving the data for further use, but I inverted key and value in the dict. This bug is at least 5 months old, and is yet another proof than nobody uses traces (even if you can use them without trigering the bug, with the old interface)

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

13 years agoSome extra love is needed to use the environ variable in a dynamic library on darwin
mquinson [Tue, 20 May 2008 22:26:51 +0000 (22:26 +0000)]
Some extra love is needed to use the environ variable in a dynamic library on darwin

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

13 years agoRevalidate output after last change in surf changing the event order
mquinson [Tue, 20 May 2008 21:38:42 +0000 (21:38 +0000)]
Revalidate output after last change in surf changing the event order

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

13 years agoRevalidate output after last change in surf changing the event order
mquinson [Tue, 20 May 2008 21:02:01 +0000 (21:02 +0000)]
Revalidate output after last change in surf changing the event order

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

13 years agoRevalidate the output after last change in surf messing with event order, and fix...
mquinson [Tue, 20 May 2008 20:59:19 +0000 (20:59 +0000)]
Revalidate the output after last change in surf messing with event order, and fix a typo

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