Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoredesign this test to match the C version
Frederic Suter [Wed, 30 Mar 2016 10:20:00 +0000 (12:20 +0200)]
redesign this test to match the C version
move it into the process package

4 years agokill a redudant example
Frederic Suter [Wed, 30 Mar 2016 09:41:45 +0000 (11:41 +0200)]
kill a redudant example
  + this is a plain old master/slave. Can't find what is specific here
  + app/masterworker does exactly the same

4 years agocreate an app package
Frederic Suter [Wed, 30 Mar 2016 09:33:44 +0000 (11:33 +0200)]
create an app package
  + includes bittorrent and masterworker

4 years agomake an io package
Frederic Suter [Wed, 30 Mar 2016 07:40:30 +0000 (09:40 +0200)]
make an io package
improve readibility and compactness of cmake file

4 years agopackage energy
Frederic Suter [Tue, 29 Mar 2016 20:53:12 +0000 (22:53 +0200)]
package energy
  + first test: consumption
  + should match the C version but functions are not part of the
    bindings (yet?)

4 years agoand now a dht package + cmake factoring
Frederic Suter [Tue, 29 Mar 2016 20:02:48 +0000 (22:02 +0200)]
and now a dht package + cmake factoring

4 years agoshould fix build
Frederic Suter [Tue, 29 Mar 2016 19:35:35 +0000 (21:35 +0200)]
should fix build

4 years agodefine a process package in examples/java
Frederic Suter [Tue, 29 Mar 2016 19:25:08 +0000 (21:25 +0200)]
define a process package in examples/java
  + comprises kill, migration, and suspend
Also found a way to factor java cmake \o/\o/\o/

4 years agofull redesign of this example
Frederic Suter [Tue, 29 Mar 2016 17:43:39 +0000 (19:43 +0200)]
full redesign of this example
 + (almost) match the behavior of examples/msg/process-kill now

4 years agoget rid of dumb deployment
Frederic Suter [Tue, 29 Mar 2016 16:58:55 +0000 (18:58 +0200)]
get rid of dumb deployment

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 29 Mar 2016 15:20:55 +0000 (17:20 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agorework the most basic java example
Frederic Suter [Tue, 29 Mar 2016 15:19:32 +0000 (17:19 +0200)]
rework the most basic java example
  + no more Forwarder
  + no more Finalize Task
  + no more Slavery \o/

4 years ago[mc] Remove superflous static function
Gabriel Corona [Tue, 29 Mar 2016 11:22:19 +0000 (13:22 +0200)]
[mc] Remove superflous static function

4 years ago[mc] -Wredundant-move
Gabriel Corona [Tue, 29 Mar 2016 12:53:05 +0000 (14:53 +0200)]
[mc] -Wredundant-move

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 29 Mar 2016 12:07:03 +0000 (14:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoMassive cleanup in masterslave
Frederic Suter [Tue, 29 Mar 2016 11:55:38 +0000 (13:55 +0200)]
Massive cleanup in masterslave
  broke one test: (in masterslave/masterslave_cpu_ti.tesh,
  case w/ TI and w/o crosstraffic).
  Comment it for now at examples/msg/CMakeLists.txt:106

4 years ago[mc] Remove Snapshot::is_important_snapshot()
Gabriel Corona [Tue, 29 Mar 2016 09:46:03 +0000 (11:46 +0200)]
[mc] Remove Snapshot::is_important_snapshot()

It was only used in order to manage the lifetime of snapshot instances.

4 years ago[mc] Use shared_ptr for Snapshot
Gabriel Corona [Tue, 29 Mar 2016 09:42:54 +0000 (11:42 +0200)]
[mc] Use shared_ptr for Snapshot

4 years ago[mc] Making a State a class
Gabriel Corona [Tue, 29 Mar 2016 08:59:06 +0000 (10:59 +0200)]
[mc] Making a State a class

4 years ago[mc] LivenessChecker stack
Gabriel Corona [Tue, 29 Mar 2016 07:17:29 +0000 (09:17 +0200)]
[mc] LivenessChecker stack

4 years ago[mc] Demangle C++ names when unwinding the stack with abi::__cxa_demangle
Gabriel Corona [Fri, 25 Mar 2016 16:12:53 +0000 (17:12 +0100)]
[mc] Demangle C++ names when unwinding the stack with abi::__cxa_demangle

4 years ago[mc] Dump the current trace when the model-checked crashes
Gabriel Corona [Fri, 25 Mar 2016 16:08:14 +0000 (17:08 +0100)]
[mc] Dump the current trace when the model-checked crashes

4 years ago[mc] Let the Checker give us the current trace
Gabriel Corona [Fri, 25 Mar 2016 12:06:04 +0000 (13:06 +0100)]
[mc] Let the Checker give us the current trace

Now we don't have any dependency on mc_stack outside of the Checkers
and we can make it a member of Checker and a C++ container.

4 years ago[mc] Let the Checker give us the current record trace
Gabriel Corona [Fri, 25 Mar 2016 09:55:04 +0000 (10:55 +0100)]
[mc] Let the Checker give us the current record trace

This could probably be infered from the interaction with the Session
at some point in the future but we're not there yet.

4 years ago[mc] Move VisitedPair alongside with LivenessChecker
Gabriel Corona [Thu, 24 Mar 2016 11:37:56 +0000 (12:37 +0100)]
[mc] Move VisitedPair alongside with LivenessChecker

4 years ago[mc] Move some snapshot_compare() overload with their respective checker
Gabriel Corona [Thu, 24 Mar 2016 11:06:27 +0000 (12:06 +0100)]
[mc] Move some snapshot_compare() overload with their respective checker

4 years agocleanups
Frederic Suter [Tue, 29 Mar 2016 09:54:48 +0000 (11:54 +0200)]
cleanups

4 years agofactoring
Frederic Suter [Tue, 29 Mar 2016 09:35:37 +0000 (11:35 +0200)]
factoring

4 years agoforgot to commit that ...
Frederic Suter [Tue, 29 Mar 2016 08:52:25 +0000 (10:52 +0200)]
forgot to commit that ...

4 years agoend of splitting examples/msg/tracing
Frederic Suter [Tue, 29 Mar 2016 08:38:16 +0000 (10:38 +0200)]
end of splitting examples/msg/tracing

4 years agomake this test test something
Frederic Suter [Tue, 29 Mar 2016 08:24:18 +0000 (10:24 +0200)]
make this test test something
and move it to its own dir

4 years agomake this test test something
Frederic Suter [Tue, 29 Mar 2016 08:05:16 +0000 (10:05 +0200)]
make this test test something
and move it to its own dir

4 years agomake this test test something
Frederic Suter [Tue, 29 Mar 2016 07:59:13 +0000 (09:59 +0200)]
make this test test something
and move it to its own dir

4 years agoreorder to have ADD_TESH grouped at the end of file
Frederic Suter [Tue, 29 Mar 2016 07:58:33 +0000 (09:58 +0200)]
reorder to have ADD_TESH grouped at the end of file

4 years agoremove an unused and non-working lua script
Martin Quinson [Tue, 29 Mar 2016 06:35:22 +0000 (08:35 +0200)]
remove an unused and non-working lua script

4 years agolua: rename the platf module to 'engine' to align on s4u
Martin Quinson [Mon, 28 Mar 2016 19:13:12 +0000 (21:13 +0200)]
lua: rename the platf module to 'engine' to align on s4u

4 years agoappveyor: don't run removed tesh files
Martin Quinson [Sun, 27 Mar 2016 19:17:20 +0000 (21:17 +0200)]
appveyor: don't run removed tesh files

4 years agothird attempt to fix the build without graphviz
Martin Quinson [Sun, 27 Mar 2016 18:56:16 +0000 (20:56 +0200)]
third attempt to fix the build without graphviz

4 years agomerge my change and the one of Augustin
Martin Quinson [Sun, 27 Mar 2016 17:44:59 +0000 (19:44 +0200)]
merge my change and the one of Augustin

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 27 Mar 2016 17:43:16 +0000 (19:43 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agosecond try to fix the build without graphviz
Martin Quinson [Sun, 27 Mar 2016 17:42:34 +0000 (19:42 +0200)]
second try to fix the build without graphviz

4 years agofix build without graphviz
degomme [Sun, 27 Mar 2016 17:25:25 +0000 (19:25 +0200)]
fix build without graphviz

4 years agoFix build without graphviz
Martin Quinson [Sun, 27 Mar 2016 16:03:24 +0000 (18:03 +0200)]
Fix build without graphviz

4 years agostop using masterslave_arg to test lua as this binary is gone
Martin Quinson [Sun, 27 Mar 2016 15:41:44 +0000 (17:41 +0200)]
stop using masterslave_arg to test lua as this binary is gone

4 years agolua: inline a function
Martin Quinson [Sun, 27 Mar 2016 15:13:42 +0000 (17:13 +0200)]
lua: inline a function

4 years agocosmetics in lua
Martin Quinson [Sun, 27 Mar 2016 12:26:30 +0000 (14:26 +0200)]
cosmetics in lua

4 years agohave the AS factory return the created AS
Martin Quinson [Sun, 27 Mar 2016 12:10:01 +0000 (14:10 +0200)]
have the AS factory return the created AS

4 years agocosmetics in lua platform creation
Martin Quinson [Sun, 27 Mar 2016 10:40:16 +0000 (12:40 +0200)]
cosmetics in lua platform creation

4 years agolet's seal() the AS in lua too
Martin Quinson [Sun, 27 Mar 2016 09:35:12 +0000 (11:35 +0200)]
let's seal() the AS in lua too

4 years agoFurther cosmetics in the parsing of clusters
Martin Quinson [Sat, 26 Mar 2016 23:58:03 +0000 (00:58 +0100)]
Further cosmetics in the parsing of clusters

- FatTree: rename create_links() into seal() to do the Right Thing
- factorize the explodesRadical() between cluster and cabinet
- other small things

4 years agoIn <cluster>, attributes availability_file and state_file are gone.
Martin Quinson [Sat, 26 Mar 2016 23:39:58 +0000 (00:39 +0100)]
In <cluster>, attributes availability_file and state_file are gone.

It was too complex and unused.

4 years agocleanups in the parsing
Martin Quinson [Sat, 26 Mar 2016 23:09:54 +0000 (00:09 +0100)]
cleanups in the parsing

- no need for xml cbarg initializer as we memset(0) the cbargs
- prepare to factorize host name creation between cluster and cabinet

4 years agoplug two memleaks
Martin Quinson [Sat, 26 Mar 2016 22:28:21 +0000 (23:28 +0100)]
plug two memleaks

4 years agocosmetics in cluster parsing
Martin Quinson [Sat, 26 Mar 2016 22:00:33 +0000 (23:00 +0100)]
cosmetics in cluster parsing

4 years agovivaldi: we are not using euclidean distance, actually
Martin Quinson [Sat, 26 Mar 2016 21:38:44 +0000 (22:38 +0100)]
vivaldi: we are not using euclidean distance, actually

4 years agodo not create dumb hosts when searching for vivaldi coordinates
Martin Quinson [Sat, 26 Mar 2016 21:31:30 +0000 (22:31 +0100)]
do not create dumb hosts when searching for vivaldi coordinates

4 years agoVivaldi: factorize similar code and cosmetics
Martin Quinson [Sat, 26 Mar 2016 21:19:51 +0000 (22:19 +0100)]
Vivaldi: factorize similar code and cosmetics

4 years agovivaldi: allow every component to have a private link, not only hosts
Martin Quinson [Sat, 26 Mar 2016 21:13:04 +0000 (22:13 +0100)]
vivaldi: allow every component to have a private link, not only hosts

4 years agoHave a decent name for the private hostLinks in clusters
Martin Quinson [Sat, 26 Mar 2016 21:05:55 +0000 (22:05 +0100)]
Have a decent name for the private hostLinks in clusters

4 years agoAsVivaldi is an AsCluster because each host as a private link
Martin Quinson [Sat, 26 Mar 2016 19:53:00 +0000 (20:53 +0100)]
AsVivaldi is an AsCluster because each host as a private link

4 years agosmall cleanups in the <peer> parsing code
Martin Quinson [Sat, 26 Mar 2016 18:11:25 +0000 (19:11 +0100)]
small cleanups in the <peer> parsing code

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sat, 26 Mar 2016 17:24:45 +0000 (18:24 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agofix distcheck
Frederic Suter [Sat, 26 Mar 2016 16:16:38 +0000 (17:16 +0100)]
fix distcheck

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 26 Mar 2016 16:14:51 +0000 (17:14 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agomove one more tracing test
Frederic Suter [Sat, 26 Mar 2016 16:14:29 +0000 (17:14 +0100)]
move one more tracing test

4 years agoFix broken build 20551fb51e6144ee0c7942602e4c4a60477ddfc8
Christian Heinrich [Sat, 26 Mar 2016 15:40:32 +0000 (16:40 +0100)]
Fix broken build 20551fb51e6144ee0c7942602e4c4a60477ddfc8

This commit fixes compatibility issues with GCC < 5 and older versions of
clang.

The problem (at least with GCC) is/was that they declared the move-constructor
as deleted in GCC < 5. See the bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54316

This commit does not return any stringstreams any more but makes use of a
file-wide global variable to use stringstream.

4 years agomstorage was never implemented anyway
Martin Quinson [Sat, 26 Mar 2016 15:13:59 +0000 (16:13 +0100)]
mstorage was never implemented anyway

4 years agorouting: change an enum to a class enum
Martin Quinson [Sat, 26 Mar 2016 15:01:26 +0000 (16:01 +0100)]
routing: change an  enum to a class enum

4 years agoFactorize some code into the netcard constructor
Martin Quinson [Sat, 26 Mar 2016 14:42:33 +0000 (15:42 +0100)]
Factorize some code into the netcard constructor

4 years agotake a bite in the cruft of this code
Martin Quinson [Sat, 26 Mar 2016 14:35:20 +0000 (15:35 +0100)]
take a bite in the cruft of this code

4 years agoinline a signal
Martin Quinson [Sat, 26 Mar 2016 14:11:31 +0000 (15:11 +0100)]
inline a signal

4 years agolet lmm_system_free(nullptr) be a noop
Martin Quinson [Sat, 26 Mar 2016 11:06:38 +0000 (12:06 +0100)]
let lmm_system_free(nullptr) be a noop

4 years agolet xbt_heap_free(NULL) be a noop
Martin Quinson [Sat, 26 Mar 2016 11:02:15 +0000 (12:02 +0100)]
let xbt_heap_free(NULL) be a noop

4 years agosmall cleanups here and there
Martin Quinson [Sat, 26 Mar 2016 10:59:14 +0000 (11:59 +0100)]
small cleanups here and there

4 years agoNetworkCste: Kill two methods overriden to the same content
Martin Quinson [Sat, 26 Mar 2016 10:42:41 +0000 (11:42 +0100)]
NetworkCste: Kill two methods overriden to the same content

+ rename a field

4 years agorename the fields of surf::Action
Martin Quinson [Sat, 26 Mar 2016 10:26:15 +0000 (11:26 +0100)]
rename the fields of surf::Action

4 years agogtnets is gone now
Martin Quinson [Sat, 26 Mar 2016 10:25:46 +0000 (11:25 +0100)]
gtnets is gone now

4 years agosort out the Link::onCommunicate signal
Martin Quinson [Sat, 26 Mar 2016 10:09:16 +0000 (11:09 +0100)]
sort out the Link::onCommunicate signal

4 years agoNS3: move the content of Model::communicate into Action constructor
Martin Quinson [Sat, 26 Mar 2016 09:53:30 +0000 (10:53 +0100)]
NS3: move the content of Model::communicate into Action constructor

4 years agons3: no need for 2 postparse callbacks
Martin Quinson [Sat, 26 Mar 2016 09:42:28 +0000 (10:42 +0100)]
ns3: no need for 2 postparse callbacks

4 years agoKill the useless NS3Sim class
Martin Quinson [Fri, 25 Mar 2016 14:41:49 +0000 (15:41 +0100)]
Kill the useless NS3Sim class

Instead, inline its methods that were static anyway. I guess it's a
remaining of the C->C++ interface

4 years agoone cmake file less
Frederic Suter [Fri, 25 Mar 2016 14:23:44 +0000 (15:23 +0100)]
one cmake file less

4 years agocosmetics in NS3
Martin Quinson [Fri, 25 Mar 2016 13:48:03 +0000 (14:48 +0100)]
cosmetics in NS3

4 years agokill that example
Frederic Suter [Fri, 25 Mar 2016 13:29:26 +0000 (14:29 +0100)]
kill that example
 + there are other places where processes are instantiated without a
   deployment file

4 years agokill dat code, pal
Martin Quinson [Fri, 25 Mar 2016 13:28:12 +0000 (14:28 +0100)]
kill dat code, pal

Separate the dead code removal from the change that make it useless
for sake of diff readability.

4 years agoDon't copy&change ns3::point-to-point-helper
Martin Quinson [Fri, 25 Mar 2016 13:25:32 +0000 (14:25 +0100)]
Don't copy&change ns3::point-to-point-helper

I'm sure there was a better way to force RED queues for routers,
but I dont' care because I decided that there is no reason to force RED queues for routers.

So kill dat code, dude.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 25 Mar 2016 13:23:20 +0000 (14:23 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years ago[INSTR] Move to C++ and use templates
Christian Heinrich [Fri, 25 Mar 2016 12:58:40 +0000 (13:58 +0100)]
[INSTR] Move to C++ and use templates

I also replaced plain old C-casts with static_cast

4 years ago[INSTR] Cosmetics: Alignment of assignments.
Christian Heinrich [Thu, 24 Mar 2016 09:13:30 +0000 (10:13 +0100)]
[INSTR] Cosmetics: Alignment of assignments.

4 years agomerge chord tesh files
Frederic Suter [Fri, 25 Mar 2016 13:06:07 +0000 (14:06 +0100)]
merge chord tesh files

4 years agomerge ns3 cmake ino msg cmake
Frederic Suter [Fri, 25 Mar 2016 12:56:24 +0000 (13:56 +0100)]
merge ns3 cmake ino msg cmake

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 25 Mar 2016 12:47:28 +0000 (13:47 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agostart to split msg/tracing
Frederic Suter [Fri, 25 Mar 2016 12:47:09 +0000 (13:47 +0100)]
start to split msg/tracing

4 years agoThese files are not used anymore
Martin Quinson [Fri, 25 Mar 2016 12:15:05 +0000 (13:15 +0100)]
These files are not used anymore

4 years agokill more dead code in NS3
Martin Quinson [Fri, 25 Mar 2016 12:10:51 +0000 (13:10 +0100)]
kill more dead code in NS3

We don't make no difference between hosts and routers in NS3 anymore

4 years agosome cleanups before reorg
Frederic Suter [Fri, 25 Mar 2016 11:46:50 +0000 (12:46 +0100)]
some cleanups before reorg

4 years agoMerge branch 'master' of github.com:mquinson/simgrid
Martin Quinson [Fri, 25 Mar 2016 11:13:34 +0000 (12:13 +0100)]
Merge branch 'master' of github.com:mquinson/simgrid

4 years agoinline a function in NS3
Martin Quinson [Fri, 25 Mar 2016 11:11:38 +0000 (12:11 +0100)]
inline a function in NS3

4 years agokill a useless element in the NS3 extension of hosts
Martin Quinson [Fri, 25 Mar 2016 10:59:31 +0000 (11:59 +0100)]
kill a useless element in the NS3 extension of hosts

4 years agoinline a function in NS3
Martin Quinson [Fri, 25 Mar 2016 11:11:38 +0000 (12:11 +0100)]
inline a function in NS3