Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
Julien Gossa [Mon, 29 Feb 2016 13:25:32 +0000 (14:25 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

[doc] Change of Task.setBound comment to fit the native semantic.

3 years agoChange the comment of Task.setBound to fit the native semantic
Julien Gossa [Mon, 29 Feb 2016 13:10:46 +0000 (14:10 +0100)]
Change the comment of Task.setBound to fit the native semantic

3 years agofix build with NS3
Martin Quinson [Mon, 29 Feb 2016 12:42:33 +0000 (13:42 +0100)]
fix build with NS3

3 years agofurther unignore files that are not generated anymore
Martin Quinson [Mon, 29 Feb 2016 12:42:21 +0000 (13:42 +0100)]
further unignore files that are not generated anymore

3 years agoRevert "[git] update ignore file"
Martin Quinson [Mon, 29 Feb 2016 12:36:37 +0000 (13:36 +0100)]
Revert "[git] update ignore file"

Most of the added files are not produced by SimGrid anymore.

This reverts commit 7eb29c34b3056c12c97bcb26bdbfce502d4afcd8.

3 years agoRemove static tracepoint support
Gabriel Corona [Mon, 29 Feb 2016 12:39:50 +0000 (13:39 +0100)]
Remove static tracepoint support

3 years ago[mc] Cleanup RegionSnapshot buffer code
Gabriel Corona [Mon, 29 Feb 2016 11:34:22 +0000 (12:34 +0100)]
[mc] Cleanup RegionSnapshot buffer code

3 years agoNo Ruby anymore
Martin Quinson [Mon, 29 Feb 2016 12:01:56 +0000 (13:01 +0100)]
No Ruby anymore

3 years agoSIMIX_process_self_{set,get}_data can retrieve the self process by themselves
Martin Quinson [Mon, 29 Feb 2016 11:52:51 +0000 (12:52 +0100)]
SIMIX_process_self_{set,get}_data can retrieve the self process by themselves

3 years agorename some fields (ignorable)
Martin Quinson [Mon, 29 Feb 2016 11:34:57 +0000 (12:34 +0100)]
rename some fields (ignorable)

3 years agoAs::bypassRoutes_ does not need to be a reference
Martin Quinson [Mon, 29 Feb 2016 10:37:24 +0000 (11:37 +0100)]
As::bypassRoutes_ does not need to be a reference

Less malloc, less errors

3 years agotiny fixes
Frederic Suter [Mon, 29 Feb 2016 10:54:06 +0000 (11:54 +0100)]
tiny fixes

3 years agoyet another cleaning pass
Frederic Suter [Mon, 29 Feb 2016 10:44:22 +0000 (11:44 +0100)]
yet another cleaning pass
  + still some work to do in chord and pastry

3 years ago[git] update ignore file
Christian Heinrich [Mon, 29 Feb 2016 10:13:22 +0000 (11:13 +0100)]
[git] update ignore file

3 years ago[mc] as: autopep8
Gabriel Corona [Mon, 29 Feb 2016 10:08:45 +0000 (11:08 +0100)]
[mc] as: autopep8

3 years agoconvert a static function into a proper destructor
Martin Quinson [Mon, 29 Feb 2016 10:07:31 +0000 (11:07 +0100)]
convert a static function into a proper destructor

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 29 Feb 2016 09:42:23 +0000 (10:42 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years ago[cmake] remove a test binary after use
Martin Quinson [Mon, 29 Feb 2016 09:42:16 +0000 (10:42 +0100)]
[cmake] remove a test binary after use

3 years agoSmall cleanups in routing
Martin Quinson [Mon, 29 Feb 2016 09:33:45 +0000 (10:33 +0100)]
Small cleanups in routing

- Kill commented code
- Kill a now unused field
- Various reindent and tidying

3 years ago[mc] Port stack-cleaner/as in Python
Gabriel Corona [Mon, 29 Feb 2016 09:20:36 +0000 (10:20 +0100)]
[mc] Port stack-cleaner/as in Python

This time we are Ruby-free.

3 years agofactorize one method into the superclass
Martin Quinson [Mon, 29 Feb 2016 09:17:16 +0000 (10:17 +0100)]
factorize one method into the superclass

3 years agoI'm glad: this prototype was not used
Martin Quinson [Mon, 29 Feb 2016 08:27:31 +0000 (09:27 +0100)]
I'm glad: this prototype was not used

3 years agoPerl gets mad when the locales are not set, breaking tesh
Martin Quinson [Mon, 29 Feb 2016 08:25:35 +0000 (09:25 +0100)]
Perl gets mad when the locales are not set, breaking tesh

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 28 Feb 2016 21:46:08 +0000 (22:46 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoEnsure that task_listen works on asynchronous mailboxes (fix #40)
Martin Quinson [Sun, 28 Feb 2016 21:41:16 +0000 (22:41 +0100)]
Ensure that task_listen works on asynchronous mailboxes (fix #40)

- Clearly, nobody tested this before. Sorry for the delay in investiguating
- Also add a test case (written by Guillaume in the bug report)

3 years agomake a warning ignorable
Martin Quinson [Sun, 28 Feb 2016 21:39:09 +0000 (22:39 +0100)]
make a warning ignorable

3 years agosome useless cleanups
Martin Quinson [Sun, 28 Feb 2016 21:18:18 +0000 (22:18 +0100)]
some useless cleanups

3 years agoRevert "try to crash properly when dynamicanalysis build fails"
degomme [Sun, 28 Feb 2016 20:59:44 +0000 (21:59 +0100)]
Revert "try to crash properly when dynamicanalysis build fails"

This reverts commit 948f71a307fb620a954877149cf5441459b46f06.

3 years agodon't sort the output, that's impossible to debug
Martin Quinson [Sun, 28 Feb 2016 19:16:24 +0000 (20:16 +0100)]
don't sort the output, that's impossible to debug

3 years agofix make distcheck
Martin Quinson [Sun, 28 Feb 2016 12:25:42 +0000 (13:25 +0100)]
fix make distcheck

3 years agoreindent
Martin Quinson [Sun, 28 Feb 2016 12:20:26 +0000 (13:20 +0100)]
reindent

3 years agocosmetics
Martin Quinson [Sun, 28 Feb 2016 12:20:17 +0000 (13:20 +0100)]
cosmetics

3 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Sun, 28 Feb 2016 12:02:28 +0000 (13:02 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 28 Feb 2016 11:58:20 +0000 (12:58 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoreindent, no real change
Martin Quinson [Sun, 28 Feb 2016 11:25:37 +0000 (12:25 +0100)]
reindent, no real change

3 years agocleanups in routing
Martin Quinson [Sun, 28 Feb 2016 11:05:41 +0000 (12:05 +0100)]
cleanups in routing

- Make the link field of sg_platf_route_cbarg_t a vector<Link*>
  instead of a dynar.

- This dynar used to contain sometimes links (when computing the
  RouteAndLatency) and sometimes link names (when parsing).

- When parsing, the AS were in charge of checking that the links
  which names are given exist. Now, the parsing code has to deal with
  its own mess, to pass the expected Link*.

The situation around this data structure is still very messy because:
 - src and dst are the names while src_gw and dst_gw are the netcards
 - not all the fields are used in all usages:
   - src/dst not used in data stored in floyd/dijkstra
   - gw_* not used when adding a route (only for ASroute)
   - gw_* not used in the data stored in floyd/dijkstra but in the
     return value of getRouteAndLatency for these models.

Ultimately, this data structure should be limited to the xml world,
and proper replacement designed for each situations.

3 years agoour code is so entertaining
Martin Quinson [Sat, 27 Feb 2016 22:25:02 +0000 (23:25 +0100)]
our code is so entertaining

3 years agoremove every XBT_USE_DEPRECATED parts
Martin Quinson [Sat, 27 Feb 2016 18:40:23 +0000 (19:40 +0100)]
remove every XBT_USE_DEPRECATED parts

3 years agothat bug is fixed now
Martin Quinson [Sat, 27 Feb 2016 16:31:43 +0000 (17:31 +0100)]
that bug is fixed now

3 years agoMerge pull request #65 from fabienchaix/master
Martin Quinson [Sat, 27 Feb 2016 16:22:54 +0000 (17:22 +0100)]
Merge pull request #65 from fabienchaix/master

Adding test for concurrency and cleaner concurrency support

3 years agotry to crash properly when dynamicanalysis build fails
degomme [Sat, 27 Feb 2016 13:45:36 +0000 (14:45 +0100)]
try to crash properly when dynamicanalysis build fails

3 years agotry to fix build with lua
degomme [Sat, 27 Feb 2016 12:43:35 +0000 (13:43 +0100)]
try to fix build with lua

3 years agofixing logs after category removal
Frederic Suter [Sat, 27 Feb 2016 00:50:38 +0000 (01:50 +0100)]
fixing logs after category removal

3 years agoAh... C was a long time ago..
Fabien Chaix [Sat, 27 Feb 2016 00:39:56 +0000 (02:39 +0200)]
Ah... C was a long time ago..

3 years agoRemoving concurrency printing that was making a mess
Fabien Chaix [Sat, 27 Feb 2016 00:07:34 +0000 (02:07 +0200)]
Removing concurrency printing that was making a mess

3 years agoHopefully the last fix in tesh files
Fabien Chaix [Fri, 26 Feb 2016 23:35:21 +0000 (01:35 +0200)]
Hopefully the last fix in tesh files

3 years agoFixing more mistakes in tesh files
Fabien Chaix [Fri, 26 Feb 2016 23:13:55 +0000 (01:13 +0200)]
Fixing more mistakes in tesh files

3 years agoAdding robustness to logging
Fabien Chaix [Fri, 26 Feb 2016 22:49:43 +0000 (00:49 +0200)]
Adding robustness to logging

3 years agoCorrecting tesh files (2)
Fabien Chaix [Fri, 26 Feb 2016 22:28:45 +0000 (00:28 +0200)]
Correcting tesh files (2)

3 years agonicer API to the Netcard type
Martin Quinson [Fri, 26 Feb 2016 22:21:48 +0000 (23:21 +0100)]
nicer API to the Netcard type

3 years agoCorrecting tesh files
Fabien Chaix [Fri, 26 Feb 2016 22:07:52 +0000 (00:07 +0200)]
Correcting tesh files

3 years agoremove overkill log category declaration
Frederic Suter [Fri, 26 Feb 2016 21:57:17 +0000 (22:57 +0100)]
remove overkill log category declaration

3 years agoTrying to implement the C++ minstd_rand0 to get quick portability
Fabien Chaix [Fri, 26 Feb 2016 21:46:39 +0000 (23:46 +0200)]
Trying to implement the C++ minstd_rand0 to get quick portability

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 21:42:25 +0000 (22:42 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 26 Feb 2016 21:36:45 +0000 (22:36 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agocleanup a couple MSG examples more
Frederic Suter [Fri, 26 Feb 2016 21:35:50 +0000 (22:35 +0100)]
cleanup a couple MSG examples more

3 years agocontrol better random, returning to assertion
Fabien Chaix [Fri, 26 Feb 2016 21:09:00 +0000 (23:09 +0200)]
control better random, returning to assertion

3 years agosimplify some msg examples
Frederic Suter [Fri, 26 Feb 2016 20:48:10 +0000 (21:48 +0100)]
simplify some msg examples

test_all is from another age

3 years agoMore tracking of random numbers and correcting assertion
Fabien Chaix [Fri, 26 Feb 2016 20:43:14 +0000 (22:43 +0200)]
More tracking of random numbers and correcting assertion

3 years agoTrying to fix the random set-up
Fabien Chaix [Fri, 26 Feb 2016 20:18:17 +0000 (22:18 +0200)]
Trying to fix the random set-up

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 26 Feb 2016 19:34:53 +0000 (20:34 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agoJunk to understand why tests fail in MAC
Fabien Chaix [Fri, 26 Feb 2016 19:06:00 +0000 (21:06 +0200)]
Junk to understand why tests fail in MAC

3 years agopedantic freak meets MSG sources
Frederic Suter [Fri, 26 Feb 2016 18:36:24 +0000 (19:36 +0100)]
pedantic freak meets MSG sources

3 years agofix make distcheck (but it wasn't me)
Frederic Suter [Fri, 26 Feb 2016 16:00:54 +0000 (17:00 +0100)]
fix make distcheck (but it wasn't me)

3 years agomsg_mailbox.h was alone in src/msg
Frederic Suter [Fri, 26 Feb 2016 15:39:27 +0000 (16:39 +0100)]
msg_mailbox.h was alone in src/msg
  + merge its content to include/simgrid/msg.h
    + except for the private MSG_mailbox_free
  + stop including this header everywhere

3 years agoRemove ROUTING_HOST_LEVEL: was not used anymore
Martin Quinson [Fri, 26 Feb 2016 14:37:41 +0000 (15:37 +0100)]
Remove ROUTING_HOST_LEVEL: was not used anymore

3 years agoAdded formatting to the debug output of maxmin bench, in order to enable comparison.
Fabien Chaix [Fri, 26 Feb 2016 14:27:34 +0000 (16:27 +0200)]
Added formatting to the debug output of maxmin bench, in order to enable comparison.

3 years agoRemove/cleanup/fix #include
Gabriel Corona [Fri, 26 Feb 2016 14:13:38 +0000 (15:13 +0100)]
Remove/cleanup/fix #include

3 years ago[mc] s/NULL/nullptr/
Gabriel Corona [Fri, 26 Feb 2016 13:23:19 +0000 (14:23 +0100)]
[mc] s/NULL/nullptr/

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 13:26:24 +0000 (14:26 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoRemove/cleanup/fix some #include
Gabriel Corona [Fri, 26 Feb 2016 12:36:50 +0000 (13:36 +0100)]
Remove/cleanup/fix some #include

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 12:32:49 +0000 (13:32 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoreplace dumb deployment file by C
Frederic Suter [Fri, 26 Feb 2016 12:32:22 +0000 (13:32 +0100)]
replace dumb deployment file by C

3 years agoRemove some #include
Gabriel Corona [Fri, 26 Feb 2016 11:41:47 +0000 (12:41 +0100)]
Remove some #include

Trying to speed up partial recompilations.

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 11:41:31 +0000 (12:41 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years ago[mc] Fix previous commit
Gabriel Corona [Fri, 26 Feb 2016 11:36:50 +0000 (12:36 +0100)]
[mc] Fix previous commit

It was completely broken :/

3 years agokill ugly deprecated launcher
Frederic Suter [Fri, 26 Feb 2016 11:21:13 +0000 (12:21 +0100)]
kill ugly deprecated launcher

3 years ago[mc] Homogeneise throwned system_error
Gabriel Corona [Fri, 26 Feb 2016 11:12:20 +0000 (12:12 +0100)]
[mc] Homogeneise throwned system_error

 * the same category was not used in all calls;

 * sometimes a pointer to a `new`-ed `system_error` was wrongly used.

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 26 Feb 2016 11:06:26 +0000 (12:06 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agocleanup msg actions
Frederic Suter [Fri, 26 Feb 2016 11:05:17 +0000 (12:05 +0100)]
cleanup msg actions

  + MPI stuff is deprecated, no need for so much example files
  + keep it though for illustrative purposes

3 years ago[mc] Cleanup/reorganise the code of simgrid_mc
Gabriel Corona [Wed, 24 Feb 2016 11:14:01 +0000 (12:14 +0100)]
[mc] Cleanup/reorganise the code of simgrid_mc

3 years ago[mc] Documentation for Type and Member
Gabriel Corona [Wed, 24 Feb 2016 09:40:55 +0000 (10:40 +0100)]
[mc] Documentation for Type and Member

3 years ago[mc] Remove Type::is_pointer_type
Gabriel Corona [Wed, 24 Feb 2016 09:21:59 +0000 (10:21 +0100)]
[mc] Remove Type::is_pointer_type

3 years ago[mc] Member initialization in Variable, Member, Type
Gabriel Corona [Wed, 24 Feb 2016 09:19:51 +0000 (10:19 +0100)]
[mc] Member initialization in Variable, Member, Type

3 years ago[mc] Move some code into simgrid::mc namespace
Gabriel Corona [Tue, 23 Feb 2016 15:59:46 +0000 (16:59 +0100)]
[mc] Move some code into simgrid::mc namespace

3 years ago[mc] Don't leave model-checked processes around
Gabriel Corona [Fri, 26 Feb 2016 10:02:54 +0000 (11:02 +0100)]
[mc] Don't leave model-checked processes around

In some cases, we terminate the model-checker brutally inside of its
event loop instead of letting the event loop and the model checker
terminate cleanly. In this case, the model-checked process could still
be left alive.

Because the model-checker was still around, tesh was still waiting on
the pipe and ended-up timing out.

We now SIGKILL the model-checked process when exiting the
model-checker brutally.

3 years agooups
Martin Quinson [Fri, 26 Feb 2016 10:08:07 +0000 (11:08 +0100)]
oups

3 years agorebalance a bit between simgrid_config and internal_config
Martin Quinson [Fri, 26 Feb 2016 09:53:24 +0000 (10:53 +0100)]
rebalance a bit between simgrid_config and internal_config

3 years agofurther cleanups of the DLL usage madness
Martin Quinson [Fri, 26 Feb 2016 08:12:52 +0000 (09:12 +0100)]
further cleanups of the DLL usage madness

3 years agofurther remove dead code
Martin Quinson [Fri, 26 Feb 2016 07:59:12 +0000 (08:59 +0100)]
further remove dead code

3 years agoFixed outputs of failing tests (one because I was negligent, another because absolute...
Fabien Chaix [Fri, 26 Feb 2016 06:08:19 +0000 (08:08 +0200)]
Fixed outputs of failing tests (one because I was negligent, another because absolute paths cannot be used -of course-)

3 years agowoops, all machines but mine need stdio.h here
Martin Quinson [Fri, 26 Feb 2016 01:56:47 +0000 (02:56 +0100)]
woops, all machines but mine need stdio.h here

3 years agoasprintf is never used: bprintf is so swag
Martin Quinson [Fri, 26 Feb 2016 01:30:25 +0000 (02:30 +0100)]
asprintf is never used: bprintf is so swag

3 years agowe never need asnprintf nor vasnprintf
Martin Quinson [Fri, 26 Feb 2016 01:06:32 +0000 (02:06 +0100)]
we never need asnprintf nor vasnprintf

3 years agosnprintf is C99, we require C11. kill the portability code
Martin Quinson [Fri, 26 Feb 2016 01:02:37 +0000 (02:02 +0100)]
snprintf is C99, we require C11. kill the portability code

3 years agofurther improve code coverage by killing old code
Martin Quinson [Fri, 26 Feb 2016 00:37:42 +0000 (01:37 +0100)]
further improve code coverage by killing old code

3 years agotesh is not in C anymore, there is no need to compute string diffs
Martin Quinson [Fri, 26 Feb 2016 00:16:41 +0000 (01:16 +0100)]
tesh is not in C anymore, there is no need to compute string diffs

3 years agokill some other defunct portability checks
Martin Quinson [Fri, 26 Feb 2016 00:01:56 +0000 (01:01 +0100)]
kill some other defunct portability checks

3 years agowe don't support static build [on windows] anyway
Martin Quinson [Thu, 25 Feb 2016 23:50:19 +0000 (00:50 +0100)]
we don't support static build [on windows] anyway

3 years agoimprove coverage: kill dead code
Martin Quinson [Thu, 25 Feb 2016 23:48:23 +0000 (00:48 +0100)]
improve coverage: kill dead code