Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
19 years agoget ride of the testing to XML, since SG is now compiled without it
mquinson [Thu, 8 Jul 2004 01:14:04 +0000 (01:14 +0000)]
get ride of the testing to XML, since SG is now compiled without it

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

19 years agoSolaris portability
mquinson [Thu, 8 Jul 2004 01:12:17 +0000 (01:12 +0000)]
Solaris portability

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

19 years agodefine out backtrace related stuff for portability
mquinson [Wed, 7 Jul 2004 10:24:43 +0000 (10:24 +0000)]
define out backtrace related stuff for portability

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

19 years agoRename
mquinson [Wed, 7 Jul 2004 10:23:00 +0000 (10:23 +0000)]
Rename

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

19 years agoport to alpha, inital try to convert, exchange/convert arrays of scalar in one shoot
mquinson [Wed, 7 Jul 2004 10:17:01 +0000 (10:17 +0000)]
port to alpha, inital try to convert, exchange/convert arrays of scalar in one shoot

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

19 years agoport to alpha
mquinson [Wed, 7 Jul 2004 10:15:56 +0000 (10:15 +0000)]
port to alpha

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

19 years agoadd alpha
mquinson [Wed, 7 Jul 2004 09:57:35 +0000 (09:57 +0000)]
add alpha

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

19 years agoAccept the filename to use as second argument
mquinson [Wed, 7 Jul 2004 06:20:15 +0000 (06:20 +0000)]
Accept the filename to use as second argument

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

19 years agodistribute the result of datadesc_usage for different arches
mquinson [Wed, 7 Jul 2004 06:17:30 +0000 (06:17 +0000)]
distribute the result of datadesc_usage for different arches

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

19 years agoOptimization: Send/recv array of scalar in one shoot
mquinson [Wed, 7 Jul 2004 06:08:59 +0000 (06:08 +0000)]
Optimization: Send/recv array of scalar in one shoot

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

19 years agoBug fix
mquinson [Wed, 7 Jul 2004 05:06:16 +0000 (05:06 +0000)]
Bug fix

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

19 years agorename ppc to powerpc to be consistent with dpkg
mquinson [Wed, 7 Jul 2004 02:45:00 +0000 (02:45 +0000)]
rename ppc to powerpc to be consistent with dpkg

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

19 years agoForeign datatest. Let's try to read that on my laptop
mquinson [Wed, 7 Jul 2004 02:37:54 +0000 (02:37 +0000)]
Foreign datatest. Let's try to read that on my laptop

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

19 years agoLet make dist work; bump to version 0.0.1
mquinson [Wed, 7 Jul 2004 02:32:19 +0000 (02:32 +0000)]
Let make dist work; bump to version 0.0.1

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

19 years agoLet make dist work even when SG is not there
mquinson [Wed, 7 Jul 2004 02:30:46 +0000 (02:30 +0000)]
Let make dist work even when SG is not there

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

19 years agoSpeedup arch signature detection code; add sparc signature
mquinson [Wed, 7 Jul 2004 02:29:59 +0000 (02:29 +0000)]
Speedup arch signature detection code; add sparc signature

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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