Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoExplain the copious warnings of automake in this directory in the comment
mquinson [Tue, 20 May 2008 20:54:37 +0000 (20:54 +0000)]
Explain the copious warnings of automake in this directory in the comment

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

12 years agoDo append the right buffer to the message when we switched to dynamic logs; be more...
mquinson [Tue, 20 May 2008 20:50:37 +0000 (20:50 +0000)]
Do append the right buffer to the message when we switched to dynamic logs; be more paranoid on static buffer overflow

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

12 years agocosmetics
mquinson [Tue, 20 May 2008 20:49:33 +0000 (20:49 +0000)]

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

12 years agoFix make dist
mquinson [Tue, 20 May 2008 20:08:50 +0000 (20:08 +0000)]
Fix make dist

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

12 years agocosmetics
mquinson [Tue, 20 May 2008 17:31:10 +0000 (17:31 +0000)]

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

12 years agoRework all examples and test cases of the properties
mquinson [Tue, 20 May 2008 17:29:46 +0000 (17:29 +0000)]
Rework all examples and test cases of the properties

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

12 years agoImplement properties on hosts and processes in RL (host is inited to empty, and proce...
mquinson [Tue, 20 May 2008 16:09:22 +0000 (16:09 +0000)]
Implement properties on hosts and processes in RL (host is inited to empty, and process is inited to system process environment)

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

12 years agoadd the ability to tesh to mess with the processes' environment
mquinson [Tue, 20 May 2008 15:51:09 +0000 (15:51 +0000)]
add the ability to tesh to mess with the processes' environment

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

12 years agoplug a memleak
mquinson [Tue, 20 May 2008 15:46:28 +0000 (15:46 +0000)]
plug a memleak

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

12 years agocleanup around the free-like functions used as dealloc callbacks in dynar and dicts...
mquinson [Tue, 20 May 2008 13:05:11 +0000 (13:05 +0000)]
cleanup around the free-like functions used as dealloc callbacks in dynar and dicts. One function was publicj with its code in xbt_os_time, and the other one was private to xbt_str.c. Now, they are both public and have their code in xbt_main (don't want to do a new .c file for them)

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

12 years agoGet ride of a supurious compiler warning
mquinson [Tue, 20 May 2008 12:52:06 +0000 (12:52 +0000)]
Get ride of a supurious compiler warning

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

12 years agoSpeed up update_action_state for sleep actions with no maximum duration.
alegrand [Tue, 20 May 2008 09:59:00 +0000 (09:59 +0000)]
Speed up update_action_state for sleep actions with no maximum duration.

I use the following "now classical" hack. The swag has two parts:
actions that really need being updated are in the head part and the
ones for which no update is needed are in the tail part.

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

12 years agoChange the prototype for update_resource_state.
alegrand [Tue, 20 May 2008 09:58:11 +0000 (09:58 +0000)]
Change the prototype for update_resource_state.

Now that update_resource_state also takes care of failed actions, it
is mendatory to get correct informations about action's finish time.

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

12 years agoTry to make actions as failed only when needed.
alegrand [Tue, 20 May 2008 09:57:29 +0000 (09:57 +0000)]
Try to make actions as failed only when needed.

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

12 years agoIncredible bug fix in function lmm_get_var_from_cnst with bad consequences on trace...
alegrand [Tue, 20 May 2008 09:56:47 +0000 (09:56 +0000)]
Incredible bug fix in function lmm_get_var_from_cnst with bad consequences on trace handling...
This function could not work so I had to change the prototype and update parts of the code that relied on it.

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

12 years agoRewrite the timeout computation to reduce numerical instabilities issues
mquinson [Tue, 20 May 2008 09:01:08 +0000 (09:01 +0000)]
Rewrite the timeout computation to reduce numerical instabilities issues

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

12 years agoStupid us (as in Arnaud and me): we should not set sleep(-1) to sleep(MAXMIN_PRECISIO...
mquinson [Tue, 20 May 2008 08:05:24 +0000 (08:05 +0000)]
Stupid us (as in Arnaud and me): we should not set sleep(-1) to sleep(MAXMIN_PRECISION). the fix targets durations close to 0, not negative ones. This change broke almost all simulated examples.

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

12 years agoIgnore autogenerated cruft
mquinson [Mon, 19 May 2008 22:16:37 +0000 (22:16 +0000)]
Ignore autogenerated cruft

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

12 years agoTest case trying to handle messages for a very short period
mquinson [Mon, 19 May 2008 13:20:05 +0000 (13:20 +0000)]
Test case trying to handle messages for a very short period

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

12 years agodo not wait for too small durations to avoid numerical instabilities
mquinson [Mon, 19 May 2008 12:42:01 +0000 (12:42 +0000)]
do not wait for too small durations to avoid numerical instabilities

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

12 years agoAlso release the mutex when I didn't got what I wanted
mquinson [Mon, 19 May 2008 11:33:35 +0000 (11:33 +0000)]
Also release the mutex when I didn't got what I wanted

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

12 years agoSometimes, the time to wait is soo small that the increment does not change the globa...
mquinson [Fri, 16 May 2008 16:08:54 +0000 (16:08 +0000)]
Sometimes, the time to wait is soo small that the increment does not change the global clock (for example, 100000 + 10E-15=100000). Add an epsilon to the wait to avoid the issue. I'm still not completely sure that the fix is 100% effective (because 10E300 + 1 = 10E300), but I don't have any better idea

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

12 years agoSome new files of the cxx version of the MSG API
cherierm [Fri, 16 May 2008 15:06:13 +0000 (15:06 +0000)]
Some new files of the cxx version of the MSG API

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

12 years agoCode refactoring
cherierm [Fri, 16 May 2008 15:04:54 +0000 (15:04 +0000)]
Code refactoring

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

12 years agonot needed now.
cherierm [Fri, 16 May 2008 15:04:21 +0000 (15:04 +0000)]
not needed now.

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