Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
14 years agoIgnore cruft
mquinson [Fri, 7 Mar 2008 13:25:31 +0000 (13:25 +0000)]
Ignore cruft

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

14 years agomoved XBT_LOG_CONNECT calls into smpi_global so that they will only be called
markls [Fri, 7 Mar 2008 08:32:09 +0000 (08:32 +0000)]
moved XBT_LOG_CONNECT calls into smpi_global so that they will only be called
once per program invocation rather than once per process.  Also surrounded by
#ifdef so that smpi can still compile against older versions of simgrid.

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

14 years agofixed nasty border condition bug.
markls [Thu, 6 Mar 2008 23:28:11 +0000 (23:28 +0000)]
fixed nasty border condition bug.

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

14 years agoDocument last changes
mquinson [Thu, 6 Mar 2008 14:09:45 +0000 (14:09 +0000)]
Document last changes

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

14 years agoDon't be paranoid, people won't connect stuff badly, will they?
mquinson [Thu, 6 Mar 2008 13:24:18 +0000 (13:24 +0000)]
Don't be paranoid, people won't connect stuff badly, will they?

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

14 years agoConnect correctly the log channels manually for windows. I didn't try to compile...
mquinson [Thu, 6 Mar 2008 13:23:40 +0000 (13:23 +0000)]
Connect correctly the log channels manually for windows. I didn't try to compile last commit, sorry for the noise

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

14 years agoFix detection of old versions
mquinson [Thu, 6 Mar 2008 12:01:33 +0000 (12:01 +0000)]
Fix detection of old versions

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

14 years agoDo connect all log channel manually to parent using XBT_LOG_CONNECT() too, so that...
mquinson [Thu, 6 Mar 2008 10:26:18 +0000 (10:26 +0000)]
Do connect all log channel manually to parent using XBT_LOG_CONNECT() too, so that it works properly under windows

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

14 years agoMake sure that all the categories are connected with XBT_LOG_CONNECT() too, so that...
mquinson [Thu, 6 Mar 2008 10:24:56 +0000 (10:24 +0000)]
Make sure that all the categories are connected with XBT_LOG_CONNECT() too, so that it works properly under windows

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

14 years agoCosmetics on the way the documentation of the tree of log channels is generated
mquinson [Thu, 6 Mar 2008 09:36:13 +0000 (09:36 +0000)]
Cosmetics on the way the documentation of the tree of log channels is generated

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

14 years agoStupid microsoft compiler not understanding the basic bases of C99
mquinson [Thu, 6 Mar 2008 09:05:37 +0000 (09:05 +0000)]
Stupid microsoft compiler not understanding the basic bases of C99

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

14 years agoStrict ANSI compilers (such as microsoft ones) do not allow non-constant initializers...
mquinson [Thu, 6 Mar 2008 08:59:50 +0000 (08:59 +0000)]
Strict ANSI compilers (such as microsoft ones) do not allow non-constant initializers. So, work it arround by adding a XBT_LOG_CONNECT macro to connect the child to the parent afterward

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

14 years agoautogenerated
mquinson [Thu, 6 Mar 2008 08:51:01 +0000 (08:51 +0000)]

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

14 years agoRegenerate all flexml-generated files to fix a FTBFS on buildbots
mquinson [Thu, 6 Mar 2008 08:04:44 +0000 (08:04 +0000)]
Regenerate all flexml-generated files to fix a FTBFS on buildbots

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

14 years agoregenerate all makefiles.in with the lastest autotools
mquinson [Thu, 6 Mar 2008 08:02:38 +0000 (08:02 +0000)]
regenerate all makefiles.in with the lastest autotools

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

14 years agoGet the flexml-generated file regenerated on need
mquinson [Thu, 6 Mar 2008 08:00:56 +0000 (08:00 +0000)]
Get the flexml-generated file regenerated on need

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

14 years agoRevalidate output. There is no task root in this exemple... probably an old cleanup...
alegrand [Wed, 5 Mar 2008 01:51:49 +0000 (01:51 +0000)]
Revalidate output. There is no task root in this exemple... probably an old cleanup of basic6.c and somebody forgot to update the tesh file accordingly.

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

14 years agoBug Fix: The symptom is hard to describe. Sometimes some tasks were not scheduled...
alegrand [Wed, 5 Mar 2008 01:51:45 +0000 (01:51 +0000)]
Bug Fix: The symptom is hard to describe. Sometimes some tasks were not scheduled whereas they should have...

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

14 years agoRevalidate output. It did not take into account last improvements to ptask_07 (a...
alegrand [Wed, 5 Mar 2008 01:51:39 +0000 (01:51 +0000)]
Revalidate output. It did not take into account last improvements to ptask_07 (a better management of 0s and the RTT bound).

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

14 years agoCosmetics
alegrand [Wed, 5 Mar 2008 01:51:30 +0000 (01:51 +0000)]

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

14 years agoRevalidate output. It did not take into account last improvements to
alegrand [Wed, 5 Mar 2008 01:51:23 +0000 (01:51 +0000)]
Revalidate output. It did not take into account last improvements to
ptask_07 (a better management of 0s and the RTT bound).

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

14 years agoBug fix in the trace management: the power value was not scaled. The
alegrand [Wed, 5 Mar 2008 01:51:18 +0000 (01:51 +0000)]
Bug fix in the trace management: the power value was not scaled. The
power of a host was between 0 and 1 when using traces instead of being
in Mflop/s.

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

14 years agoRemove useless \n in DEBUG messages.
alegrand [Wed, 5 Mar 2008 01:51:12 +0000 (01:51 +0000)]
Remove useless \n in DEBUG messages.

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

14 years agoHelp running properly after last XML parsing/DTD changes.
alegrand [Wed, 5 Mar 2008 01:51:07 +0000 (01:51 +0000)]
Help running properly after last XML parsing/DTD changes.

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

14 years agoRemove useless \n in DEBUG messages.
alegrand [Wed, 5 Mar 2008 01:51:01 +0000 (01:51 +0000)]
Remove useless \n in DEBUG messages.

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

14 years agoHelp running properly after last XML parsing/DTD changes.
alegrand [Wed, 5 Mar 2008 01:50:51 +0000 (01:50 +0000)]
Help running properly after last XML parsing/DTD changes.

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

14 years agocosmetics
alegrand [Wed, 5 Mar 2008 01:50:44 +0000 (01:50 +0000)]

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

14 years agoHelp compiling after last xml parsing/dtd modifications.
alegrand [Wed, 5 Mar 2008 01:40:41 +0000 (01:40 +0000)]
Help compiling after last xml parsing/dtd modifications.

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

14 years agoadded simple usage message to smpirun and removed nonworking sample
markls [Thu, 28 Feb 2008 08:18:17 +0000 (08:18 +0000)]
added simple usage message to smpirun and removed nonworking sample

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

14 years agodead link--
mquinson [Sun, 3 Feb 2008 14:16:15 +0000 (14:16 +0000)]
dead link--

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

14 years agoFix the DTD wrt trace:connect. I like it better this way ;)
mquinson [Sun, 3 Feb 2008 14:15:38 +0000 (14:15 +0000)]
Fix the DTD wrt trace:connect. I like it better this way ;)

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

14 years agokill properly the surfxml.h file since it got renamed to simgrid_dtd.h a while ago
mquinson [Sun, 3 Feb 2008 10:54:13 +0000 (10:54 +0000)]
kill properly the surfxml.h file since it got renamed to simgrid_dtd.h a while ago

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

14 years agoReintroduce a more robust hack here
mquinson [Sun, 3 Feb 2008 10:52:34 +0000 (10:52 +0000)]
Reintroduce a more robust hack here

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

14 years agoRemove a useless and now harmful rapid hack
mquinson [Sun, 3 Feb 2008 10:40:57 +0000 (10:40 +0000)]
Remove a useless and now harmful rapid hack

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

14 years agoAdd comments on how to hack surf to seamlessly handle large
alegrand [Fri, 25 Jan 2008 12:57:34 +0000 (12:57 +0000)]
Add comments on how to hack surf to seamlessly handle large
hierarchical platforms.

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

14 years agoUse unsigned integers for malloc arguments to allow mallocation of more than 2Gb...
mquinson [Thu, 24 Jan 2008 18:47:00 +0000 (18:47 +0000)]
Use unsigned integers for malloc arguments to allow mallocation of more than 2Gb at once

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

14 years agoOops. Forgot a stub
mquinson [Wed, 23 Jan 2008 16:37:24 +0000 (16:37 +0000)]
Oops. Forgot a stub

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

14 years agoDo not prepare backtraces for display in backtrace_current since this is a very long...
mquinson [Wed, 23 Jan 2008 16:18:50 +0000 (16:18 +0000)]
Do not prepare backtraces for display in backtrace_current since this is a very long operation. Only do so when we actually have to display them

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

14 years agoAnd now, fix the linux layer for backtrace extraction by not using values of backtrac...
mquinson [Wed, 23 Jan 2008 15:58:45 +0000 (15:58 +0000)]
And now, fix the linux layer for backtrace extraction by not using values of backtrace (ie, e->bt & e->used) before actually calling the backtrace function

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

14 years agoRegenerating autogenerated files
mquinson [Wed, 23 Jan 2008 15:46:03 +0000 (15:46 +0000)]
Regenerating autogenerated files

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

14 years agoavoid naming conflicts
mquinson [Wed, 23 Jan 2008 15:27:13 +0000 (15:27 +0000)]
avoid naming conflicts

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

14 years agodo not call backtrace directly when raising an exception, but our nice portability...
mquinson [Wed, 23 Jan 2008 15:09:44 +0000 (15:09 +0000)]
do not call backtrace directly when raising an exception, but our nice portability layer (xbt_backtrace_current)

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

14 years agoDamnit. Cross-compiling adds the pickyness of gcc to the brutality of visual-C. I...
mquinson [Wed, 23 Jan 2008 14:49:23 +0000 (14:49 +0000)]
Damnit. Cross-compiling adds the pickyness of gcc to the brutality of visual-C. I'm getting tired

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

14 years agoAllow gcc cross-compiling targetting windows, which does not like exported symbols...
mquinson [Wed, 23 Jan 2008 14:43:31 +0000 (14:43 +0000)]
Allow gcc cross-compiling targetting windows, which does not like exported symbols of type []

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

14 years agoDamit, leftover of the gcc syntax for inline assembly
mquinson [Wed, 23 Jan 2008 14:29:01 +0000 (14:29 +0000)]
Damit, leftover of the gcc syntax for inline assembly

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

14 years agogive up on cross-compiling backtrace code from gcc: inline assembly code cannot be...
mquinson [Wed, 23 Jan 2008 14:26:13 +0000 (14:26 +0000)]
give up on cross-compiling backtrace code from gcc: inline assembly code cannot be written in a way that both compilers like (so stick to MSVC syntax, and disable the feature when using gcc either in cross or natively with mingw32)

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

14 years agoAllow gcc cross-compilation targetting windows, and hopefully kill the dbghelp singleton
mquinson [Wed, 23 Jan 2008 13:56:28 +0000 (13:56 +0000)]
Allow gcc cross-compilation targetting windows, and hopefully kill the dbghelp singleton

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

14 years agoAllow gcc cross-compilation targetting windows
mquinson [Wed, 23 Jan 2008 13:53:36 +0000 (13:53 +0000)]
Allow gcc cross-compilation targetting windows

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

14 years agoVarious cleanups+allow cross-compilation with gcc
mquinson [Wed, 23 Jan 2008 13:52:20 +0000 (13:52 +0000)]
Various cleanups+allow cross-compilation with gcc

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

14 years agoOther try at killing that singleton
mquinson [Wed, 23 Jan 2008 09:44:42 +0000 (09:44 +0000)]
Other try at killing that singleton

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

14 years agoOther try at killing that singleton
mquinson [Wed, 23 Jan 2008 09:38:35 +0000 (09:38 +0000)]
Other try at killing that singleton

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

14 years agotry to kill the singleton design pattern
mquinson [Tue, 22 Jan 2008 16:39:40 +0000 (16:39 +0000)]
try to kill the singleton design pattern

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

14 years agoEnd of last commit about cleaning up windows backtraces (sorry, codding through the...
mquinson [Tue, 22 Jan 2008 16:16:57 +0000 (16:16 +0000)]
End of last commit about cleaning up windows backtraces (sorry, codding through the build bots)

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

14 years agoSeparate the dummy implementation of the backtraces into its own file (backtrace_dumm...
mquinson [Tue, 22 Jan 2008 16:13:34 +0000 (16:13 +0000)]
Separate the dummy implementation of the backtraces into its own file (backtrace_dummy), better init/exit mecanism for the backtraces since windows actually has something to do there

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

14 years agoCleanups: kill code dupplication
mquinson [Tue, 22 Jan 2008 15:54:13 +0000 (15:54 +0000)]
Cleanups: kill code dupplication

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

14 years agoxbt_new raises an exception on error, no need to check for ENOMEM
mquinson [Tue, 22 Jan 2008 11:01:21 +0000 (11:01 +0000)]
xbt_new raises an exception on error, no need to check for ENOMEM

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

14 years agoErm. Reindenting did not make the trick on assembly code
mquinson [Tue, 22 Jan 2008 10:45:12 +0000 (10:45 +0000)]
Erm. Reindenting did not make the trick on assembly code

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

14 years agoFix another small signess issue
mquinson [Tue, 22 Jan 2008 10:43:30 +0000 (10:43 +0000)]
Fix another small signess issue

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

14 years agoFix a small signess issue
mquinson [Tue, 22 Jan 2008 10:41:32 +0000 (10:41 +0000)]
Fix a small signess issue

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

14 years agoReindent (no real change)
mquinson [Tue, 22 Jan 2008 10:35:23 +0000 (10:35 +0000)]
Reindent (no real change)

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

14 years agoMove a bit of code into the platform-dependent files (to allow their upcoming cleanup)
mquinson [Tue, 22 Jan 2008 10:32:48 +0000 (10:32 +0000)]
Move a bit of code into the platform-dependent files (to allow their upcoming cleanup)

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

14 years agoAnd now, fix the other arguments of makecontext to avoid using unitialized data on...
mquinson [Fri, 18 Jan 2008 10:26:22 +0000 (10:26 +0000)]
And now, fix the other arguments of makecontext to avoid using unitialized data on the stack

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

14 years agoFix the prototype of the context running wrapper to stick to the standards
mquinson [Fri, 18 Jan 2008 09:58:48 +0000 (09:58 +0000)]
Fix the prototype of the context running wrapper to stick to the standards

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

14 years agoinclude sysdep.h for xbt_new0
cherierm [Fri, 11 Jan 2008 13:10:50 +0000 (13:10 +0000)]
include sysdep.h for xbt_new0

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

14 years agoDelete the auto aliasing
cherierm [Fri, 11 Jan 2008 10:48:19 +0000 (10:48 +0000)]
Delete the auto aliasing

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

14 years agoDeclaration of the MSG_task_receive_from_host() function
cherierm [Fri, 11 Jan 2008 10:27:29 +0000 (10:27 +0000)]
Declaration of the MSG_task_receive_from_host() function

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

14 years agothe java samples alias0 and alias1 are renamed autoDestination and explicitDestination
cherierm [Fri, 11 Jan 2008 10:20:07 +0000 (10:20 +0000)]
the java samples alias0 and alias1 are renamed autoDestination and explicitDestination

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

14 years agoUsage of xbt_new0 instead calloc
cherierm [Fri, 11 Jan 2008 10:17:51 +0000 (10:17 +0000)]
Usage of xbt_new0 instead calloc

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

14 years agoUsage of xbt_new0 instead calloc
cherierm [Fri, 11 Jan 2008 10:16:41 +0000 (10:16 +0000)]
Usage of xbt_new0 instead calloc

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

14 years agorename msg_mailbox.h to mailbox.h
cherierm [Fri, 11 Jan 2008 10:15:40 +0000 (10:15 +0000)]
rename msg_mailbox.h to mailbox.h

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

14 years agorename msg_mailbox.h mailbox.h
cherierm [Fri, 11 Jan 2008 10:12:35 +0000 (10:12 +0000)]
rename msg_mailbox.h mailbox.h

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

14 years agoThis change is relative with the mailbox concept :
cherierm [Fri, 11 Jan 2008 10:10:53 +0000 (10:10 +0000)]
This change is relative with the mailbox concept :

include/msg/msg.h The function MSG_task_receive_with_time_out is renamed MSG_task_receive_with_timeout

src/msg/private.h Add the declaration of the structure of a mailbox, the structure simdata_host use now the concept of mailbox

src/msg/global.c The initialization and the finalization of the mailbox module are respectively call by the functions MSG_global_init()
and MSG_clean()

src/msg/msg_mailbox.c Implementation of the functions MSG_mailbox_get_task_ext and MSG_mailbox_put_with_timeout, MSG_mailbox_get_by_channel;
the MSG_mailbox_destroy function is deleted...

src/msg/msg_mailbox.h  renamed mailbox.h

src/msg/host.c The host use now the mailbox concept (the mailboxes of the hosts are not added in the global dictionary)

src/msg/gos.c All the functions use now the now concept of mailbox, refactoring of code (the code related with the mailboxes
is merged in the MSG_mailbox* functions)

src/simix/smx_global.c The initialization and the finalization module functions are now call in the msg.c source file.

src/simix/smx_process.c Add the mailbox identified by the alias "Host:Process" in the global dictionary

src/java/jmsg.c msg_mailbox.h is renamed mailbox.h

src/Makefile.am msg_mailbox.h is renamed mailbox.h

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

14 years agoA distraction
cherierm [Fri, 11 Jan 2008 09:57:59 +0000 (09:57 +0000)]
A distraction

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

14 years agoadd the inclusion of the dbg_help.h header, remove the unnecessary code and use xbt_n...
cherierm [Fri, 11 Jan 2008 09:56:55 +0000 (09:56 +0000)]
add the inclusion of the dbg_help.h header, remove the unnecessary code and use xbt_new0 instead calloc

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

14 years agoFix syntax
mquinson [Wed, 9 Jan 2008 07:27:00 +0000 (07:27 +0000)]
Fix syntax

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

14 years agoStupid me
mquinson [Wed, 9 Jan 2008 00:05:04 +0000 (00:05 +0000)]
Stupid me

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

14 years agoooops
mquinson [Wed, 9 Jan 2008 00:03:42 +0000 (00:03 +0000)]

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

14 years agoPubli++
mquinson [Wed, 9 Jan 2008 00:01:49 +0000 (00:01 +0000)]

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

14 years agoUpdate the contrib page, and add a link to it in the navbar
mquinson [Tue, 8 Jan 2008 22:21:46 +0000 (22:21 +0000)]
Update the contrib page, and add a link to it in the navbar

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

14 years agoSimplification (plus remove a warning blocking the compilation)
mquinson [Mon, 7 Jan 2008 23:07:21 +0000 (23:07 +0000)]
Simplification (plus remove a warning blocking the compilation)

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

14 years agoAlso distribute the msg_mailbox header in the tarball
mquinson [Mon, 7 Jan 2008 22:51:18 +0000 (22:51 +0000)]
Also distribute the msg_mailbox header in the tarball

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

14 years agosplit windows and linux backtrace setup out of the main exception file
mquinson [Mon, 7 Jan 2008 22:39:07 +0000 (22:39 +0000)]
split windows and linux backtrace setup out of the main exception file

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

14 years agoFix english, use more XBT str functions, some little other cosmetics. Kill backtrace_...
mquinson [Mon, 7 Jan 2008 22:10:52 +0000 (22:10 +0000)]
Fix english, use more XBT str functions, some little other cosmetics. Kill backtrace_symbols_fd that we do not need (it dupplicates code with backtrace_symbols for no real reason)

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

14 years agoDo not export the mailbox functions now.
cherierm [Mon, 7 Jan 2008 17:19:31 +0000 (17:19 +0000)]
Do not export the mailbox functions now.

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

14 years agoA distraction
cherierm [Mon, 7 Jan 2008 17:15:12 +0000 (17:15 +0000)]
A distraction

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

14 years agoExport the mailbox functions.
cherierm [Mon, 7 Jan 2008 17:13:39 +0000 (17:13 +0000)]
Export the mailbox functions.

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

14 years agoRemove the unused variable item.
cherierm [Mon, 7 Jan 2008 17:01:59 +0000 (17:01 +0000)]
Remove the unused variable item.

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

14 years agoAdd end line in msg_mailbox* files and add the file msg_mailbox.c in Makefile.am
cherierm [Mon, 7 Jan 2008 16:56:16 +0000 (16:56 +0000)]
Add end line in msg_mailbox* files and add the file msg_mailbox.c in Makefile.am

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

14 years agoThe Visual C++ project of the masterslave_forwarder_with_alias example
cherierm [Mon, 7 Jan 2008 16:45:53 +0000 (16:45 +0000)]
The Visual C++ project of the masterslave_forwarder_with_alias example

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

14 years agoThe materslave_forwarder using the mailbox concept
cherierm [Mon, 7 Jan 2008 16:44:14 +0000 (16:44 +0000)]
The materslave_forwarder using the mailbox concept

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

14 years agoThe java examples to illustrate the usage of the mailbox concept.
cherierm [Mon, 7 Jan 2008 16:42:58 +0000 (16:42 +0000)]
The java examples to illustrate the usage of the mailbox concept.

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

14 years agoAdd the mailbox source file and header.
cherierm [Mon, 7 Jan 2008 16:39:40 +0000 (16:39 +0000)]
Add the mailbox source file and header.
msg_mailbox.h Header containing the declaration of the functions related with the mailbox concept
msg_mailbox.c Source file containing the implementation of the functions related with the mailbox concept

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

14 years agoThis change introduce the new mailbox concept.
cherierm [Mon, 7 Jan 2008 16:36:32 +0000 (16:36 +0000)]
This change introduce the new mailbox concept.
A mailbox is a storage used to put or get an msg task. It is identified by an alias. For more information about the usage of the mailbox see the java examples alias0 and alias1 and the C example
masterslave_forwarder_with_alias in the directory /examples/msg/alias.

This change impacts the following files :

include/msg/msg.h Add the declaration of the functions related with the new concept of mailboxes.
src/msg/host.c Adapte the functions __MSG_host_create and __MSG_host_destroy to the new concept of mailboxes.
src/gos/gos.c Implementation of the functions related withe the new concept of mailboxes.

src/simix/smx_global.c Initialization et finalization of the mailbox module.

src/java/jmsg.c Implementation of the jni callback functions related with the mailbox concept.
src/java/jmsg.h Declaration of the jni callback functions related with the mailbox concept.

ApplicationHandler.java Implementation of the operations related with the properties of a process
Host.java Implementation of the operations related with the new concept of mailbox
MsgNative.java Implementation of the operations related with the new concept of mailbox
Process.java Implementation of the operations related with the new concept of mailbox
Task.java Implementation of the operations related with the new concept of mailbox

msg_mailbox.h Header containing the declaration of the functions related with the mailbox concept
msg_mailbox.c Source file containing the implementation of the functions related with the mailbox concept

directories alia0 et alias1 contain two examples to illustrate the different usages of the mailbox concept using the java interface
for msg.

directory alias contains the example masterslave_forwarder_with_alias which illustrate the usage of mailbox instead channel as in
the masterslave_forwarder example.

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

14 years agoAnsi declaration of the variables (at the beginning of the block).
cherierm [Mon, 7 Jan 2008 14:37:23 +0000 (14:37 +0000)]
Ansi declaration of the variables (at the beginning of the block).

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

14 years agoAdd the backtrace in the table of string only if the symbol and the line information...
cherierm [Mon, 7 Jan 2008 14:31:27 +0000 (14:31 +0000)]
Add the backtrace in the table of string only if the symbol and the line information exist.

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

14 years agoDestroy the context of the maestro after the call of the function xbt_context_empty_t...
cherierm [Mon, 7 Jan 2008 14:29:26 +0000 (14:29 +0000)]
Destroy the context of the maestro after the call of the function xbt_context_empty_trash to avoid an possible access violation.

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

14 years agosome of the action checking code didn't work right, so I removed it.
markls [Mon, 24 Dec 2007 06:27:26 +0000 (06:27 +0000)]
some of the action checking code didn't work right, so I removed it.

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

14 years agoaccidently tried to compare action to state. now fixed.
markls [Sun, 23 Dec 2007 06:37:02 +0000 (06:37 +0000)]
accidently tried to compare action to state. now fixed.

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

14 years agoblah
markls [Sun, 23 Dec 2007 06:17:02 +0000 (06:17 +0000)]

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

14 years agoUse bprintf instead of sprintf
mquinson [Fri, 21 Dec 2007 11:10:57 +0000 (11:10 +0000)]
Use bprintf instead of sprintf

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