Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoappveyor: try without perl
Martin Quinson [Mon, 9 Jan 2017 11:36:38 +0000 (12:36 +0100)]
appveyor: try without perl

2 years agosmx processes are now called actors, avoiding confusions in MC
Martin Quinson [Sun, 8 Jan 2017 16:48:07 +0000 (17:48 +0100)]
smx processes are now called actors, avoiding confusions in MC

the process->actor renaming comes from S4U, but this is really welcome
in the model checker, as Process is also the proxy of the MCed on the
MCer side.

2 years agoignorable cosmetics
Martin Quinson [Sun, 8 Jan 2017 16:06:42 +0000 (17:06 +0100)]
ignorable cosmetics

2 years agoInitialize a field in the constructor (+cosmetics)
Martin Quinson [Sun, 8 Jan 2017 15:36:20 +0000 (16:36 +0100)]
Initialize a field in the constructor (+cosmetics)

2 years agocosmetics
Martin Quinson [Sun, 8 Jan 2017 15:01:35 +0000 (16:01 +0100)]
cosmetics

2 years agoturn a factory function into the constructor
Martin Quinson [Sat, 7 Jan 2017 21:37:48 +0000 (22:37 +0100)]
turn a factory function into the constructor

2 years agodo the initialization in the constructor
Martin Quinson [Sat, 7 Jan 2017 21:25:57 +0000 (22:25 +0100)]
do the initialization in the constructor

2 years agoplease sonar by removing useless asignments and return statements
Martin Quinson [Sat, 7 Jan 2017 19:19:10 +0000 (20:19 +0100)]
please sonar by removing useless asignments and return statements

2 years agokill an unused static function
Martin Quinson [Fri, 6 Jan 2017 21:28:55 +0000 (22:28 +0100)]
kill an unused static function

2 years agoif reductionMode_ is dpor, then it's not none. True fact
Martin Quinson [Fri, 6 Jan 2017 17:30:02 +0000 (18:30 +0100)]
if reductionMode_ is dpor, then it's not none. True fact

2 years agocosmetics
Martin Quinson [Wed, 4 Jan 2017 23:16:02 +0000 (00:16 +0100)]
cosmetics

2 years agorefresh a documentation chapter
Martin Quinson [Wed, 4 Jan 2017 21:39:45 +0000 (22:39 +0100)]
refresh a documentation chapter

2 years agoAS are called netzones, now
Martin Quinson [Tue, 3 Jan 2017 20:50:17 +0000 (21:50 +0100)]
AS are called netzones, now

2 years agoremove an unused parameter + cosmetics
Martin Quinson [Mon, 2 Jan 2017 15:38:06 +0000 (16:38 +0100)]
remove an unused parameter + cosmetics

2 years agoremove the s_sg_platf_router_cbarg_t structure
Martin Quinson [Mon, 2 Jan 2017 13:49:16 +0000 (14:49 +0100)]
remove the s_sg_platf_router_cbarg_t structure

This is one of the many structures provided by the sg_platf interface,
that I want to replace with the s4u interface.

2 years agoremove a useless pimple
Martin Quinson [Mon, 2 Jan 2017 13:27:22 +0000 (14:27 +0100)]
remove a useless pimple

Clusters take care by themselves to register their router in their router_ field

2 years agofix our css by copying back things that used to work
Martin Quinson [Sun, 1 Jan 2017 21:41:47 +0000 (22:41 +0100)]
fix our css by copying back things that used to work

2 years agotodo--
Martin Quinson [Sun, 1 Jan 2017 21:31:24 +0000 (22:31 +0100)]
todo--

2 years agogenerate valid files
Martin Quinson [Sun, 1 Jan 2017 21:29:26 +0000 (22:29 +0100)]
generate valid files

2 years agofix gcc 6.2 builds
Martin Quinson [Sun, 1 Jan 2017 20:56:54 +0000 (21:56 +0100)]
fix gcc 6.2 builds

It was failing with the error: type 'struct yy_buffer_state'
violates the C++ One Definition Rule.  A different type is defined in
another translation unit.

This comes from the fact that I rebuilt one of the flex parser with a
new version of flex. Rebuilding all of them is difficult because they
are somehow manually edited to make the C compile with g++.
Dirty, dirty :(

2 years agofix glitches to the NS3 doc
Martin Quinson [Sun, 1 Jan 2017 17:21:07 +0000 (18:21 +0100)]
fix glitches to the NS3 doc

2 years agoignore the lat parameter of peer tag
Martin Quinson [Sun, 1 Jan 2017 17:01:21 +0000 (18:01 +0100)]
ignore the lat parameter of peer tag

- It was redundent with the z coordinate of the peer.
- This changes the timings of the examples using the Vivaldi routing
- Also update and improve the documentation.
- doxygen don't quite like links to sections which names contain a
  html-like tag (as <peer>) and produce weird error messages in this case.
  Not much I can do here...

2 years agoIn <peer>, make the latency parameter non-mandatory
Martin Quinson [Sun, 1 Jan 2017 16:27:30 +0000 (17:27 +0100)]
In <peer>, make the latency parameter non-mandatory

This parameter is redundent with the z coordinate and should be removed.

2 years agorewrite the NS3/SimGrid doc
Martin Quinson [Fri, 30 Dec 2016 23:08:14 +0000 (00:08 +0100)]
rewrite the NS3/SimGrid doc

2 years agoupdate the licensing info after the answer from Bronis de Supinski
Martin Quinson [Fri, 30 Dec 2016 11:01:59 +0000 (12:01 +0100)]
update the licensing info after the answer from Bronis de Supinski

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 30 Dec 2016 11:00:50 +0000 (12:00 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agotry to adapt linking to new NS3 compiled versions
Augustin Degomme [Thu, 29 Dec 2016 19:10:12 +0000 (20:10 +0100)]
try to adapt linking to new NS3 compiled versions

2 years agoRemove an easy FIXME
Martin Quinson [Thu, 29 Dec 2016 00:01:16 +0000 (01:01 +0100)]
Remove an easy FIXME

2 years agonext release will be 3.15
Martin Quinson [Wed, 28 Dec 2016 23:28:33 +0000 (00:28 +0100)]
next release will be 3.15

2 years agodocument the latest release in date
Martin Quinson [Wed, 28 Dec 2016 23:04:20 +0000 (00:04 +0100)]
document the latest release in date

2 years agonew copyright file, in a machine-readable format
Martin Quinson [Wed, 28 Dec 2016 21:51:35 +0000 (22:51 +0100)]
new copyright file, in a machine-readable format

2 years agoas expected, here is a fix release :( v3_14_159
Martin Quinson [Wed, 28 Dec 2016 16:16:34 +0000 (17:16 +0100)]
as expected, here is a fix release :(

2 years agofix some doxygen warnings
Martin Quinson [Wed, 28 Dec 2016 16:13:32 +0000 (17:13 +0100)]
fix some doxygen warnings

2 years agocosmetics in doc
Martin Quinson [Wed, 28 Dec 2016 14:31:47 +0000 (15:31 +0100)]
cosmetics in doc

2 years agofix some typos found by the debian packaging tools
Martin Quinson [Wed, 28 Dec 2016 14:17:33 +0000 (15:17 +0100)]
fix some typos found by the debian packaging tools

2 years agospecify the bindir for some tesh files
Martin Quinson [Wed, 28 Dec 2016 12:45:30 +0000 (13:45 +0100)]
specify the bindir for some tesh files

2 years agoImprove the routing documentation
Martin Quinson [Tue, 27 Dec 2016 23:17:32 +0000 (00:17 +0100)]
Improve the routing documentation

2 years agoXBT peer are dead since a long while
Martin Quinson [Tue, 27 Dec 2016 20:04:30 +0000 (21:04 +0100)]
XBT peer are dead since a long while

2 years agoGive a LD_LIBRARY_PATH to java tests
Martin Quinson [Mon, 26 Dec 2016 10:18:23 +0000 (11:18 +0100)]
Give a LD_LIBRARY_PATH to java tests

This allows to pass the tests when the lib is not included in the jar,
as it is the case in Debian.

2 years agosmpirun: don't use the ARGS variable, that may be used by others
Martin Quinson [Mon, 26 Dec 2016 09:59:26 +0000 (10:59 +0100)]
smpirun: don't use the ARGS variable, that may be used by others

2 years agosmpirun: keep the temps when the cmd fails
Martin Quinson [Mon, 26 Dec 2016 09:21:47 +0000 (10:21 +0100)]
smpirun: keep the temps when the cmd fails

2 years agoRevert "remove a few smells in instrumentation"
Martin Quinson [Sun, 25 Dec 2016 21:40:09 +0000 (22:40 +0100)]
Revert "remove a few smells in instrumentation"

This breaks on Mac OSX, for some obscure reason

This reverts commit c82adb6ec2917d3ec0657dab7e5d1d053759accd.

2 years agofix news
Augustin Degomme [Sun, 25 Dec 2016 19:58:20 +0000 (20:58 +0100)]
fix news

2 years agoupdate changelog
Augustin Degomme [Sun, 25 Dec 2016 19:58:06 +0000 (20:58 +0100)]
update changelog

2 years agowoops
Martin Quinson [Sat, 24 Dec 2016 22:38:07 +0000 (23:38 +0100)]
woops

2 years agomerry chrismas v3_14
Martin Quinson [Sat, 24 Dec 2016 21:43:26 +0000 (22:43 +0100)]
merry chrismas

2 years agocosmetics
Martin Quinson [Sat, 24 Dec 2016 21:36:12 +0000 (22:36 +0100)]
cosmetics

2 years agoclang-format these files, no change
Martin Quinson [Fri, 23 Dec 2016 21:08:44 +0000 (22:08 +0100)]
clang-format these files, no change

2 years agoremove a few smells in instrumentation
Frederic Suter [Fri, 23 Dec 2016 16:13:01 +0000 (17:13 +0100)]
remove a few smells in instrumentation

2 years agoplease sonar: name parameters
Martin Quinson [Fri, 23 Dec 2016 09:17:12 +0000 (10:17 +0100)]
please sonar: name parameters

2 years agofix clang builds by including <string> where needed
Martin Quinson [Fri, 23 Dec 2016 08:38:46 +0000 (09:38 +0100)]
fix clang builds by including <string> where needed

2 years agoplug a huge memleak
Martin Quinson [Fri, 23 Dec 2016 08:35:16 +0000 (09:35 +0100)]
plug a huge memleak

I forgot once again that xbt_dict actually delete their content when
you empty it, but not the std:: containers.

2 years agofinish the cleanup of the netcard list container
Martin Quinson [Thu, 22 Dec 2016 22:37:22 +0000 (23:37 +0100)]
finish the cleanup of the netcard list container

- move it from global to the engine
- use a std::unordered_map instead of a xbt_dict. Its order being
  harder to predict, this forces to sort the list in the routing
  integration tests.

I'm not completely happy about the register/unregister functions being
public, but I cannot find anything better, and it's later already...

2 years agohave only one callback for link creation
Martin Quinson [Wed, 21 Dec 2016 22:02:36 +0000 (23:02 +0100)]
have only one callback for link creation

2 years agoinline another function, plus some cleanups
Martin Quinson [Wed, 21 Dec 2016 21:44:04 +0000 (22:44 +0100)]
inline another function, plus some cleanups

2 years agotry to fix clang++ builds
Martin Quinson [Wed, 21 Dec 2016 15:18:37 +0000 (16:18 +0100)]
try to fix clang++ builds

2 years agoinline a useless function
Martin Quinson [Wed, 21 Dec 2016 11:44:46 +0000 (12:44 +0100)]
inline a useless function

2 years agofurther trim the includes
Martin Quinson [Wed, 21 Dec 2016 02:51:24 +0000 (03:51 +0100)]
further trim the includes

2 years agoCheck that scope is non-NULL pointer.
Matthieu Volat [Tue, 20 Dec 2016 20:04:22 +0000 (21:04 +0100)]
Check that scope is non-NULL pointer.

2 years agochange all links to my old webpage
Martin Quinson [Tue, 20 Dec 2016 18:21:08 +0000 (19:21 +0100)]
change all links to my old webpage

2 years agoplease sonar
Martin Quinson [Tue, 20 Dec 2016 15:07:13 +0000 (16:07 +0100)]
please sonar

2 years agoanother bunch of include cuts. The last one for today
Martin Quinson [Tue, 20 Dec 2016 14:10:57 +0000 (15:10 +0100)]
another bunch of include cuts. The last one for today

2 years agoFix windows build
Martin Quinson [Tue, 20 Dec 2016 13:35:53 +0000 (14:35 +0100)]
Fix windows build

netcards_dict is not visible enough for windows anymore, so don't use it.

2 years agofurther reduce the amount of includes
Martin Quinson [Tue, 20 Dec 2016 11:50:19 +0000 (12:50 +0100)]
further reduce the amount of includes

2 years agocut some useless includes
Martin Quinson [Mon, 19 Dec 2016 23:10:30 +0000 (00:10 +0100)]
cut some useless includes

2 years agodrop unimplementd VM methods: save/restore
Martin Quinson [Mon, 19 Dec 2016 18:40:55 +0000 (19:40 +0100)]
drop unimplementd VM methods: save/restore

2 years agocosmetics
Martin Quinson [Mon, 19 Dec 2016 18:00:02 +0000 (19:00 +0100)]
cosmetics

2 years agoVM: don't take ignored parameter that may fool the users
Martin Quinson [Mon, 19 Dec 2016 16:53:22 +0000 (17:53 +0100)]
VM: don't take ignored parameter that may fool the users

2 years agoconvert the last vm simcall into s4u code
Martin Quinson [Mon, 19 Dec 2016 15:42:35 +0000 (16:42 +0100)]
convert the last vm simcall into s4u code

2 years agoVM: rename a symbol and improve comments
Martin Quinson [Mon, 19 Dec 2016 15:18:44 +0000 (16:18 +0100)]
VM: rename a symbol and improve comments

2 years agoconvert vm_suspend from SMX to S4U
Martin Quinson [Mon, 19 Dec 2016 15:12:13 +0000 (16:12 +0100)]
convert vm_suspend from SMX to S4U

2 years agoconvert another VM simcall into a s4u method
Martin Quinson [Mon, 19 Dec 2016 14:38:57 +0000 (15:38 +0100)]
convert another VM simcall into a s4u method

2 years agoVM: move content from simix to s4u
Martin Quinson [Mon, 19 Dec 2016 14:14:01 +0000 (15:14 +0100)]
VM: move content from simix to s4u

2 years agocosmetics
Martin Quinson [Mon, 19 Dec 2016 14:00:11 +0000 (15:00 +0100)]
cosmetics

2 years agoexplicitely capture variables in lambda to please sonar
Martin Quinson [Mon, 19 Dec 2016 13:59:23 +0000 (14:59 +0100)]
explicitely capture variables in lambda to please sonar

2 years agocosmetics
Martin Quinson [Mon, 19 Dec 2016 13:38:35 +0000 (14:38 +0100)]
cosmetics

2 years agoTwo variables must be defined without using cmakedefine macros.
Matthieu Volat [Mon, 19 Dec 2016 18:41:10 +0000 (19:41 +0100)]
Two variables must be defined without using cmakedefine macros.

They have values other than 0|1, mea culpa...

2 years agodisable mc for sanitizers to have a cleaner output
Augustin Degomme [Mon, 19 Dec 2016 18:01:31 +0000 (19:01 +0100)]
disable mc for sanitizers to have a cleaner output

2 years agoUse the CMake macro #cmakedefine01 in configurable files.
Matthieu Volat [Mon, 19 Dec 2016 16:38:50 +0000 (17:38 +0100)]
Use the CMake macro #cmakedefine01 in configurable files.

cmakedefine01 allows to perform C preprocessor replacements
that define a variable to 0 or 1 when configure_file is called,
instead of (not) defining the variable (see
https://cmake.org/cmake/help/v2.8.8/cmake.html#command:configure_file
for the 2.8.8 doc).

This ease the defining of config.h variables (no foreach loops
that preset them to 0), but two requirements must be met:
 1. variable name must match in cmake and config.h.in
 2. no comment on the macro line

2 years agoPrepare the next release
Martin Quinson [Mon, 19 Dec 2016 11:21:13 +0000 (12:21 +0100)]
Prepare the next release

2 years agomove content from MSG_VM to s4u::VM
Martin Quinson [Mon, 19 Dec 2016 11:15:36 +0000 (12:15 +0100)]
move content from MSG_VM to s4u::VM

2 years agoreduce the amount of static casts
Martin Quinson [Mon, 19 Dec 2016 11:01:55 +0000 (12:01 +0100)]
reduce the amount of static casts

2 years agoimprove test (and stop using unqualified printf)
Martin Quinson [Mon, 19 Dec 2016 10:37:09 +0000 (11:37 +0100)]
improve test (and stop using unqualified printf)

2 years agocosmetics
Martin Quinson [Mon, 19 Dec 2016 10:15:58 +0000 (11:15 +0100)]
cosmetics

- less new/delete when avoidable
- rename some misnamed variables

2 years agonew function: Engine::netcardList()
Martin Quinson [Mon, 19 Dec 2016 09:22:37 +0000 (10:22 +0100)]
new function: Engine::netcardList()

2 years agoMove all netcards into the dict, and the dict to the engine
Martin Quinson [Sun, 18 Dec 2016 15:14:36 +0000 (16:14 +0100)]
Move all netcards into the dict, and the dict to the engine

2 years agouse std::string instead of bprintf
Martin Quinson [Sun, 18 Dec 2016 10:27:43 +0000 (11:27 +0100)]
use std::string instead of bprintf

2 years agoreduce the public exposure of netcards_dict
Martin Quinson [Sat, 17 Dec 2016 18:14:40 +0000 (19:14 +0100)]
reduce the public exposure of netcards_dict

2 years agono need for a lib to store the netcards. A dict is easier
Martin Quinson [Sat, 17 Dec 2016 16:59:27 +0000 (17:59 +0100)]
no need for a lib to store the netcards. A dict is easier

2 years agoremove surf_routing.hpp
Martin Quinson [Sat, 17 Dec 2016 16:37:42 +0000 (17:37 +0100)]
remove surf_routing.hpp

2 years agonext release is 3.14
Martin Quinson [Sat, 17 Dec 2016 16:19:53 +0000 (17:19 +0100)]
next release is 3.14

2 years agoplease sonar on yesterday's commits
Martin Quinson [Sat, 17 Dec 2016 15:11:51 +0000 (16:11 +0100)]
please sonar on yesterday's commits

2 years agoyou mean I should compile the code before commiting? Hu ho, ok...
Martin Quinson [Fri, 16 Dec 2016 17:34:50 +0000 (18:34 +0100)]
you mean I should compile the code before commiting? Hu ho, ok...

2 years agoCompletely rework the properties of netzones
Martin Quinson [Fri, 16 Dec 2016 08:15:24 +0000 (09:15 +0100)]
Completely rework the properties of netzones

- This changes some MSG functions, but I doubt that any users really
  used them. Even if someone did, there is no real loss of
  functionnality. The only missing thing would be if someone wants to
  traverse the whole set, but I don't have no good idea here since the
  data is stored in a C++ container. It's hard to let C code traverse
  it. I could add a _dump() method to just display it.
- the change in the tesh file denotes an old bug that this change
  fixes. The name property was not defined in the cluster tag, but in
  the previous one in the XML, so it should not have landed in the
  properties of the cluster's hosts.
- the code in the XML to stack the dictionnaries for each AS is simply
  gone. The AS is created in the STag function, so simply retrieve it
  by name and use it when we need it. No need for an additional storage.
- surf_routing is almost gone, now \o/

2 years agobypass MSG in the java bindings
Martin Quinson [Thu, 15 Dec 2016 14:46:27 +0000 (15:46 +0100)]
bypass MSG in the java bindings

2 years agomsg_as_t -> msg_netzone_t
Martin Quinson [Thu, 15 Dec 2016 10:38:32 +0000 (11:38 +0100)]
msg_as_t  ->  msg_netzone_t

2 years agosmall cosmetics advised by sonar
Martin Quinson [Thu, 15 Dec 2016 10:35:00 +0000 (11:35 +0100)]
small cosmetics advised by sonar

2 years agoMC: ignore a new boost-related library
Martin Quinson [Thu, 15 Dec 2016 08:35:45 +0000 (09:35 +0100)]
MC: ignore a new boost-related library

The new lib is libboost_context-mt, but clang-format insisted on
making my patch unreadable.

2 years agofix MC build with paranoid flags
Martin Quinson [Thu, 15 Dec 2016 07:56:55 +0000 (08:56 +0100)]
fix MC build with paranoid flags

2 years agofix jedule builds
Martin Quinson [Thu, 15 Dec 2016 07:21:25 +0000 (08:21 +0100)]
fix jedule builds