Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
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

19 years agomove xbt_maxmin_float_t and xbt_heap_float_t here
alegrand [Tue, 7 Dec 2004 17:58:22 +0000 (17:58 +0000)]
move xbt_maxmin_float_t and xbt_heap_float_t here

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

19 years agoCosmetics
alegrand [Thu, 2 Dec 2004 23:34:49 +0000 (23:34 +0000)]
Cosmetics

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

19 years agoSee the diff. Sorry for the noise.
alegrand [Thu, 2 Dec 2004 22:04:34 +0000 (22:04 +0000)]
See the diff. Sorry for the noise.

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

19 years agoStarting the network module.
alegrand [Thu, 2 Dec 2004 22:02:50 +0000 (22:02 +0000)]
Starting the network module.

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

19 years agoTaking in account the fact that some resource may have no action terminated.
alegrand [Thu, 2 Dec 2004 22:01:45 +0000 (22:01 +0000)]
Taking in account the fact that some resource may have no action terminated.

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

19 years agoPublishing some internal parsing function.
alegrand [Thu, 2 Dec 2004 22:00:17 +0000 (22:00 +0000)]
Publishing some internal parsing function.

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

19 years agoUsing the Surf parser.
alegrand [Thu, 2 Dec 2004 21:05:18 +0000 (21:05 +0000)]
Using the Surf parser.

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

19 years agoSurf Parser
alegrand [Thu, 2 Dec 2004 21:03:35 +0000 (21:03 +0000)]
Surf Parser

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

19 years agoKILKILKIL
alegrand [Tue, 30 Nov 2004 22:37:12 +0000 (22:37 +0000)]
KILKILKIL

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

19 years agoMy bad. Sorry about that.
alegrand [Tue, 30 Nov 2004 22:05:56 +0000 (22:05 +0000)]
My bad. Sorry about that.

Btw this logs are really terrific ! :)

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

19 years agoRemoved a bunch of unused variables. Mostly some xbt_error_t errcode that
alegrand [Tue, 30 Nov 2004 17:38:49 +0000 (17:38 +0000)]
Removed a bunch of unused variables. Mostly some xbt_error_t errcode that
were used before making memory errors fatal.

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

19 years agoiso-c does not like , at the end of an enum.
alegrand [Tue, 30 Nov 2004 17:37:06 +0000 (17:37 +0000)]
iso-c does not like , at the end of an enum.

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

19 years agome finds malloc within macro, me killkill it
mquinson [Tue, 30 Nov 2004 15:39:42 +0000 (15:39 +0000)]
me finds malloc within macro, me killkill it

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

19 years agoTest du script de commit log qui déchire
mquinson [Tue, 30 Nov 2004 15:36:12 +0000 (15:36 +0000)]
Test du script de commit log qui déchire

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

19 years agocommit de l'état courant de mes réflexions sur le wire protocole
mquinson [Tue, 30 Nov 2004 15:35:21 +0000 (15:35 +0000)]
commit de l'état courant de mes réflexions sur le wire protocole

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

19 years agoRha!
alegrand [Mon, 29 Nov 2004 18:45:39 +0000 (18:45 +0000)]
Rha!

surf:~/Work/GRAS/heap $ valgrind --num-callers=8 --show-reachable=yes
--leak-check=yes --db-attach=yes ./surf_usage
==28483== Memcheck, a memory error detector for x86-linux.
==28483== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==28483== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==28483== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==28483== For more details, rerun with: -v
==28483==
0x1bac5a40
Cpu A : 0x1bac6b10
Cpu B : 0x1bac6e10
actionA : 0x1bac7140 (SURF_ACTION_RUNNING)
actionB : 0x1bac7288 (SURF_ACTION_RUNNING)
[0] Asking to update "Cpu A" with value 1 for event 0x1bac6b70
[0] Asking to update "Cpu B" with value 1 for event 0x1bac6e70
[0] Asking to update "Cpu A" with value -1 for event 0x1bac6bb0
Next Event : 0
        Failed : 0x1bac7140
[0] Asking to update "Cpu A" with value 1 for event 0x1bac6bb0
Next Event : 1
Next Event : 10
        Done : 0x1bac7288
Simulation Terminated
==28483==
==28483== ERROR SUMMARY: 0 errors from 0 contexts
(suppressed: 17 from 1)
==28483== malloc/free: in use at exit: 0 bytes in 0 blocks.
==28483== malloc/free: 77 allocs, 77 frees, 5279 bytes allocated.
==28483== For counts of detected errors, rerun with: -v
==28483== No malloc'd blocks -- no leaks are possible.

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

19 years agoI can't believe this file was not committed !
alegrand [Mon, 29 Nov 2004 17:02:37 +0000 (17:02 +0000)]
I can't believe this file was not committed !

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

19 years agoFailures now taken into account. Need to write clean-up functions, parsing
alegrand [Mon, 29 Nov 2004 17:01:01 +0000 (17:01 +0000)]
Failures now taken into account. Need to write clean-up functions, parsing
functions, ..., then the network module.

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

19 years agoOK, now clean structures are used for my objects. Forget about my uggly
alegrand [Mon, 29 Nov 2004 00:39:25 +0000 (00:39 +0000)]
OK, now clean structures are used for my objects. Forget about my uggly
macros. Load variation handled for cpu. Next step, handling failures.

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

19 years agoA commit before a design modification. I'm gonna try the weird
alegrand [Wed, 24 Nov 2004 19:11:50 +0000 (19:11 +0000)]
A commit before a design modification. I'm gonna try the weird
[ A ][ B ][ C ] structure I've talking you about. If it does not work or is
a way to dirty I'll revert later.

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

19 years agorename xbt_swag_extract to xbt_swag_remove and add a xbt_swag_extract that
alegrand [Tue, 23 Nov 2004 22:16:18 +0000 (22:16 +0000)]
rename xbt_swag_extract to xbt_swag_remove and add a xbt_swag_extract that
does what it would be expected to do... :)

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

19 years agoCPU can be created and used even though failures are not handled yet. SURF
alegrand [Sat, 20 Nov 2004 00:17:49 +0000 (00:17 +0000)]
CPU can be created and used even though failures are not handled yet. SURF
is now a working mini SimGrid. You can have a look at
testsuite/surf/maxmin_usage.c to see how easy it is to use. Adding other
resource types is really straightforward.

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

19 years agoBug fix and add a fonction indicating whether a constraint is active or not.
alegrand [Sat, 20 Nov 2004 00:13:14 +0000 (00:13 +0000)]
Bug fix and add a fonction indicating whether a constraint is active or not.

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

19 years agoBug fix and add a xbt_swag_foreach_safe where you can remove objects from
alegrand [Sat, 20 Nov 2004 00:11:47 +0000 (00:11 +0000)]
Bug fix and add a xbt_swag_foreach_safe where you can remove objects from
the swag while going through it.

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

19 years agoGasp ! A bug in the extract function ! Shame on me !
alegrand [Tue, 16 Nov 2004 22:54:07 +0000 (22:54 +0000)]
Gasp ! A bug in the extract function ! Shame on me !

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

19 years agoRenamed host to cpu. That was really confusing.
alegrand [Tue, 16 Nov 2004 22:04:45 +0000 (22:04 +0000)]
Renamed host to cpu. That was really confusing.

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

19 years agoFirst attempt on SURF design. I'd like a 5'10" short board with a swallow
alegrand [Tue, 16 Nov 2004 17:33:49 +0000 (17:33 +0000)]
First attempt on SURF design. I'd like a 5'10" short board with a swallow
tail.

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

19 years ago#include "xbt/error.h" /* needed for xbt_die */
alegrand [Tue, 16 Nov 2004 17:11:35 +0000 (17:11 +0000)]
#include "xbt/error.h" /* needed for xbt_die */

Mt. At some places, I was using xbt_new0 without including xbt/error.h and
it failed. It seems to me that a .h should be self-contained but I also may
have not understood the way you handle your errors. I've added the previous
#include at the end of sysdep.h. You probably won't like it but tell me why
please.

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

19 years agoPort to ARM
mquinson [Tue, 16 Nov 2004 16:30:28 +0000 (16:30 +0000)]
Port to ARM

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

19 years agoPort to ARM
mquinson [Tue, 16 Nov 2004 14:07:36 +0000 (14:07 +0000)]
Port to ARM

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

19 years ago2004-11-15 Arnaud Legrand
alegrand [Mon, 15 Nov 2004 22:38:17 +0000 (22:38 +0000)]
2004-11-15 Arnaud Legrand
  - Trace manager now written. It uses a heap structure and is therfore
    expected to be efficient. It may however be speed up (particularly
    when many events occur at the same date) by using red and black
    trees. One day maybe...
  - Max-min linear system solver written. It uses a sparse matrix
    structure taking advantage of its expected use. Most operations are
    O(1) and free/calloc are called as few as possible. The computation of
    the minimum could however be improved by using a red and black tree
    (again ! ;).

Now, it is time to rewrite a really modular version of SimGrid aka SURF.
SimGrid 3 wil denote the formerly known MSG+SG.

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

19 years agoCosmetics
alegrand [Mon, 15 Nov 2004 22:29:43 +0000 (22:29 +0000)]
Cosmetics

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

19 years agoAdd the trace library and fixed a few source of potential bugs in heap.
alegrand [Mon, 15 Nov 2004 22:20:08 +0000 (22:20 +0000)]
Add the trace library and fixed a few source of potential bugs in heap.

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

19 years agoDo not use uninitialized vars (last commit was brain dead)
mquinson [Mon, 15 Nov 2004 13:23:51 +0000 (13:23 +0000)]
Do not use uninitialized vars (last commit was brain dead)

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

19 years agoDie on error when determining minimal type boundary
mquinson [Mon, 15 Nov 2004 13:23:12 +0000 (13:23 +0000)]
Die on error when determining minimal type boundary

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

19 years agoDo declare variables at the begining of the block, not in the middle, to make old...
mquinson [Mon, 15 Nov 2004 12:08:32 +0000 (12:08 +0000)]
Do declare variables at the begining of the block, not in the middle, to make old gcc happy

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

19 years agodistribute gras/core.h
mquinson [Mon, 15 Nov 2004 09:47:26 +0000 (09:47 +0000)]
distribute gras/core.h

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

19 years agoHardcode GRAS_MAX_CHANNEL since it got killed somehow in the last headers reorganizat...
mquinson [Mon, 15 Nov 2004 09:25:52 +0000 (09:25 +0000)]
Hardcode GRAS_MAX_CHANNEL since it got killed somehow in the last headers reorganization (and was used only in this location)

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

19 years agoFix make distcheck
mquinson [Mon, 15 Nov 2004 09:21:17 +0000 (09:21 +0000)]
Fix make distcheck

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