Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 years agoFix make dist
mquinson [Wed, 7 Jul 2004 01:39:49 +0000 (01:39 +0000)]
Fix make dist

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

16 years agoDo not use broken modules/examples
mquinson [Wed, 7 Jul 2004 01:38:02 +0000 (01:38 +0000)]
Do not use broken modules/examples

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

16 years agoUpdate to let make dist work
mquinson [Wed, 7 Jul 2004 01:35:42 +0000 (01:35 +0000)]
Update to let make dist work

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

16 years agomake SG optional to the configuration and compilation process
mquinson [Wed, 7 Jul 2004 01:25:24 +0000 (01:25 +0000)]
make SG optional to the configuration and compilation process

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

16 years agoMore changes to get ppc recognized
mquinson [Wed, 7 Jul 2004 01:23:01 +0000 (01:23 +0000)]
More changes to get ppc recognized

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

16 years agoBack to automake-1.8 now that my machine works again
mquinson [Wed, 7 Jul 2004 01:22:20 +0000 (01:22 +0000)]
Back to automake-1.8 now that my machine works again

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

16 years agoAdd ppc arch signature
mquinson [Wed, 7 Jul 2004 01:11:42 +0000 (01:11 +0000)]
Add ppc arch signature

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

16 years agoResult of datadesc_usage --write on i386 box
mquinson [Wed, 7 Jul 2004 01:03:33 +0000 (01:03 +0000)]
Result of datadesc_usage --write on i386 box

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

16 years agoIn READ and WRITE mode (instead of RW), the remote_arch is the first char of the...
mquinson [Wed, 7 Jul 2004 01:02:35 +0000 (01:02 +0000)]
In READ and WRITE mode (instead of RW), the remote_arch is the first char of the file; Let cyclic free its memory even in READ mode

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

16 years agoA leak of 5 bytes is better than a segfault when more than one chunk in gras-log
mquinson [Tue, 6 Jul 2004 08:24:55 +0000 (08:24 +0000)]
A leak of 5 bytes is better than a segfault when more than one chunk in gras-log

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

16 years agoDocument last changes
mquinson [Tue, 6 Jul 2004 08:17:34 +0000 (08:17 +0000)]
Document last changes

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

16 years agoIt works. Isn't that great?
mquinson [Tue, 6 Jul 2004 08:10:09 +0000 (08:10 +0000)]
It works. Isn't that great?

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

16 years agoMSG is freeing the pointer it gives me as argv. That's thus a bad idea to realloc it
mquinson [Tue, 6 Jul 2004 08:08:34 +0000 (08:08 +0000)]
MSG is freeing the pointer it gives me as argv. That's thus a bad idea to realloc it

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

16 years agoexit gras in server, and say process are done when they really are
mquinson [Tue, 6 Jul 2004 08:07:30 +0000 (08:07 +0000)]
exit gras in server, and say process are done when they really are

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

16 years agoinitialize in trp_socket_new a socket field which should be initialized anyhow, but...
mquinson [Tue, 6 Jul 2004 08:04:38 +0000 (08:04 +0000)]
initialize in trp_socket_new a socket field which should be initialized anyhow, but isn't

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

16 years agoMore debug msg, rephrase other debug msg
mquinson [Tue, 6 Jul 2004 08:02:46 +0000 (08:02 +0000)]
More debug msg, rephrase other debug msg

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

16 years agoin gras_dynar_cursor_rm, we want to get the content to free it if there is a
mquinson [Tue, 6 Jul 2004 07:34:20 +0000 (07:34 +0000)]
in gras_dynar_cursor_rm, we want to get the content to free it if there is a
free_func. But take care of writing it into a variable big enough, little
scarabee...

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

16 years agocurrent state
mquinson [Tue, 6 Jul 2004 01:54:30 +0000 (01:54 +0000)]
current state

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

16 years agoChanges of the day so far:
mquinson [Tue, 6 Jul 2004 01:53:01 +0000 (01:53 +0000)]
Changes of the day so far:
  - Plug a whole bunch of memleaks
  - each process now have to call gras_{init,exit}. One day, their log
    settings will be separated
 [Transport]
  - Continue the code factorisation between SG, RL and common

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

16 years agoCurrent state. Does not work yet, but I'd prefer not to loose it ;)
mquinson [Tue, 6 Jul 2004 01:51:13 +0000 (01:51 +0000)]
Current state. Does not work yet, but I'd prefer not to loose it ;)

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

16 years agoMore DEBUG call
mquinson [Tue, 6 Jul 2004 01:50:03 +0000 (01:50 +0000)]
More DEBUG call

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

16 years agoEradicate fprintf, use proper logging function
mquinson [Tue, 6 Jul 2004 01:49:31 +0000 (01:49 +0000)]
Eradicate fprintf, use proper logging function

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

16 years agogras_trp_socket_new is in charge of pushing it into the set of known sockets
mquinson [Tue, 6 Jul 2004 01:22:43 +0000 (01:22 +0000)]
gras_trp_socket_new is in charge of pushing it into the set of known sockets

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

16 years agoMake sure the process get the --gras-log argument in SG mode (where the arguments...
mquinson [Tue, 6 Jul 2004 01:01:17 +0000 (01:01 +0000)]
Make sure the process get the --gras-log argument in SG mode (where the arguments are usually given by the deployment file)

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

16 years agoEach process have to run gras_init/exit (one day, they'll have separate log settings)
mquinson [Tue, 6 Jul 2004 00:43:17 +0000 (00:43 +0000)]
Each process have to run gras_init/exit (one day, they'll have separate log settings)

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

16 years agoLet it work in SG (gras_init and gras_exit called only when needed)
mquinson [Tue, 6 Jul 2004 00:31:24 +0000 (00:31 +0000)]
Let it work in SG (gras_init and gras_exit called only when needed)

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

16 years agoSome more code factorisation (registering the new socket into the set of known socket...
mquinson [Mon, 5 Jul 2004 23:53:46 +0000 (23:53 +0000)]
Some more code factorisation (registering the new socket into the set of known sockets is done by trp_socket_new instead of all over the place)

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

16 years agofree the callback list on gras_process_exit
mquinson [Mon, 5 Jul 2004 23:34:03 +0000 (23:34 +0000)]
free the callback list on gras_process_exit

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

16 years agomove the dynar of all known sockets from RL-only to procdata (SG-wanna-accept change)
mquinson [Mon, 5 Jul 2004 23:21:09 +0000 (23:21 +0000)]
move the dynar of all known sockets from RL-only to procdata (SG-wanna-accept change)

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

16 years agosockets is now part of the process data
mquinson [Mon, 5 Jul 2004 23:19:44 +0000 (23:19 +0000)]
sockets is now part of the process data

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

16 years agouse gras_trp_socket_new when accepting instead of mallocing ourself to get all the...
mquinson [Mon, 5 Jul 2004 23:18:02 +0000 (23:18 +0000)]
use gras_trp_socket_new when accepting instead of mallocing ourself to get all the good initialization from there

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

16 years agoinitialize the buffer before use, even if the part actually used was already initiali...
mquinson [Mon, 5 Jul 2004 23:15:00 +0000 (23:15 +0000)]
initialize the buffer before use, even if the part actually used was already initialized. This prevent valgrind to spit an error about data passed to syscall not being [completely] initialized

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

16 years agoadd a valgrind target to the makefile, but not for the dict_crash since it takes...
mquinson [Mon, 5 Jul 2004 23:12:54 +0000 (23:12 +0000)]
add a valgrind target to the makefile, but not for the dict_crash since it takes for ever if we do run it under valgrind

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

16 years agoprocess_{init,exit} from within gras_{init,exit}
mquinson [Mon, 5 Jul 2004 23:11:31 +0000 (23:11 +0000)]
process_{init,exit} from within gras_{init,exit}

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

16 years agoPlug memleaks on exit (I know, it's useless)
mquinson [Mon, 5 Jul 2004 22:31:17 +0000 (22:31 +0000)]
Plug memleaks on exit (I know, it's useless)

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

16 years agoPlug a memleak on the name of the incomming messages
mquinson [Mon, 5 Jul 2004 22:27:26 +0000 (22:27 +0000)]
Plug a memleak on the name of the incomming messages

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

16 years agoPlug a memleak on sock_close (on peer_name)
mquinson [Mon, 5 Jul 2004 22:18:34 +0000 (22:18 +0000)]
Plug a memleak on sock_close (on peer_name)

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

16 years agoInitialize whether the accepted sock is raw or not from what the server socket is.
mquinson [Mon, 5 Jul 2004 22:15:54 +0000 (22:15 +0000)]
Initialize whether the accepted sock is raw or not from what the server socket is.

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

16 years agorevert last change trying to inject the \0 after the name, since it was mainly cosmet...
mquinson [Sat, 3 Jul 2004 23:30:56 +0000 (23:30 +0000)]
revert last change trying to inject the \0 after the name, since it was mainly cosmetic and break things around

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

16 years agoWhen inserting into the dict, save the trailing '\0' (ie, use strlen+1 as size)
mquinson [Sat, 3 Jul 2004 22:39:44 +0000 (22:39 +0000)]
When inserting into the dict, save the trailing '\0' (ie, use strlen+1 as size)

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

16 years agokill dead code
mquinson [Sat, 3 Jul 2004 20:15:53 +0000 (20:15 +0000)]
kill dead code

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

16 years agoMake sure that examples/ping/test_rl and examples/ping/test_sg are executable
mquinson [Sat, 3 Jul 2004 07:49:21 +0000 (07:49 +0000)]
Make sure that examples/ping/test_rl and examples/ping/test_sg are executable

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

16 years agodummy scripts passing the args to the programs. Damn automake limitation
mquinson [Sat, 3 Jul 2004 07:48:52 +0000 (07:48 +0000)]
dummy scripts passing the args to the programs. Damn automake limitation

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

16 years agoLet it work in RL (yuhu)
mquinson [Sat, 3 Jul 2004 07:46:26 +0000 (07:46 +0000)]
Let it work in RL (yuhu)

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

16 years agoPropagate the interface cleanup from last week in datadesc, ie remove a
mquinson [Sat, 3 Jul 2004 07:43:43 +0000 (07:43 +0000)]
Propagate the interface cleanup from last week in datadesc, ie remove a
superfluous level of indirection. User pass adress of variable containing
data (both when sending and receiving), and not of a variable being a
pointer to the data. Let's say that I like it better ;)

The price for that is constructs like "int msg=*(int*)payload" in handlers,
but it's a fine price, IMHO.

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

16 years agonew function: gras_datadesc_size to allow messaging layer to malloc the needed space
mquinson [Sat, 3 Jul 2004 07:41:19 +0000 (07:41 +0000)]
new function: gras_datadesc_size to allow messaging layer to malloc the needed space

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

16 years agoadapt to the new syntax of socket_close
mquinson [Sat, 3 Jul 2004 07:32:43 +0000 (07:32 +0000)]
adapt to the new syntax of socket_close

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

16 years agonew function: gras_datadesc_size to allow messaging layer to malloc the needed space
mquinson [Sat, 3 Jul 2004 07:31:12 +0000 (07:31 +0000)]
new function: gras_datadesc_size to allow messaging layer to malloc the needed space

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

16 years agogras_socket_close now expect the socket to close (and not its address to
mquinson [Sat, 3 Jul 2004 07:21:25 +0000 (07:21 +0000)]
gras_socket_close now expect the socket to close (and not its address to
put NULL in it after it).

This is because the socket passed to handlers is one of their argument (=>
not writable).

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

16 years ago-=gs_example ; +=datadesc_usage
mquinson [Sat, 3 Jul 2004 07:17:45 +0000 (07:17 +0000)]
-=gs_example ; +=datadesc_usage

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

16 years agoFix the ugly case of reference to dynamic array.
mquinson [Sat, 3 Jul 2004 04:14:06 +0000 (04:14 +0000)]
Fix the ugly case of reference to dynamic array.

The size of this array comes from the network.
It is needed both at the reference reception level (to allocate enough
space) and at the array reception level (to fill enough room).

It is then passed as an argument of the recursive function. This is a crude
hack, but I was told that working code is sometimes better than neat one ;)

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

16 years agoPlug a tiny leak
mquinson [Sat, 3 Jul 2004 04:10:02 +0000 (04:10 +0000)]
Plug a tiny leak

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

16 years agoCreate a new log channel tbx containing dict, set, log, dynar, config (to shut
mquinson [Sat, 3 Jul 2004 03:08:32 +0000 (03:08 +0000)]
Create a new log channel tbx containing dict, set, log, dynar, config (to shut
them all up in one shot)

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

16 years agoMake it easy to specify the version of automake to use (it's 1.7 here on graal)
mquinson [Tue, 29 Jun 2004 05:09:30 +0000 (05:09 +0000)]
Make it easy to specify the version of automake to use (it's 1.7 here on graal)

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

16 years agoNew configure (generated on Graal since my hard disk died, and since the installed...
mquinson [Tue, 29 Jun 2004 05:07:17 +0000 (05:07 +0000)]
New configure (generated on Graal since my hard disk died, and since the installed version here in the lab is automake-1.4, erk)

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

16 years agoCruft eradication
mquinson [Tue, 29 Jun 2004 04:06:31 +0000 (04:06 +0000)]
Cruft eradication

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

16 years agodocument last changes
mquinson [Mon, 21 Jun 2004 17:55:34 +0000 (17:55 +0000)]
document last changes

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

16 years agocosmetics
mquinson [Mon, 21 Jun 2004 17:54:53 +0000 (17:54 +0000)]
cosmetics

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

16 years agoChange the default port
mquinson [Mon, 21 Jun 2004 17:54:14 +0000 (17:54 +0000)]
Change the default port

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

16 years agoMore work on SG, almost done
mquinson [Mon, 21 Jun 2004 17:52:38 +0000 (17:52 +0000)]
More work on SG, almost done

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

16 years agoGive it the possibility to do only writes or only reads (so that I can work on portab...
mquinson [Mon, 21 Jun 2004 17:43:38 +0000 (17:43 +0000)]
Give it the possibility to do only writes or only reads (so that I can work on portability); make it work, even with cycles (beside with strings)

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

16 years agomake a gras_msg_recv_no_malloc function to make clear that if you don't NULL its...
mquinson [Mon, 21 Jun 2004 17:42:04 +0000 (17:42 +0000)]
make a gras_msg_recv_no_malloc function to make clear that if you don't NULL its argument, you'll get into trouble (interface simplification again)

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

16 years agoregister the message even if it's already there with the same payload so that the...
mquinson [Mon, 21 Jun 2004 17:41:42 +0000 (17:41 +0000)]
register the message even if it's already there with the same payload so that the old payload gets free'd when its refcount becomes zero; make a gras_msg_recv_no_malloc function to make clear that if you don't NULL its argument, you'll get into trouble (interface simplification again)

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

16 years agoremove one indirection of gras_datadesc_recv to ease its semantic; plug a few leaks...
mquinson [Mon, 21 Jun 2004 17:37:19 +0000 (17:37 +0000)]
remove one indirection of gras_datadesc_recv to ease its semantic; plug a few leaks; make gras_datadesc_type_cmp do its job

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

16 years agoremove one indirection of gras_datadesc_recv to ease its semantic
mquinson [Mon, 21 Jun 2004 17:35:12 +0000 (17:35 +0000)]
remove one indirection of gras_datadesc_recv to ease its semantic

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

16 years agobacktraces are useless
mquinson [Mon, 21 Jun 2004 17:14:18 +0000 (17:14 +0000)]
backtraces are useless

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

16 years agoprototypes of some new debugging functions
mquinson [Mon, 21 Jun 2004 17:14:03 +0000 (17:14 +0000)]
prototypes of some new debugging functions

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

16 years agoCosmetics
mquinson [Mon, 21 Jun 2004 17:13:27 +0000 (17:13 +0000)]
Cosmetics

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

16 years agoimplement gras_procdata_exit to plug the leaks
mquinson [Mon, 21 Jun 2004 17:13:05 +0000 (17:13 +0000)]
implement gras_procdata_exit to plug the leaks

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

16 years agoimplement gras_process_exit (using gras_procdata_exit) to plug the leaks
mquinson [Mon, 21 Jun 2004 17:12:35 +0000 (17:12 +0000)]
implement gras_process_exit (using gras_procdata_exit) to plug the leaks

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

16 years agocosmetics
mquinson [Mon, 21 Jun 2004 17:11:37 +0000 (17:11 +0000)]
cosmetics

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

16 years agoplug a stupid leak
mquinson [Mon, 21 Jun 2004 17:10:56 +0000 (17:10 +0000)]
plug a stupid leak

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

16 years agoUse refcounters on datadescription types so that messages can have pointer to datades...
mquinson [Mon, 21 Jun 2004 17:08:48 +0000 (17:08 +0000)]
Use refcounters on datadescription types so that messages can have pointer to datadescription directly (and not their name), and still deal with multiple creations of the types (in SG, each process create them) and without leaking on them

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

16 years agoNew (debugging) function: gras_datadesc_arch_name
mquinson [Mon, 21 Jun 2004 17:05:37 +0000 (17:05 +0000)]
New (debugging) function: gras_datadesc_arch_name

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

16 years agoNew (debugging) functions: gras_datadesc_get_{name,id} gras_datadesc_type_dump
mquinson [Mon, 21 Jun 2004 17:04:47 +0000 (17:04 +0000)]
New (debugging) functions: gras_datadesc_get_{name,id} gras_datadesc_type_dump

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

16 years agoMore verbose
mquinson [Mon, 21 Jun 2004 17:03:26 +0000 (17:03 +0000)]
More verbose

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

16 years agocosmetics
mquinson [Mon, 21 Jun 2004 17:03:08 +0000 (17:03 +0000)]
cosmetics

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

16 years agoPlug a memleak when using gras_dynar_cursor_rm
mquinson [Mon, 21 Jun 2004 17:02:45 +0000 (17:02 +0000)]
Plug a memleak when using gras_dynar_cursor_rm

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

16 years agoInitialize GRAS before use ;)
mquinson [Fri, 18 Jun 2004 18:20:18 +0000 (18:20 +0000)]
Initialize GRAS before use ;)

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

16 years agoautomatic update
mquinson [Fri, 18 Jun 2004 18:12:42 +0000 (18:12 +0000)]
automatic update

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

16 years agoporting to new standards
mquinson [Fri, 18 Jun 2004 18:10:50 +0000 (18:10 +0000)]
porting to new standards

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

16 years agoAdd an implementation trick to speed up SG realm
mquinson [Fri, 18 Jun 2004 18:08:17 +0000 (18:08 +0000)]
Add an implementation trick to speed up SG realm

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

16 years agoVarious cleanups; SG almost work
mquinson [Fri, 18 Jun 2004 18:05:05 +0000 (18:05 +0000)]
Various cleanups; SG almost work

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

16 years agoMore work on this. Ok, it does not really work yet, but it compiles ;)
mquinson [Fri, 18 Jun 2004 18:04:03 +0000 (18:04 +0000)]
More work on this. Ok, it does not really work yet, but it compiles ;)

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

16 years agocosmetics
mquinson [Fri, 18 Jun 2004 18:02:51 +0000 (18:02 +0000)]
cosmetics

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

16 years agoHandle the fact that the RL plugin do not exist in SG mode (and vice versa); plugin...
mquinson [Fri, 18 Jun 2004 18:01:53 +0000 (18:01 +0000)]
Handle the fact that the RL plugin do not exist in SG mode (and vice versa); plugin names are lowcase; more debug message

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

16 years agoImplement select over SG (badly since there is so few support within SG); Add stupid...
mquinson [Fri, 18 Jun 2004 18:00:00 +0000 (18:00 +0000)]
Implement select over SG (badly since there is so few support within SG); Add stupid implementation of the RL plugins to use when in SG mode

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

16 years agoAdd stupid implementation of the SG plugins to use when in RL mode
mquinson [Fri, 18 Jun 2004 17:57:46 +0000 (17:57 +0000)]
Add stupid implementation of the SG plugins to use when in RL mode

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

16 years agoEradicate two small, nasty and stupid bugs
mquinson [Fri, 18 Jun 2004 17:53:49 +0000 (17:53 +0000)]
Eradicate two small, nasty and stupid bugs

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

16 years agoA debug msg more
mquinson [Fri, 18 Jun 2004 17:51:10 +0000 (17:51 +0000)]
A debug msg more

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

16 years agobetter split SG/RL/common ; remove old cruft
mquinson [Fri, 18 Jun 2004 17:47:36 +0000 (17:47 +0000)]
better split SG/RL/common ; remove old cruft

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

16 years agoContinuation of the internal cleanup; Copy/paste of the SG implementation (not workin...
mquinson [Mon, 14 Jun 2004 20:28:06 +0000 (20:28 +0000)]
Continuation of the internal cleanup; Copy/paste of the SG implementation (not working yet, but soon)

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

16 years agoField renaming in the plugin struct to cleanup; raw is now a field of the socket...
mquinson [Mon, 14 Jun 2004 20:25:59 +0000 (20:25 +0000)]
Field renaming in the plugin struct to cleanup; raw is now a field of the socket, not a creation function argument

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

16 years agoGot all of this in the new generation GRAS
mquinson [Mon, 14 Jun 2004 20:25:01 +0000 (20:25 +0000)]
Got all of this in the new generation GRAS

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

16 years agoThe core is in charge of mallocing for the transport plugins (instead of the plugin...
mquinson [Mon, 14 Jun 2004 20:24:30 +0000 (20:24 +0000)]
The core is in charge of mallocing for the transport plugins (instead of the plugin creation function themselves); raw is now a field of the socket, not a creation function argument

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

16 years agoget/set instead of retrieve/insert
mquinson [Mon, 14 Jun 2004 20:22:52 +0000 (20:22 +0000)]
get/set instead of retrieve/insert

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

16 years agoMore to do
mquinson [Mon, 14 Jun 2004 20:21:17 +0000 (20:21 +0000)]
More to do

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

16 years ago+=datadesc_usage
mquinson [Fri, 11 Jun 2004 21:09:06 +0000 (21:09 +0000)]
+=datadesc_usage

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

16 years ago - Reput hook for raw sockets, needed for BW experiments
mquinson [Fri, 11 Jun 2004 20:34:48 +0000 (20:34 +0000)]
   - Reput hook for raw sockets, needed for BW experiments
   - kill a few lines of dead code

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

16 years agoRemove a unused variable
mquinson [Fri, 11 Jun 2004 20:29:19 +0000 (20:29 +0000)]
Remove a unused variable

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