Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
19 years agoProtect ourselves against the reinsertion of the same structure. It would have freed...
mquinson [Sun, 11 Jul 2004 22:32:49 +0000 (22:32 +0000)]
Protect ourselves against the reinsertion of the same structure. It would have freed it to make room, and then pushed the defunct stuff in position

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

19 years agoremove a debug message placed at severity warning
mquinson [Sun, 11 Jul 2004 22:31:48 +0000 (22:31 +0000)]
remove a debug message placed at severity warning

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

19 years agochange obsolete macros to new ones; do not #define the size of the datatypes, that...
mquinson [Sun, 11 Jul 2004 22:31:18 +0000 (22:31 +0000)]
change obsolete macros to new ones; do not #define the size of the datatypes, that's stupid; actually run the test for two-compliements, not only compile it; first try at guessing the structure compaction schema

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

19 years agoDo not configure subdirs (since they are result of interupted make dir); adapt to...
mquinson [Sun, 11 Jul 2004 22:28:43 +0000 (22:28 +0000)]
Do not configure subdirs (since they are result of interupted make dir); adapt to the new AC_CONFIG_HEADERS

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

19 years agorun autoupdate to get ride of obsolete macros
mquinson [Sun, 11 Jul 2004 06:33:16 +0000 (06:33 +0000)]
run autoupdate to get ride of obsolete macros

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

19 years agomv
mquinson [Thu, 8 Jul 2004 22:59:52 +0000 (22:59 +0000)]
mv

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

19 years agodata from alpha (little64). Thanks to Abdou
mquinson [Thu, 8 Jul 2004 07:34:50 +0000 (07:34 +0000)]
data from alpha (little64). Thanks to Abdou

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

19 years agoMore debug; cosmetics
mquinson [Thu, 8 Jul 2004 07:30:35 +0000 (07:30 +0000)]
More debug; cosmetics

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

19 years agodocument last changes
mquinson [Thu, 8 Jul 2004 06:15:56 +0000 (06:15 +0000)]
document last changes

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

19 years agoupdate
mquinson [Thu, 8 Jul 2004 06:15:31 +0000 (06:15 +0000)]
update

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

19 years agocosmetics
mquinson [Thu, 8 Jul 2004 06:15:18 +0000 (06:15 +0000)]
cosmetics

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

19 years agoRenamed
mquinson [Thu, 8 Jul 2004 06:14:51 +0000 (06:14 +0000)]
Renamed

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

19 years agoTest if SG was compiled in a way that even solaris understand (hopefully)
mquinson [Thu, 8 Jul 2004 06:14:02 +0000 (06:14 +0000)]
Test if SG was compiled in a way that even solaris understand (hopefully)

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

19 years agoIgnore tests returning 77, as automake; try to read foreign datatypes; do not try...
mquinson [Thu, 8 Jul 2004 06:13:24 +0000 (06:13 +0000)]
Ignore tests returning 77, as automake; try to read foreign datatypes; do not try config_usage, it's broken; cosmetics

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

19 years agoReflect recent size change in output
mquinson [Thu, 8 Jul 2004 06:11:57 +0000 (06:11 +0000)]
Reflect recent size change in output

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

19 years agoRename architectures, implement conversion;)
mquinson [Thu, 8 Jul 2004 06:11:00 +0000 (06:11 +0000)]
Rename architectures, implement conversion;)

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

19 years agoMore explicit error message on failures
mquinson [Thu, 8 Jul 2004 06:08:31 +0000 (06:08 +0000)]
More explicit error message on failures

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

19 years agoMake sure we're on a two-compliment arch
mquinson [Thu, 8 Jul 2004 06:07:09 +0000 (06:07 +0000)]
Make sure we're on a two-compliment arch

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

19 years agoRename architectures
mquinson [Thu, 8 Jul 2004 06:06:48 +0000 (06:06 +0000)]
Rename architectures

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

19 years agodistribute the gras-arch-check script
mquinson [Thu, 8 Jul 2004 06:05:59 +0000 (06:05 +0000)]
distribute the gras-arch-check script

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

19 years agoIf test cannot be run, say so to automake
mquinson [Thu, 8 Jul 2004 03:14:12 +0000 (03:14 +0000)]
If test cannot be run, say so to automake

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

19 years agoRename again the datadesc data file, since a whole bunch of arches are big32,big64...
mquinson [Thu, 8 Jul 2004 02:50:53 +0000 (02:50 +0000)]
Rename again the datadesc data file, since a whole bunch of arches are big32,big64 beside of ppc,sparc (and remove the calls to rand before generating them ;)

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

19 years agoStupid me. Using rand to generate the datatest is not very wise...
mquinson [Thu, 8 Jul 2004 02:49:22 +0000 (02:49 +0000)]
Stupid me. Using rand to generate the datatest is not very wise...

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

19 years agoReduce the size of the tests, so that it runs decently fast
mquinson [Thu, 8 Jul 2004 01:34:53 +0000 (01:34 +0000)]
Reduce the size of the tests, so that it runs decently fast

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

19 years agoMore debugging
mquinson [Thu, 8 Jul 2004 01:28:24 +0000 (01:28 +0000)]
More debugging

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

19 years agorename datadesc test files; do not specify -Wno-unused-function, since that's a gnuism
mquinson [Thu, 8 Jul 2004 01:24:41 +0000 (01:24 +0000)]
rename datadesc test files; do not specify -Wno-unused-function, since that's a gnuism

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

19 years agoa little script to check the gras signature of the current arch
mquinson [Thu, 8 Jul 2004 01:20:03 +0000 (01:20 +0000)]
a little script to check the gras signature of the current arch

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

19 years agosizeof(double) == 8 && sizeof(float)==4 || pas IEEE
mquinson [Thu, 8 Jul 2004 01:18:00 +0000 (01:18 +0000)]
sizeof(double) == 8 && sizeof(float)==4 || pas IEEE

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

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