Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
8 years agoa few blanks less + static
Frederic Suter [Tue, 1 Mar 2016 13:13:37 +0000 (14:13 +0100)]
a few blanks less + static

8 years ago[mc] Remove the horrible MC_EACH_SIMIX_PROCESS() macro
Gabriel Corona [Tue, 1 Mar 2016 12:18:08 +0000 (13:18 +0100)]
[mc] Remove the horrible MC_EACH_SIMIX_PROCESS() macro

Use a range for loop instead.

8 years ago[mc] Fix PID mismatch in snapshot
Gabriel Corona [Tue, 1 Mar 2016 10:25:29 +0000 (11:25 +0100)]
[mc] Fix PID mismatch in snapshot

I was passing the simulated process PID instead of the native process
PID when taking file descriptor snapshots. File descriptor snapshots
is currently not tested and not fully functional.

8 years agodamn
Martin Quinson [Tue, 1 Mar 2016 11:27:53 +0000 (12:27 +0100)]
damn

8 years agothe whole file should probably die of outofdate-ness, but anyway
Martin Quinson [Tue, 1 Mar 2016 11:26:25 +0000 (12:26 +0100)]
the whole file should probably die of outofdate-ness, but anyway

8 years agokill the gpu examples: not used, braindead
Martin Quinson [Tue, 1 Mar 2016 11:22:49 +0000 (12:22 +0100)]
kill the gpu examples: not used, braindead

8 years agoinline a function called once
Martin Quinson [Tue, 1 Mar 2016 11:08:53 +0000 (12:08 +0100)]
inline a function called once

8 years agoI'm glad this documentation is out of date. At least :)
Martin Quinson [Tue, 1 Mar 2016 10:51:53 +0000 (11:51 +0100)]
I'm glad this documentation is out of date. At least :)

8 years agono need to specify symmetrical=YES, that's by default
Martin Quinson [Tue, 1 Mar 2016 10:47:01 +0000 (11:47 +0100)]
no need to specify symmetrical=YES, that's by default

8 years agoCeterum censeo Applem delendam esse.
Martin Quinson [Tue, 1 Mar 2016 10:41:15 +0000 (11:41 +0100)]
Ceterum censeo Applem delendam esse.

8 years agorename smx_rdv_t into smx_mailbox_t. One day it will be C++
Martin Quinson [Tue, 1 Mar 2016 10:36:27 +0000 (11:36 +0100)]
rename smx_rdv_t into smx_mailbox_t. One day it will be C++

8 years agouse std::pair instead of bprintf(%s#%s)ing the keys
Martin Quinson [Tue, 1 Mar 2016 10:23:28 +0000 (11:23 +0100)]
use std::pair instead of bprintf(%s#%s)ing the keys

8 years agodie blank lines and dummy comments, die
Frederic Suter [Tue, 1 Mar 2016 10:15:16 +0000 (11:15 +0100)]
die blank lines and dummy comments, die

8 years agoCoding style: camel case RemotePtr
Gabriel Corona [Tue, 1 Mar 2016 09:19:23 +0000 (10:19 +0100)]
Coding style: camel case RemotePtr

8 years ago[mc] Don't expose the Type in Buffer
Gabriel Corona [Tue, 1 Mar 2016 09:16:23 +0000 (10:16 +0100)]
[mc] Don't expose the Type in Buffer

8 years agoCoding style: camel case Buffer
Gabriel Corona [Tue, 1 Mar 2016 09:08:55 +0000 (10:08 +0100)]
Coding style: camel case Buffer

8 years ago[smpi] Fix ENAMETOOLONG with shm_open in smpi_shared_malloc on MacOS X
Gabriel Corona [Tue, 1 Mar 2016 08:43:28 +0000 (09:43 +0100)]
[smpi] Fix ENAMETOOLONG with shm_open in smpi_shared_malloc on MacOS X

Max length is PSHMNAMLEN = 31.

8 years agoless XBT, more std:: (in routing)
Martin Quinson [Tue, 1 Mar 2016 08:36:24 +0000 (09:36 +0100)]
less XBT, more std:: (in routing)

8 years agocleanups in the routing code
Martin Quinson [Mon, 29 Feb 2016 21:47:09 +0000 (22:47 +0100)]
cleanups in the routing code

8 years agoTemporary : exclude liveness tests from dynamicanalysis
degomme [Tue, 1 Mar 2016 08:21:25 +0000 (09:21 +0100)]
Temporary : exclude liveness tests from dynamicanalysis
they crash the node, and prevent valgrind/coverage analysis

8 years agofix some mistakes
Frederic Suter [Mon, 29 Feb 2016 23:02:47 +0000 (00:02 +0100)]
fix some mistakes

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 22:38:18 +0000 (23:38 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agoa few more cosmetics
Frederic Suter [Mon, 29 Feb 2016 22:37:52 +0000 (23:37 +0100)]
a few more cosmetics

8 years ago[smpi] Fix shared memoy name for SMPI_SHARED_MALLOC
Gabriel Corona [Mon, 29 Feb 2016 19:41:29 +0000 (20:41 +0100)]
[smpi] Fix shared memoy name for SMPI_SHARED_MALLOC

The name is expected to start with a '/'. This should fix
SMPI_SHARED_MALLOC on MacOS X.

8 years agocosmetics
Frederic Suter [Mon, 29 Feb 2016 17:57:13 +0000 (18:57 +0100)]
cosmetics

8 years agocleanup in teshsuite/msg
Frederic Suter [Mon, 29 Feb 2016 17:26:44 +0000 (18:26 +0100)]
cleanup in teshsuite/msg

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 16:30:27 +0000 (17:30 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agosome extra cleanups in simdag examples
Frederic Suter [Mon, 29 Feb 2016 16:30:00 +0000 (17:30 +0100)]
some extra cleanups in simdag examples

8 years agoRemove xbt_sha
Gabriel Corona [Mon, 29 Feb 2016 15:32:30 +0000 (16:32 +0100)]
Remove xbt_sha

8 years ago[smpi] Don't use SHA-1 in smpi_bench
Gabriel Corona [Mon, 29 Feb 2016 15:11:40 +0000 (16:11 +0100)]
[smpi] Don't use SHA-1 in smpi_bench

Use std::unordered_map.

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 14:16:29 +0000 (15:16 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agoUniformizing 'load' -> 'bound' in the setBound java binding)
Julien Gossa [Mon, 29 Feb 2016 14:13:11 +0000 (15:13 +0100)]
Uniformizing 'load' -> 'bound' in the setBound java binding)

8 years agosome cleanup in smpi examples
Frederic Suter [Mon, 29 Feb 2016 13:43:00 +0000 (14:43 +0100)]
some cleanup in smpi examples

8 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.

8 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

8 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 29 Feb 2016 13:06:04 +0000 (14:06 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

8 years agostart to clean MM smpi example
Frederic Suter [Mon, 29 Feb 2016 13:05:33 +0000 (14:05 +0100)]
start to clean MM smpi example

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

8 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

8 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.

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

8 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

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

8 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

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

8 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

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

8 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

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

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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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)

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

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

8 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.

8 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

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

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

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

8 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

8 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

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

8 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.

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

8 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

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

8 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

8 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

8 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

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

8 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..

8 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

8 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

8 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

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

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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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)

8 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