Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
19 years agoMake the context cruft work on windows; mark the pthread layer in context.* as deprec...
mquinson [Wed, 15 Dec 2004 22:47:38 +0000 (22:47 +0000)]
Make the context cruft work on windows; mark the pthread layer in context.* as deprecated. We will need threads around, but not here

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

19 years agoLet's keep cool and polite with the users of prehistoric platforms
mquinson [Wed, 15 Dec 2004 20:33:08 +0000 (20:33 +0000)]
Let's keep cool and polite with the users of prehistoric platforms

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

19 years agoWell, some things really are deprecated. Especially those that enable to
alegrand [Wed, 15 Dec 2004 06:58:26 +0000 (06:58 +0000)]
Well, some things really are deprecated. Especially those that enable to
build a platform by hand. Therefore, there is no more need for links... just
process executing on hosts and working on tasks.

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

19 years agoStarting MSG. To ensure backward compability, those two headers won't really
alegrand [Wed, 15 Dec 2004 06:20:08 +0000 (06:20 +0000)]
Starting MSG. To ensure backward compability, those two headers won't really
change.

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

19 years agowhen using doubles, %lg should be used for scanf and %g for printf (which is
alegrand [Wed, 15 Dec 2004 06:14:07 +0000 (06:14 +0000)]
when using doubles, %lg should be used for scanf and %g for printf (which is
weird because it means printf does not make any difference between float and
double). However %lg also works for printf. So let's keep it uniform and
we'll change that if we ever find a machine where it does not work.

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

19 years agogenerate an helper script to make it work on win32
mquinson [Tue, 14 Dec 2004 21:29:07 +0000 (21:29 +0000)]
generate an helper script to make it work on win32

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

19 years agodo not configure by default since I know cross-compile using VPATH
mquinson [Tue, 14 Dec 2004 21:28:16 +0000 (21:28 +0000)]
do not configure by default since I know cross-compile using VPATH

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

19 years agoMake it work on win32; use the portable errno on socks; fix a bug revealed by the...
mquinson [Tue, 14 Dec 2004 21:26:50 +0000 (21:26 +0000)]
Make it work on win32; use the portable errno on socks; fix a bug revealed by the win port (but existing for all ports)

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

19 years agoSorry for those stupid assert.
alegrand [Tue, 14 Dec 2004 21:21:26 +0000 (21:21 +0000)]
Sorry for those stupid assert.

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

19 years agoadded a debug msg
mquinson [Tue, 14 Dec 2004 21:19:27 +0000 (21:19 +0000)]
added a debug msg

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

19 years agocheck for the functions we need; generate and chmod +x the helper scripts we need
mquinson [Tue, 14 Dec 2004 21:18:05 +0000 (21:18 +0000)]
check for the functions we need; generate and chmod +x the helper scripts we need

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

19 years agoMake it work on win32 ; some more debug msgs
mquinson [Tue, 14 Dec 2004 21:16:14 +0000 (21:16 +0000)]
Make it work on win32 ; some more debug msgs

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

19 years agocross-compile support: append '.exe' to the binary names we want to start when on...
mquinson [Tue, 14 Dec 2004 21:14:05 +0000 (21:14 +0000)]
cross-compile support: append '.exe' to the binary names we want to start when on win32

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

19 years agosupport for wine testsuite execution: do not run the helper scripts from within wine...
mquinson [Tue, 14 Dec 2004 21:11:04 +0000 (21:11 +0000)]
support for wine testsuite execution: do not run the helper scripts from within wine. Note to self: this script becomes ways too hairly and should be 'reworked' from scratch

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

19 years agoinitialize winsock; support multiple calls to init/exit functions (should be generali...
mquinson [Tue, 14 Dec 2004 21:06:25 +0000 (21:06 +0000)]
initialize winsock; support multiple calls to init/exit functions (should be generalized); useless but numerous cosmetics and picky changes

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

19 years agocleanup for the upcoming release
mquinson [Tue, 14 Dec 2004 21:03:32 +0000 (21:03 +0000)]
cleanup for the upcoming release

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

19 years agoMake sure HAVE_WINSOCK_H is defined even if only version 2 since it's the used sentin...
mquinson [Tue, 14 Dec 2004 21:01:59 +0000 (21:01 +0000)]
Make sure HAVE_WINSOCK_H is defined even if only version 2 since it's the used sentinel; define portable way to retrieve errno and errstr with sockets

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

19 years agosome more possible logs (printf is the only way to debug cross-compile so far)
mquinson [Tue, 14 Dec 2004 21:00:10 +0000 (21:00 +0000)]
some more possible logs (printf is the only way to debug cross-compile so far)

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

19 years agouse gras_exit, not only xbt_exit
mquinson [Tue, 14 Dec 2004 20:59:20 +0000 (20:59 +0000)]
use gras_exit, not only xbt_exit

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

19 years agoCompile pas avec les warnings, sinon
mquinson [Tue, 14 Dec 2004 20:58:26 +0000 (20:58 +0000)]
Compile pas avec les warnings, sinon

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

19 years agoAdding a context library to xbt.
alegrand [Tue, 14 Dec 2004 19:04:58 +0000 (19:04 +0000)]
Adding a context library to xbt.

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

19 years agocosmetic
mquinson [Sun, 12 Dec 2004 18:49:24 +0000 (18:49 +0000)]
cosmetic

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

19 years agoNo more use of abort.
alegrand [Sat, 11 Dec 2004 05:06:28 +0000 (05:06 +0000)]
No more use of abort.

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

19 years agoNo more xbt_maxmin_float_t not xbt_heap_float_t. I use double everywhere. In
alegrand [Sat, 11 Dec 2004 00:12:07 +0000 (00:12 +0000)]
No more xbt_maxmin_float_t not xbt_heap_float_t. I use double everywhere. In
SimGrid 2 I had to use long double for precision reason. Probably because of
the trace integration but I should not need it anymore since there is no
more trace integration. The real question is "is double sufficient for time
values". The answer is yes since for values larger than 272 years, you still
have a precision of 1e-6 s. float is clearly not sufficient however. Let's
use doubles then !

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

19 years agobuglet and improvement
mquinson [Fri, 10 Dec 2004 15:43:40 +0000 (15:43 +0000)]
buglet and improvement

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

19 years agoFix the semantic (gras_os_time returns seconds, not microseconds)
mquinson [Fri, 10 Dec 2004 15:33:56 +0000 (15:33 +0000)]
Fix the semantic (gras_os_time returns seconds, not microseconds)

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

19 years agoFix the semantic (gras_os_time returns seconds); Fix output (I didn't understood...
mquinson [Fri, 10 Dec 2004 15:30:30 +0000 (15:30 +0000)]
Fix the semantic (gras_os_time returns seconds); Fix output (I didn't understood the subtility of the cast to double by adding 0.0)

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

19 years agoAdd a blurb on cross-compiling lin->win
mquinson [Fri, 10 Dec 2004 15:24:58 +0000 (15:24 +0000)]
Add a blurb on cross-compiling lin->win

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

19 years agoglanced rapidely
mquinson [Fri, 10 Dec 2004 12:00:45 +0000 (12:00 +0000)]
glanced rapidely

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

19 years agorun_tests now run tests from their directory. But for how long?
mquinson [Fri, 10 Dec 2004 12:00:04 +0000 (12:00 +0000)]
run_tests now run tests from their directory. But for how long?

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

19 years agoignore crufty lex results
mquinson [Fri, 10 Dec 2004 11:58:54 +0000 (11:58 +0000)]
ignore crufty lex results

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

19 years agorun the testsuite with wine if needed (will certainly break on cygwin, but who use...
mquinson [Fri, 10 Dec 2004 11:57:07 +0000 (11:57 +0000)]
run the testsuite with wine if needed (will certainly break on cygwin, but who use it?);some crufty workaround to call the tests from their own directory (surf tests expect this)

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

19 years agoadd portable.h (headers to include to program in a portable manner, for internal...
mquinson [Fri, 10 Dec 2004 11:54:18 +0000 (11:54 +0000)]
add portable.h (headers to include to program in a portable manner, for internal use); add gras.c (containing gras_init); declare that libgrasrl depends on winsock when on BillWare

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

19 years agodefine gras_init
mquinson [Fri, 10 Dec 2004 11:52:22 +0000 (11:52 +0000)]
define gras_init

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

19 years agouse gras_init. xbt_init is not enough
mquinson [Fri, 10 Dec 2004 11:52:04 +0000 (11:52 +0000)]
use gras_init. xbt_init is not enough

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

19 years agofirst work on the cross-compilation
mquinson [Fri, 10 Dec 2004 11:51:31 +0000 (11:51 +0000)]
first work on the cross-compilation

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

19 years agoEnsure portability to win32 using the gras_os_functions :) Beware, gras_os_time resol...
mquinson [Fri, 10 Dec 2004 11:47:34 +0000 (11:47 +0000)]
Ensure portability to win32 using the gras_os_functions :) Beware, gras_os_time resolution is 1sec on win32 (and as good as gettimeofday on modern platforms)

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

19 years agodefine max only when not previously defined (win32 defines it); move xbt_abort to...
mquinson [Fri, 10 Dec 2004 11:45:38 +0000 (11:45 +0000)]
define max only when not previously defined (win32 defines it); move xbt_abort to a more logical header (sysdep->error); fix some (c) dates

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

19 years agotest local version of gras, not the installed one; use gras_init now that it exists...
mquinson [Fri, 10 Dec 2004 11:43:16 +0000 (11:43 +0000)]
test local version of gras, not the installed one; use gras_init now that it exists (again); fix some (c) dates

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

19 years agotest local version of gras, not the installed one; more verbose messages on errors...
mquinson [Fri, 10 Dec 2004 11:42:21 +0000 (11:42 +0000)]
test local version of gras, not the installed one; more verbose messages on errors encountered during cross-port

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

19 years agofix some (c) dates; do test the local version of gras, not the installed one; cleanup...
mquinson [Fri, 10 Dec 2004 11:41:11 +0000 (11:41 +0000)]
fix some (c) dates; do test the local version of gras, not the installed one; cleanup in the headers

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

19 years agoEnsure portability to win32 using the gras_os_functions :)
mquinson [Fri, 10 Dec 2004 11:40:17 +0000 (11:40 +0000)]
Ensure portability to win32 using the gras_os_functions :)

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

19 years agoCompile pas cte merde :)
mquinson [Fri, 10 Dec 2004 11:37:39 +0000 (11:37 +0000)]
Compile pas cte merde :)

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

19 years agofix (C) dates
mquinson [Fri, 10 Dec 2004 06:53:40 +0000 (06:53 +0000)]
fix (C) dates

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

19 years agoThere is now a proper gras_init function
mquinson [Fri, 10 Dec 2004 06:53:31 +0000 (06:53 +0000)]
There is now a proper gras_init function

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

19 years agoremove gras from the xbt
mquinson [Fri, 10 Dec 2004 06:53:07 +0000 (06:53 +0000)]
remove gras from the xbt

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

19 years agocosmetics
mquinson [Fri, 10 Dec 2004 06:52:12 +0000 (06:52 +0000)]
cosmetics

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

19 years agoCompile pas, c'te merde
mquinson [Fri, 10 Dec 2004 06:51:47 +0000 (06:51 +0000)]
Compile pas, c'te merde

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

19 years agomoved higher for the surf
mquinson [Fri, 10 Dec 2004 06:51:20 +0000 (06:51 +0000)]
moved higher for the surf

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

19 years agoFix (c) dates; make clear this is deprecated code
mquinson [Fri, 10 Dec 2004 06:50:47 +0000 (06:50 +0000)]
Fix (c) dates; make clear this is deprecated code

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

19 years agoFix (c) dates
mquinson [Fri, 10 Dec 2004 06:50:10 +0000 (06:50 +0000)]
Fix (c) dates

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

19 years agoFix (c) dates; Initiate win32 cross-port
mquinson [Fri, 10 Dec 2004 06:49:37 +0000 (06:49 +0000)]
Fix (c) dates; Initiate win32 cross-port

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

19 years agoInitiate win32 cross-port
mquinson [Fri, 10 Dec 2004 06:48:38 +0000 (06:48 +0000)]
Initiate win32 cross-port

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

19 years agofix headers
mquinson [Fri, 10 Dec 2004 06:47:33 +0000 (06:47 +0000)]
fix headers

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

19 years agoContain all the system headers we may need. Works on unix and linux
mquinson [Fri, 10 Dec 2004 06:46:04 +0000 (06:46 +0000)]
Contain all the system headers we may need. Works on unix and linux

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

19 years agoFix (c) dates; win32 cross-port
mquinson [Fri, 10 Dec 2004 06:45:04 +0000 (06:45 +0000)]
Fix (c) dates; win32 cross-port

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

19 years agoA proper gras_init function
mquinson [Fri, 10 Dec 2004 06:43:28 +0000 (06:43 +0000)]
A proper gras_init function

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

19 years agoInitiate port to cross compile over win32. Try to let TWO_COMPLEMENT work with cross...
mquinson [Fri, 10 Dec 2004 06:42:52 +0000 (06:42 +0000)]
Initiate port to cross compile over win32. Try to let TWO_COMPLEMENT work with cross-compile, and remove it since I failed and I doubt its utility. Add the win32 arch (the alignments are different)

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

19 years agoA meta-resource : workstation is simply a CPU and a network card.
alegrand [Fri, 10 Dec 2004 04:35:15 +0000 (04:35 +0000)]
A meta-resource : workstation is simply a CPU and a network card.

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

19 years agoRelic of the star removal.
alegrand [Fri, 10 Dec 2004 04:27:25 +0000 (04:27 +0000)]
Relic of the star removal.

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

19 years agoEach action can now have a maximum duration. That is a convenient way to
alegrand [Thu, 9 Dec 2004 23:26:29 +0000 (23:26 +0000)]
Each action can now have a maximum duration. That is a convenient way to
model a sleep or a network saturation for a given period of time.

Also add a suspend/resume to cpu.

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

19 years agoHUSH !
alegrand [Thu, 9 Dec 2004 23:05:43 +0000 (23:05 +0000)]
HUSH !

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

19 years agoTss... lead to inconsistencies.
alegrand [Thu, 9 Dec 2004 22:32:04 +0000 (22:32 +0000)]
Tss... lead to inconsistencies.

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

19 years agocosmetics
alegrand [Thu, 9 Dec 2004 19:13:16 +0000 (19:13 +0000)]
cosmetics

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

19 years agoBug fix + handling of variables with a weight equal to 0 (a suspended
alegrand [Thu, 9 Dec 2004 19:12:12 +0000 (19:12 +0000)]
Bug fix + handling of variables with a weight equal to 0 (a suspended
action) and variables with an element equal to 0 (no consumption on
the corresponding esource even though this resource is used).

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

19 years agoFix (C) dates
mquinson [Thu, 9 Dec 2004 14:59:54 +0000 (14:59 +0000)]
Fix (C) dates

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

19 years agofix (C) dates
mquinson [Thu, 9 Dec 2004 14:57:52 +0000 (14:57 +0000)]
fix (C) dates

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

19 years agoFix (C) dates; cosmetics on documentation
mquinson [Thu, 9 Dec 2004 14:56:55 +0000 (14:56 +0000)]
Fix (C) dates; cosmetics on documentation

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

19 years agouse BEGIN_DECL (ie, useless cleanup); picky documentation improvement
mquinson [Thu, 9 Dec 2004 14:55:28 +0000 (14:55 +0000)]
use BEGIN_DECL (ie, useless cleanup); picky documentation improvement

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

19 years agofix (C) dates; proper xbt_log function
mquinson [Thu, 9 Dec 2004 14:53:53 +0000 (14:53 +0000)]
fix (C) dates; proper xbt_log function

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

19 years agokilkilkil useless and deprecated stuff
mquinson [Thu, 9 Dec 2004 14:53:23 +0000 (14:53 +0000)]
kilkilkil useless and deprecated stuff

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

19 years agoFix (C) dates; minor documentation improvements
mquinson [Thu, 9 Dec 2004 14:52:47 +0000 (14:52 +0000)]
Fix (C) dates; minor documentation improvements

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

19 years agoproper xbt_log_init function
mquinson [Thu, 9 Dec 2004 14:51:52 +0000 (14:51 +0000)]
proper xbt_log_init function

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

19 years agofix a typo correctly [thanks Guillaume]
mquinson [Thu, 9 Dec 2004 13:54:09 +0000 (13:54 +0000)]
fix a typo correctly [thanks Guillaume]

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

19 years agofix a typo [thanks Guillaume]
mquinson [Thu, 9 Dec 2004 12:15:13 +0000 (12:15 +0000)]
fix a typo [thanks Guillaume]

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

19 years agoMore explicit names
alegrand [Thu, 9 Dec 2004 01:51:16 +0000 (01:51 +0000)]
More explicit names

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

19 years agoAdding workstation : a single CPU and a network card...
alegrand [Thu, 9 Dec 2004 01:02:19 +0000 (01:02 +0000)]
Adding workstation : a single CPU and a network card...

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

19 years agoAdd missing dependency.
alegrand [Thu, 9 Dec 2004 01:01:10 +0000 (01:01 +0000)]
Add missing dependency.

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

19 years agoFixed licence and copyright. No more reference to da GRAS possee or the
alegrand [Wed, 8 Dec 2004 23:56:19 +0000 (23:56 +0000)]
Fixed licence and copyright. No more reference to da GRAS possee or the
OURAGAN project. Copyright is for authors. All the code is under LGPL.

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

19 years agoI'm not supposed to comment this module yet but it the file was there...
alegrand [Wed, 8 Dec 2004 23:38:32 +0000 (23:38 +0000)]
I'm not supposed to comment this module yet but it the file was there...

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

19 years agoDestruction of a relic of the revolution gras->xbt
alegrand [Wed, 8 Dec 2004 22:45:19 +0000 (22:45 +0000)]
Destruction of a relic of the revolution gras->xbt

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

19 years agoRenaming tbx to xbt and adding some of my functions.
alegrand [Wed, 8 Dec 2004 19:48:35 +0000 (19:48 +0000)]
Renaming tbx to xbt and adding some of my functions.

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

19 years agoI will translate one day. However those informations had to be there.
alegrand [Tue, 7 Dec 2004 23:52:45 +0000 (23:52 +0000)]
I will translate one day. However those informations had to be there.

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

19 years agoTaking latencies into account to bound the effective bandwidth.
alegrand [Tue, 7 Dec 2004 22:27:20 +0000 (22:27 +0000)]
Taking latencies into account to bound the effective bandwidth.

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

19 years agoAdd lmm_get_var_from_cnst
alegrand [Tue, 7 Dec 2004 22:25:57 +0000 (22:25 +0000)]
Add lmm_get_var_from_cnst

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

19 years agoMartin wrote :
alegrand [Tue, 7 Dec 2004 20:03:31 +0000 (20:03 +0000)]
Martin wrote :

> Then, you could rewrite this to:
>
> gras_assert1((f = fopen(filename, "r")),
>             "Cannot open file '%s'\n", filename);
>
> Since you have some core in the condition, you may want to leave the if, and
> put a gras_assert2(0,"bla",bli) in it.

Yes. I was not using assert because of the core in the condition. I hadn't
thought to gras_assert2(0,

Now that should be better.

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

19 years agoTaking latencies into account (but not for the bandwidth limitation yet).
alegrand [Tue, 7 Dec 2004 19:26:25 +0000 (19:26 +0000)]
Taking latencies into account (but not for the bandwidth limitation yet).

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

19 years agoRemove useless comments.
alegrand [Tue, 7 Dec 2004 19:22:26 +0000 (19:22 +0000)]
Remove useless comments.

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

19 years ago> CRITICAL1 fait des logs, c'est tout. C'est normal que t'ai viré le
alegrand [Tue, 7 Dec 2004 19:20:29 +0000 (19:20 +0000)]
> CRITICAL1 fait des logs, c'est tout. C'est normal que t'ai virĂ© le
> return NULL; ?

No. Thanks !

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

19 years agoSave some space ;)
mquinson [Tue, 7 Dec 2004 19:16:21 +0000 (19:16 +0000)]
Save some space ;)

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

19 years agoOooups !
alegrand [Tue, 7 Dec 2004 18:45:10 +0000 (18:45 +0000)]
Oooups !

>  void
>   xbt_init(int *argc, char **argv) {

and

> Update of /home/mquinson/cvsroot/gras/src/surf
>  void surf_init(void)
>  {
> +  xbt_init();

I did not even notice he'd been crying...

surf/surf.c: In function surf_init':
surf/surf.c:57: warning: implicit declaration of function xbt_init'

... and he did not really looked angry btw.

surf:~/Work/GRAS/heap $ ./surf_usage
xbt/module.c:57: [module/INFO] Initialize GRAS

Nevermind. It is fixed now.

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

19 years agoInitializing logs once and only once.
alegrand [Tue, 7 Dec 2004 18:26:24 +0000 (18:26 +0000)]
Initializing logs once and only once.

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

19 years agoNetwork module is working. Does not take latencies into account yet though.
alegrand [Tue, 7 Dec 2004 18:15:53 +0000 (18:15 +0000)]
Network module is working. Does not take latencies into account yet though.

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

19 years agomove resource_used to the private part
alegrand [Tue, 7 Dec 2004 18:14:26 +0000 (18:14 +0000)]
move resource_used to the private part

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

19 years agoUsing logs
alegrand [Tue, 7 Dec 2004 18:12:43 +0000 (18:12 +0000)]
Using logs

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

19 years agomove resource_used to the private part + a few renaming
alegrand [Tue, 7 Dec 2004 18:11:47 +0000 (18:11 +0000)]
move resource_used to the private part + a few renaming

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

19 years agoAdd some convenient functions
alegrand [Tue, 7 Dec 2004 18:08:29 +0000 (18:08 +0000)]
Add some convenient functions

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

19 years agoIf a system has not been modified between two successive calls to lmm_solve,
alegrand [Tue, 7 Dec 2004 18:05:27 +0000 (18:05 +0000)]
If a system has not been modified between two successive calls to lmm_solve,
then no extra computation is done.

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

19 years agomove xbt_heap_float_t
alegrand [Tue, 7 Dec 2004 18:00:10 +0000 (18:00 +0000)]
move xbt_heap_float_t

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

19 years agocompile the network module
alegrand [Tue, 7 Dec 2004 17:59:12 +0000 (17:59 +0000)]
compile the network module

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