Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoWe do have wireless networks now
Martin Quinson [Thu, 8 Oct 2020 22:18:16 +0000 (00:18 +0200)]
We do have wireless networks now

3 years agoMerge branch 'master' into 'master'
Martin Quinson [Fri, 9 Oct 2020 15:08:50 +0000 (17:08 +0200)]
Merge branch 'master' into 'master'

Documentation for the Wifi energy example

See merge request simgrid/simgrid!41

3 years agoDocumentation for the Wifi energy example
Clément Courageux [Fri, 9 Oct 2020 13:49:48 +0000 (15:49 +0200)]
Documentation for the Wifi energy example

3 years agonew option ns3/seed to seed the ns-3 random generator
Martin Quinson [Thu, 8 Oct 2020 20:42:47 +0000 (22:42 +0200)]
new option ns3/seed to seed the ns-3 random generator

3 years agoUse vector of strings for args.
Arnaud Giersch [Thu, 8 Oct 2020 14:25:58 +0000 (16:25 +0200)]
Use vector of strings for args.

3 years agoUse C++ types instead of c-style arrays.
Arnaud Giersch [Thu, 8 Oct 2020 14:25:21 +0000 (16:25 +0200)]
Use C++ types instead of c-style arrays.

3 years agoUse meaningful names for dragonfly coords.
Arnaud Giersch [Thu, 8 Oct 2020 14:10:06 +0000 (16:10 +0200)]
Use meaningful names for dragonfly coords.

3 years agoPrefer std::string for C++ API.
Arnaud Giersch [Thu, 8 Oct 2020 13:26:16 +0000 (15:26 +0200)]
Prefer std::string for C++ API.

3 years agoMinor sonar issues.
Arnaud Giersch [Thu, 8 Oct 2020 09:44:08 +0000 (11:44 +0200)]
Minor sonar issues.

3 years agoDocument recent changes
Martin Quinson [Thu, 8 Oct 2020 10:26:49 +0000 (12:26 +0200)]
Document recent changes

3 years agoAdapt the wifi_energy platform to the new wifi routing
Martin Quinson [Thu, 8 Oct 2020 10:18:07 +0000 (12:18 +0200)]
Adapt the wifi_energy platform to the new wifi routing

3 years agoMerge branch 'klement/simgrid-klement' into master
Martin Quinson [Thu, 8 Oct 2020 08:08:33 +0000 (10:08 +0200)]
Merge branch 'klement/simgrid-klement' into master

3 years agoRevert "Check C++ standard in xbt/base.h."
Arnaud Giersch [Wed, 7 Oct 2020 11:12:27 +0000 (13:12 +0200)]
Revert "Check C++ standard in xbt/base.h."

There is no reason to enforce C++14 when it's not absolutely needed.

This reverts commit 5004e62b0038cf93f205c6eacb0d46c17258ce89.

3 years agobump C++ to 14 in smpicxx as well
Augustin Degomme [Wed, 7 Oct 2020 07:51:07 +0000 (09:51 +0200)]
bump C++ to 14 in smpicxx as well

3 years agoBlack magic.
Arnaud Giersch [Tue, 6 Oct 2020 21:16:58 +0000 (23:16 +0200)]
Black magic.

Aims to fix MC+smpi on FreeBSD with Clang.

3 years agoCheck C++ standard in xbt/base.h.
Arnaud Giersch [Tue, 6 Oct 2020 13:32:23 +0000 (15:32 +0200)]
Check C++ standard in xbt/base.h.

3 years agoTravis/win: python has been upgraded to 3.9.
Arnaud Giersch [Tue, 6 Oct 2020 10:13:49 +0000 (12:13 +0200)]
Travis/win: python has been upgraded to 3.9.

3 years agoFix build with older clang (e.g. 3.8.1).
Arnaud Giersch [Tue, 6 Oct 2020 08:55:29 +0000 (10:55 +0200)]
Fix build with older clang (e.g. 3.8.1).

3 years agoModernize method declarations.
Arnaud Giersch [Mon, 5 Oct 2020 21:05:56 +0000 (23:05 +0200)]
Modernize method declarations.

Clang-tidy enabled checks:
    modernize-use-equals-default
    modernize-use-equals-delete
    modernize-use-override
    modernize-use-transparent-functors

3 years agoPrefer to use emplace_back.
Arnaud Giersch [Mon, 5 Oct 2020 21:03:27 +0000 (23:03 +0200)]
Prefer to use emplace_back.

Clang-tidy enabled checks:
    modernize-use-emplace

3 years agoModern C++ use "auto".
Arnaud Giersch [Mon, 5 Oct 2020 20:59:22 +0000 (22:59 +0200)]
Modern C++ use "auto".

Clang-tidy enabled checks:
    modernize-use-auto

3 years agoPrefer nullptr and bool literals.
Arnaud Giersch [Mon, 5 Oct 2020 20:47:37 +0000 (22:47 +0200)]
Prefer nullptr and bool literals.

Clang-tidy enabled checks:
    modernize-use-bool-literals
    modernize-use-nullptr

3 years agoPrefer C++ headers, and C++-style void-arg declarations.
Arnaud Giersch [Mon, 5 Oct 2020 19:54:35 +0000 (21:54 +0200)]
Prefer C++ headers, and C++-style void-arg declarations.

Clang-tidy enabled checks:
    modernize-deprecated-headers
    modernize-redundant-void-arg

3 years agoMore uses of std::make_unique.
Arnaud Giersch [Mon, 5 Oct 2020 19:53:43 +0000 (21:53 +0200)]
More uses of std::make_unique.

Clang-tidy enabled checks:
    modernize-make-shared
    modernize-make-unique

3 years agoModernize loop.
Arnaud Giersch [Mon, 5 Oct 2020 19:57:16 +0000 (21:57 +0200)]
Modernize loop.

3 years agoFix lua_platf.
Arnaud Giersch [Mon, 5 Oct 2020 11:55:03 +0000 (13:55 +0200)]
Fix lua_platf.

3 years agoFix a name conflict in Zones. No idea why gcc didn't complain about it
Martin Quinson [Mon, 5 Oct 2020 15:00:46 +0000 (17:00 +0200)]
Fix a name conflict in Zones. No idea why gcc didn't complain about it

3 years agoNew 'WiFi' routing, that makes it easier to specify WiFi network zones
Martin Quinson [Mon, 5 Oct 2020 09:57:21 +0000 (11:57 +0200)]
New 'WiFi' routing, that makes it easier to specify WiFi network zones

3 years agoDon't list the possible routings in DTD. We want to add more w/o changing the DTD
Martin Quinson [Sun, 4 Oct 2020 20:04:29 +0000 (22:04 +0200)]
Don't list the possible routings in DTD. We want to add more w/o changing the DTD

3 years agoRecompile the XML parser, and alleviate an ambiguity in a platform file
Martin Quinson [Sun, 4 Oct 2020 19:42:49 +0000 (21:42 +0200)]
Recompile the XML parser, and alleviate an ambiguity in a platform file

3 years agoLet netzones know about the links created in their realm
Martin Quinson [Sun, 4 Oct 2020 14:25:39 +0000 (16:25 +0200)]
Let netzones know about the links created in their realm

3 years agouseless cosmetics
Martin Quinson [Sat, 3 Oct 2020 10:33:11 +0000 (12:33 +0200)]
useless cosmetics

3 years ago[sonar] Extract the assignment from sub-expression.
Arnaud Giersch [Sun, 4 Oct 2020 20:28:50 +0000 (22:28 +0200)]
[sonar] Extract the assignment from sub-expression.

3 years agoUseless cast to int.
Arnaud Giersch [Sun, 4 Oct 2020 19:44:56 +0000 (21:44 +0200)]
Useless cast to int.

3 years agoSlight simplification.
Arnaud Giersch [Sun, 4 Oct 2020 19:20:32 +0000 (21:20 +0200)]
Slight simplification.

3 years agoCorrectly print dots between elements.
Arnaud Giersch [Sun, 4 Oct 2020 19:10:32 +0000 (21:10 +0200)]
Correctly print dots between elements.

3 years ago[sonar] Replace redundant type with "auto" (src/smpi/).
Arnaud Giersch [Sun, 4 Oct 2020 12:23:25 +0000 (14:23 +0200)]
[sonar] Replace redundant type with "auto" (src/smpi/).

3 years ago[sonar] Replace redundant type with "auto" (src/mc/).
Arnaud Giersch [Sat, 3 Oct 2020 20:34:45 +0000 (22:34 +0200)]
[sonar] Replace redundant type with "auto" (src/mc/).

3 years ago[sonar] Replace redundant type with "auto" (include/ and src/).
Arnaud Giersch [Sat, 3 Oct 2020 19:53:46 +0000 (21:53 +0200)]
[sonar] Replace redundant type with "auto" (include/ and src/).

3 years ago[sonar] Replace redundant type with "auto" (teshsuite/).
Arnaud Giersch [Sun, 4 Oct 2020 16:08:38 +0000 (18:08 +0200)]
[sonar] Replace redundant type with "auto" (teshsuite/).

3 years ago[sonar] Replace redundant type with "auto" (examples/).
Arnaud Giersch [Sat, 3 Oct 2020 19:48:41 +0000 (21:48 +0200)]
[sonar] Replace redundant type with "auto" (examples/).

3 years agoMention xxHash in COPYING.
Arnaud Giersch [Sat, 3 Oct 2020 08:08:58 +0000 (10:08 +0200)]
Mention xxHash in COPYING.

3 years agoxxHash is not ours, exclude from analysis.
Arnaud Giersch [Sat, 3 Oct 2020 08:02:27 +0000 (10:02 +0200)]
xxHash is not ours, exclude from analysis.

3 years agoMore s/c++11/c++14/.
Arnaud Giersch [Fri, 2 Oct 2020 22:30:19 +0000 (00:30 +0200)]
More s/c++11/c++14/.

3 years ago[sonar] Use "std::make_unique" to construct "std::unique_ptr".
Arnaud Giersch [Fri, 2 Oct 2020 21:44:42 +0000 (23:44 +0200)]
[sonar] Use "std::make_unique" to construct "std::unique_ptr".

3 years ago[sonar] Use "std::make_shared" to construct "std::shared_ptr".
Arnaud Giersch [Fri, 2 Oct 2020 21:39:42 +0000 (23:39 +0200)]
[sonar] Use "std::make_shared" to construct "std::shared_ptr".

3 years ago[sonar] Don't take shared_ptr by rvalue reference.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
[sonar] Don't take shared_ptr by rvalue reference.

3 years agoConst qualifier is useless.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Const qualifier is useless.

3 years agoUse empty() to check whether the container is empty or not.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Use empty() to check whether the container is empty or not.

3 years agoReduce scope for loop variables.
Arnaud Giersch [Fri, 2 Oct 2020 20:04:16 +0000 (22:04 +0200)]
Reduce scope for loop variables.

3 years agoRemove compatibility layer for pre-c++14.
Arnaud Giersch [Fri, 2 Oct 2020 19:45:40 +0000 (21:45 +0200)]
Remove compatibility layer for pre-c++14.

3 years agoC++14 support is now required.
Arnaud Giersch [Fri, 2 Oct 2020 19:38:33 +0000 (21:38 +0200)]
C++14 support is now required.

3 years agoUse standard macro to check C++ version.
Arnaud Giersch [Fri, 2 Oct 2020 19:33:25 +0000 (21:33 +0200)]
Use standard macro to check C++ version.

3 years agoNamespace s4u:: is implicit.
Arnaud Giersch [Fri, 2 Oct 2020 09:37:21 +0000 (11:37 +0200)]
Namespace s4u:: is implicit.

3 years agoTypos.
Arnaud Giersch [Fri, 2 Oct 2020 08:28:49 +0000 (10:28 +0200)]
Typos.

3 years agoObsolete declaration.
Arnaud Giersch [Thu, 1 Oct 2020 15:40:15 +0000 (17:40 +0200)]
Obsolete declaration.

3 years agoCosmetics.
Arnaud Giersch [Thu, 1 Oct 2020 15:28:16 +0000 (17:28 +0200)]
Cosmetics.

3 years agoPrefer const std::string&.
Arnaud Giersch [Tue, 29 Sep 2020 12:50:46 +0000 (14:50 +0200)]
Prefer const std::string&.

3 years agoMinor corrections for commit e709643ef0c5b61c6c878016c418bffa2b1b20cd.
Arnaud Giersch [Tue, 29 Sep 2020 12:33:54 +0000 (14:33 +0200)]
Minor corrections for commit e709643ef0c5b61c6c878016c418bffa2b1b20cd.

3 years agoMerge branch 'master' into 'master'
Martin Quinson [Thu, 1 Oct 2020 13:42:25 +0000 (15:42 +0200)]
Merge branch 'master' into 'master'

Master

See merge request simgrid/simgrid!39

3 years agoremove unused attribute name_ and method set_name()
adrien gougeon [Thu, 1 Oct 2020 07:48:03 +0000 (09:48 +0200)]
remove unused attribute name_ and method set_name()

3 years agofix host name issue with ns3 wifi, add ssid, set active probing to false
adrien gougeon [Thu, 1 Oct 2020 07:47:29 +0000 (09:47 +0200)]
fix host name issue with ns3 wifi, add ssid, set active probing to false

3 years agoMerge branch 'adrien' into 'master'
Martin Quinson [Wed, 30 Sep 2020 19:18:51 +0000 (21:18 +0200)]
Merge branch 'adrien' into 'master'

Merge upstream back to that repository

See merge request Adrien.Gougeon/simgrid!1

3 years agoMerge branch 'master' into adrien
Martin Quinson [Wed, 30 Sep 2020 19:09:50 +0000 (21:09 +0200)]
Merge branch 'master' into adrien

3 years agoWeak attempt at fixing issue with recent ns3+gcc.
Augustin Degomme [Wed, 30 Sep 2020 00:07:18 +0000 (02:07 +0200)]
Weak attempt at fixing issue with recent ns3+gcc.
Should not be enough, there's something weird going on.

3 years agomoved a line for comprehension
adrien gougeon [Tue, 29 Sep 2020 13:54:28 +0000 (15:54 +0200)]
moved a line for comprehension

3 years agoRevert "Enable ns3 for coverage build and hope that it will be analyzed by sonar."
Arnaud Giersch [Tue, 29 Sep 2020 09:16:20 +0000 (11:16 +0200)]
Revert "Enable ns3 for coverage build and hope that it will be analyzed by sonar."

This reverts commit 13ad11bcafc2a83c76b64438fe41794dcd47c6e6.

Reason:
00:00:21.524 CMake Error at CMakeLists.txt:427 (message):
00:00:21.524   Cannot activate both model-checking and ns-3 bindings: ns-3 pulls too much
00:00:21.524   dependencies for the MC to work

3 years agoEnable ns3 for coverage build and hope that it will be analyzed by sonar.
Arnaud Giersch [Tue, 29 Sep 2020 08:56:03 +0000 (10:56 +0200)]
Enable ns3 for coverage build and hope that it will be analyzed by sonar.

3 years agoFix call to Process.yield() (keyword in java >= 13).
Arnaud Giersch [Tue, 29 Sep 2020 08:43:49 +0000 (10:43 +0200)]
Fix call to Process.yield() (keyword in java >= 13).

3 years agoAdd input file.
Arnaud Giersch [Tue, 29 Sep 2020 07:34:26 +0000 (09:34 +0200)]
Add input file.

3 years agoproject description: show me the ns-3 version
Martin Quinson [Mon, 28 Sep 2020 22:26:29 +0000 (00:26 +0200)]
project description: show me the ns-3 version

3 years agofix formatting in ns3 doc
Martin Quinson [Mon, 28 Sep 2020 07:57:16 +0000 (09:57 +0200)]
fix formatting in ns3 doc

3 years agoMerge branch 'master' of framagit.org:simgrid/simgrid into master
Martin Quinson [Sat, 26 Sep 2020 21:49:12 +0000 (23:49 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid into master

3 years agoimprove the wifi ns-3 documentation a bit
Martin Quinson [Sat, 26 Sep 2020 21:43:37 +0000 (23:43 +0200)]
improve the wifi ns-3 documentation a bit

3 years agoMerge branch 'master' of framagit.org:Adrien.Gougeon/simgrid into master
Martin Quinson [Sat, 26 Sep 2020 19:56:02 +0000 (21:56 +0200)]
Merge branch 'master' of framagit.org:Adrien.Gougeon/simgrid into master

3 years agoreadded active probing = false
adrien gougeon [Fri, 25 Sep 2020 16:25:17 +0000 (18:25 +0200)]
readded active probing = false

3 years agoactive probing return to default value for STA nodes
adrien gougeon [Fri, 25 Sep 2020 14:56:08 +0000 (16:56 +0200)]
active probing return to default value for STA nodes

3 years agoadded ssid for ns3 wifi
adrien gougeon [Fri, 25 Sep 2020 13:37:40 +0000 (15:37 +0200)]
added ssid for ns3 wifi

3 years agoFix distcheck.
Arnaud Giersch [Tue, 22 Sep 2020 13:21:23 +0000 (15:21 +0200)]
Fix distcheck.

3 years agodoc: fix more broken links
Martin Quinson [Mon, 14 Sep 2020 19:31:26 +0000 (21:31 +0200)]
doc: fix more broken links

3 years agoCI: linkchecker is not part of Debian anymore
Martin Quinson [Sun, 13 Sep 2020 22:57:01 +0000 (00:57 +0200)]
CI: linkchecker is not part of Debian anymore

3 years agoCI: restore the dependency of pages onto ctest for the python doc
Martin Quinson [Sun, 13 Sep 2020 22:42:44 +0000 (00:42 +0200)]
CI: restore the dependency of pages onto ctest for the python doc

3 years agodocs: we need a recent version of sphinx_tabs for sphinx 2
Martin Quinson [Sun, 13 Sep 2020 22:40:58 +0000 (00:40 +0200)]
docs: we need a recent version of sphinx_tabs for sphinx 2

3 years agoautodoxy: allow to requalify types whose namespace is implicit in doxygen
Martin Quinson [Sun, 13 Sep 2020 22:38:58 +0000 (00:38 +0200)]
autodoxy: allow to requalify types whose namespace is implicit in doxygen

This is somewhat hackish, as it's a RE substitution, but it's doing
the trick so far.

3 years agoDockerfile: linkchecker is dying because it's not python3 yet
Martin Quinson [Sun, 13 Sep 2020 22:00:28 +0000 (00:00 +0200)]
Dockerfile: linkchecker is dying because it's not python3 yet

3 years agodoc: fix formating and functions signatures
Martin Quinson [Sun, 13 Sep 2020 21:37:21 +0000 (23:37 +0200)]
doc: fix formating and functions signatures

3 years agoCI: install our version of javasphinx
Martin Quinson [Sun, 13 Sep 2020 17:28:52 +0000 (19:28 +0200)]
CI: install our version of javasphinx

3 years agodocs/Build.sh: get verbose to see what's failing on CI
Martin Quinson [Sun, 13 Sep 2020 14:42:43 +0000 (16:42 +0200)]
docs/Build.sh: get verbose to see what's failing on CI

3 years agogitlab-ci: remove the dependency from pages onto ctest for the time being
Martin Quinson [Sun, 13 Sep 2020 14:39:17 +0000 (16:39 +0200)]
gitlab-ci: remove the dependency from pages onto ctest for the time being

This will break the python doc, but allow faster tests of the java doc.

3 years agodoc: update sphinx to 3.2.1 in the hope that it fixes the current errors
Martin Quinson [Sun, 13 Sep 2020 14:38:46 +0000 (16:38 +0200)]
doc: update sphinx to 3.2.1 in the hope that it fixes the current errors

3 years agoAlso use the local javasphinx when compiling the doc
Martin Quinson [Sun, 13 Sep 2020 14:18:07 +0000 (16:18 +0200)]
Also use the local javasphinx when compiling the doc

3 years agoinclude a copy of javasphinx so that we can fix it on need
Martin Quinson [Sun, 13 Sep 2020 13:52:58 +0000 (15:52 +0200)]
include a copy of javasphinx so that we can fix it on need

3 years agoshowfile: adapt to recent sphinx
Martin Quinson [Sun, 13 Sep 2020 11:01:04 +0000 (13:01 +0200)]
showfile: adapt to recent sphinx

3 years agoTutorial: A word about those nasty tesh files that you have in the examples
Martin Quinson [Sat, 12 Sep 2020 14:44:26 +0000 (16:44 +0200)]
Tutorial: A word about those nasty tesh files that you have in the examples

3 years agons3: inline 2 more functions
Martin Quinson [Tue, 1 Sep 2020 12:33:48 +0000 (14:33 +0200)]
ns3: inline 2 more functions

3 years agoImprove substitutions for smpi scripts (fix #346).
Arnaud Giersch [Tue, 1 Sep 2020 19:44:21 +0000 (21:44 +0200)]
Improve substitutions for smpi scripts (fix #346).

3 years agons3: mark some bits of the implem as private
Martin Quinson [Mon, 31 Aug 2020 21:37:00 +0000 (23:37 +0200)]
ns3: mark some bits of the implem as private

3 years agons3: get ride of the node_num field, that was only used to obfuscate the debug messages
Martin Quinson [Mon, 31 Aug 2020 20:48:58 +0000 (22:48 +0200)]
ns3: get ride of the node_num field, that was only used to obfuscate the debug messages

This forced my to change the signature of ns3_add_direct_route() to
take routing::NetPoint instead of NetPointNS3, to use get_cname() on it.

Also, in a cluster, I had to connect the private link of each host to
the actual router of the cluster instead of to a fantom netpoint. But
this seems to be a greater good, actually.

3 years agons3: get ride of the IPV4addr global vector
Martin Quinson [Mon, 31 Aug 2020 20:36:54 +0000 (22:36 +0200)]
ns3: get ride of the IPV4addr global vector

3 years agons3: get ride of the interfaces global
Martin Quinson [Mon, 31 Aug 2020 20:28:55 +0000 (22:28 +0200)]
ns3: get ride of the interfaces global