Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agotest condition variable wait_until+notify_all
Millian Poquet [Fri, 16 Oct 2020 23:01:28 +0000 (01:01 +0200)]
test condition variable wait_until+notify_all

3 years agoKeep the right definition for type_names[].
Arnaud Giersch [Fri, 16 Oct 2020 21:11:41 +0000 (23:11 +0200)]
Keep the right definition for type_names[].

3 years agoCosmetics.
Arnaud Giersch [Fri, 16 Oct 2020 21:11:26 +0000 (23:11 +0200)]
Cosmetics.

3 years agoUse std::array and reduce scope for constant.
Arnaud Giersch [Fri, 16 Oct 2020 20:02:10 +0000 (22:02 +0200)]
Use std::array and reduce scope for constant.

3 years agoMake static stuff member of class Replayer.
Arnaud Giersch [Fri, 16 Oct 2020 19:49:06 +0000 (21:49 +0200)]
Make static stuff member of class Replayer.

3 years agoMake global variables const.
Arnaud Giersch [Fri, 16 Oct 2020 19:48:33 +0000 (21:48 +0200)]
Make global variables const.

3 years agoFix indentation.
Arnaud Giersch [Fri, 16 Oct 2020 08:32:56 +0000 (10:32 +0200)]
Fix indentation.

3 years agoForgotten guard.
Arnaud Giersch [Fri, 16 Oct 2020 07:36:55 +0000 (09:36 +0200)]
Forgotten guard.

3 years agoConst.
Arnaud Giersch [Fri, 16 Oct 2020 07:11:41 +0000 (09:11 +0200)]
Const.

3 years agoMove global variables to class Context.
Arnaud Giersch [Fri, 16 Oct 2020 06:52:20 +0000 (08:52 +0200)]
Move global variables to class Context.

3 years agoMove global variables to class Container.
Arnaud Giersch [Fri, 16 Oct 2020 06:30:28 +0000 (08:30 +0200)]
Move global variables to class Container.

3 years agoPlug memleak.
Arnaud Giersch [Thu, 15 Oct 2020 13:54:35 +0000 (15:54 +0200)]
Plug memleak.

3 years agoRewrite in a simpler manner.
Arnaud Giersch [Thu, 15 Oct 2020 12:45:42 +0000 (14:45 +0200)]
Rewrite in a simpler manner.

3 years agoMore char* -> std::string conversions.
Arnaud Giersch [Thu, 15 Oct 2020 12:18:54 +0000 (14:18 +0200)]
More char* -> std::string conversions.

3 years agoDefinitely remove deprecated stuff in private area.
Arnaud Giersch [Thu, 15 Oct 2020 12:02:14 +0000 (14:02 +0200)]
Definitely remove deprecated stuff in private area.

3 years agoConstify a parameter, fix name for another, and simplify code.
Arnaud Giersch [Thu, 15 Oct 2020 09:41:28 +0000 (11:41 +0200)]
Constify a parameter, fix name for another, and simplify code.

3 years ago[sonar] Replace some C-style arrays.
Arnaud Giersch [Wed, 14 Oct 2020 20:58:29 +0000 (22:58 +0200)]
[sonar] Replace some C-style arrays.

3 years agommalloc: cosmetics in an error message
Martin Quinson [Thu, 15 Oct 2020 06:54:36 +0000 (08:54 +0200)]
mmalloc: cosmetics in an error message

3 years agoCosmetics.
Arnaud Giersch [Wed, 14 Oct 2020 15:29:56 +0000 (17:29 +0200)]
Cosmetics.

Better than: if ((variable == true) != false) ...

3 years agoDrop unused parameters.
Arnaud Giersch [Wed, 14 Oct 2020 15:17:23 +0000 (17:17 +0200)]
Drop unused parameters.

3 years agoRevert "move fort_args test to a "fort args" folder, with a space"
Augustin Degomme [Tue, 13 Oct 2020 14:38:35 +0000 (16:38 +0200)]
Revert "move fort_args test to a "fort args" folder, with a space"

This reverts commit 3561c727ad711b8b1406e9f5a6f8d6390577f1e1.

3 years agoRevert "try to help cmake on freebsd"
Augustin Degomme [Tue, 13 Oct 2020 14:38:27 +0000 (16:38 +0200)]
Revert "try to help cmake on freebsd"

This reverts commit b449054b620aa87a5157d5f7e68e986dab3a25a2.

3 years agoRevert "Try to help for freebsd and paths. Thanks Matthieu Volat for the hints."
Augustin Degomme [Tue, 13 Oct 2020 14:38:02 +0000 (16:38 +0200)]
Revert "Try to help for freebsd and paths. Thanks Matthieu Volat for the hints."

This reverts commit 754ac435fbfe7234c539b500f49bba18241fcdb5.

3 years agoEnsure type > 0.
Arnaud Giersch [Tue, 13 Oct 2020 14:56:27 +0000 (16:56 +0200)]
Ensure type > 0.

3 years agoReduce scope for variables.
Arnaud Giersch [Tue, 13 Oct 2020 14:51:16 +0000 (16:51 +0200)]
Reduce scope for variables.

3 years ago"s < 0" is always true here.
Arnaud Giersch [Tue, 13 Oct 2020 14:48:49 +0000 (16:48 +0200)]
"s < 0" is always true here.

3 years agoDelete unused ctor.
Arnaud Giersch [Tue, 13 Oct 2020 14:34:33 +0000 (16:34 +0200)]
Delete unused ctor.

If it were used, private variables may be uninitialized.

3 years agoTry to help for freebsd and paths. Thanks Matthieu Volat for the hints.
Augustin Degomme [Tue, 13 Oct 2020 12:05:22 +0000 (14:05 +0200)]
Try to help for freebsd and paths. Thanks Matthieu Volat for the hints.
This does not mean simgrid can be compiled/installed in a directory with spaces in the path (still a lot of things to fix in cmakelists.txt for that).
But user's codes might work when calling smpi** scripts from directories with spaces.

3 years agopopping_enum.h becomes an hpp.
Arnaud Giersch [Tue, 13 Oct 2020 09:48:41 +0000 (11:48 +0200)]
popping_enum.h becomes an hpp.

3 years agoconst again
Arnaud Giersch [Tue, 13 Oct 2020 09:22:48 +0000 (11:22 +0200)]
const again

3 years agoRemove useless type aliases.
Arnaud Giersch [Tue, 13 Oct 2020 09:22:29 +0000 (11:22 +0200)]
Remove useless type aliases.

3 years agoFix MANIFEST.in.
Arnaud Giersch [Mon, 12 Oct 2020 07:39:54 +0000 (09:39 +0200)]
Fix MANIFEST.in.

3 years agoProtect spaces in path.
Arnaud Giersch [Mon, 12 Oct 2020 07:37:58 +0000 (09:37 +0200)]
Protect spaces in path.

3 years ago[sonar] Make parameter a pointer-to-const.
Arnaud Giersch [Mon, 12 Oct 2020 07:35:00 +0000 (09:35 +0200)]
[sonar] Make parameter a pointer-to-const.

3 years agons3: Improve a debug message [Mahesh Ketkar]
Martin Quinson [Sun, 11 Oct 2020 23:25:19 +0000 (01:25 +0200)]
ns3: Improve a debug message [Mahesh Ketkar]

3 years agons3: live with the fact that sometimes finished_ becomes true with remains is still >0
Martin Quinson [Sun, 11 Oct 2020 23:19:55 +0000 (01:19 +0200)]
ns3: live with the fact that sometimes finished_ becomes true with remains is still >0

Thanks to Mahesh C Ketkar.

3 years agoDon't display strings with %p [Mahesh Ketkar]
Martin Quinson [Sun, 11 Oct 2020 23:06:58 +0000 (01:06 +0200)]
Don't display strings with %p [Mahesh Ketkar]

3 years agotry to help cmake on freebsd
Augustin Degomme [Mon, 12 Oct 2020 06:19:09 +0000 (08:19 +0200)]
try to help cmake on freebsd

3 years agomove fort_args test to a "fort args" folder, with a space
Augustin Degomme [Sun, 11 Oct 2020 23:14:10 +0000 (01:14 +0200)]
move fort_args test to a "fort args" folder, with a space
This is an attempt to see if https://gforge.inria.fr/tracker/index.php?func=detail&aid=16626&group_id=12&atid=165 is fixed or not.

3 years agoFinish this plugin rename to make the tests pass again
Martin Quinson [Sun, 11 Oct 2020 22:35:28 +0000 (00:35 +0200)]
Finish this plugin rename to make the tests pass again

3 years agoProposal for a NEWS file
Martin Quinson [Sun, 11 Oct 2020 22:25:34 +0000 (00:25 +0200)]
Proposal for a NEWS file

3 years agoAnother tiny improvement to the ChangeLog
Martin Quinson [Sun, 11 Oct 2020 22:15:19 +0000 (00:15 +0200)]
Another tiny improvement to the ChangeLog

3 years agoDocument some plugins
Martin Quinson [Sun, 11 Oct 2020 22:12:15 +0000 (00:12 +0200)]
Document some plugins

3 years agoRename that C example for consistency with C++
Martin Quinson [Sun, 11 Oct 2020 22:07:06 +0000 (00:07 +0200)]
Rename that C example for consistency with C++

3 years agoImprove the ChangeLog
Martin Quinson [Sun, 11 Oct 2020 22:00:52 +0000 (00:00 +0200)]
Improve the ChangeLog

3 years agoMore const.
Arnaud Giersch [Sun, 11 Oct 2020 20:58:23 +0000 (22:58 +0200)]
More const.

3 years ago[sonar] Constructors of an "abstract" class should not be "public".
Arnaud Giersch [Sun, 11 Oct 2020 20:14:36 +0000 (22:14 +0200)]
[sonar] Constructors of an "abstract" class should not be "public".

3 years agoFunctions are currenlty not overridden.
Arnaud Giersch [Sun, 11 Oct 2020 20:10:39 +0000 (22:10 +0200)]
Functions are currenlty not overridden.

3 years agoConst get_bandwidth() and get_latency().
Arnaud Giersch [Sun, 11 Oct 2020 20:06:54 +0000 (22:06 +0200)]
Const get_bandwidth() and get_latency().

3 years agoDefine const is_used().
Arnaud Giersch [Sun, 11 Oct 2020 19:54:24 +0000 (21:54 +0200)]
Define const is_used().

3 years agoFew more auto's.
Arnaud Giersch [Sun, 11 Oct 2020 19:41:10 +0000 (21:41 +0200)]
Few more auto's.

3 years agoConst in network_wifi and link_energy_wifi.
Arnaud Giersch [Sun, 11 Oct 2020 19:37:12 +0000 (21:37 +0200)]
Const in network_wifi and link_energy_wifi.

3 years agoDefine const get_sharing_policy().
Arnaud Giersch [Sun, 11 Oct 2020 19:15:12 +0000 (21:15 +0200)]
Define const get_sharing_policy().

3 years agoDefine const get_iface().
Arnaud Giersch [Sun, 11 Oct 2020 19:12:14 +0000 (21:12 +0200)]
Define const get_iface().

3 years agoRoute is not empty (already verified by xbt_assert).
Arnaud Giersch [Sun, 11 Oct 2020 19:25:53 +0000 (21:25 +0200)]
Route is not empty (already verified by xbt_assert).

3 years agoDon't lookup twice.
Arnaud Giersch [Sun, 11 Oct 2020 19:05:51 +0000 (21:05 +0200)]
Don't lookup twice.

3 years agoMake expression clear.
Arnaud Giersch [Sun, 11 Oct 2020 18:48:51 +0000 (20:48 +0200)]
Make expression clear.

3 years agoUnused parameter.
Arnaud Giersch [Sun, 11 Oct 2020 08:52:19 +0000 (10:52 +0200)]
Unused parameter.

3 years ago.mailmap++
Arnaud Giersch [Sat, 10 Oct 2020 19:34:43 +0000 (21:34 +0200)]
.mailmap++

3 years agoWhitespace cleanup (for codefactor.io).
Arnaud Giersch [Sat, 10 Oct 2020 13:05:52 +0000 (15:05 +0200)]
Whitespace cleanup (for codefactor.io).

3 years agoMerge branch 'master' into 'master'
Arnaud Giersch [Sat, 10 Oct 2020 18:37:29 +0000 (20:37 +0200)]
Merge branch 'master' into 'master'

plugin link_load: fix name in SIMGRID_REGISTER_PLUGIN

See merge request simgrid/simgrid!43

3 years agoBetter attempt at fixing 32bits
Martin Quinson [Sat, 10 Oct 2020 16:12:40 +0000 (18:12 +0200)]
Better attempt at fixing 32bits

3 years agoplugin link_load: fix name in SIMGRID_REGISTER_PLUGIN
Julien EMMANUEL [Sat, 10 Oct 2020 15:41:35 +0000 (17:41 +0200)]
plugin link_load: fix name in SIMGRID_REGISTER_PLUGIN

3 years agoplugin link_load: tiny logic error (thanks clang for noticing)
Martin Quinson [Sat, 10 Oct 2020 15:12:18 +0000 (17:12 +0200)]
plugin link_load: tiny logic error (thanks clang for noticing)

3 years agoFix build on 32bits
Martin Quinson [Sat, 10 Oct 2020 15:10:34 +0000 (17:10 +0200)]
Fix build on 32bits

3 years agoRename the link load plugin for decency (and consistency)
Martin Quinson [Sat, 10 Oct 2020 14:14:32 +0000 (16:14 +0200)]
Rename the link load plugin for decency (and consistency)

3 years agoMake it clear in the doc that this example was extended to demo malleable tasks
Martin Quinson [Sat, 10 Oct 2020 14:00:11 +0000 (16:00 +0200)]
Make it clear in the doc that this example was extended to demo malleable tasks

3 years agoExtend the example on ptasks to demo malleable tasks' reconfiguration
Martin Quinson [Sat, 10 Oct 2020 13:55:17 +0000 (15:55 +0200)]
Extend the example on ptasks to demo malleable tasks' reconfiguration

3 years agofix a bug in an error message
Martin Quinson [Sat, 10 Oct 2020 13:52:35 +0000 (15:52 +0200)]
fix a bug in an error message

3 years agoUpdate ChangeLog.
Arnaud Giersch [Sat, 10 Oct 2020 12:14:53 +0000 (14:14 +0200)]
Update ChangeLog.

3 years agoMerge branch 'link-cumload-plugin' into 'master'
Arnaud Giersch [Sat, 10 Oct 2020 12:13:17 +0000 (14:13 +0200)]
Merge branch 'link-cumload-plugin' into 'master'

Link cumulated load plugin

See merge request simgrid/simgrid!42

3 years agooops: missing files in MANIFEST.in
Millian Poquet [Sat, 10 Oct 2020 11:45:16 +0000 (13:45 +0200)]
oops: missing files in MANIFEST.in

3 years agobasic test for plugin link_cumload
Millian Poquet [Fri, 9 Oct 2020 22:03:39 +0000 (00:03 +0200)]
basic test for plugin link_cumload

3 years agointroduce new plugin: link_cumload
Millian Poquet [Fri, 9 Oct 2020 22:00:46 +0000 (00:00 +0200)]
introduce new plugin: link_cumload

This is the link cumulated load plugin.
It enables to monitor how links are used over time,
by cumulating the amount of bytes that go through the link.
The link's counters can be reset at any time by calling the proper function.

More information in the plugin's doxydoc (in src/plugins/link_cumload.cpp).

3 years agoDisable LTO on travis/osx (timeouts).
Arnaud Giersch [Sat, 10 Oct 2020 08:00:34 +0000 (10:00 +0200)]
Disable LTO on travis/osx (timeouts).

3 years agoSonar smells.
Arnaud Giersch [Fri, 9 Oct 2020 20:26:18 +0000 (22:26 +0200)]
Sonar smells.

3 years agoUpdate .mailmap.
Arnaud Giersch [Fri, 9 Oct 2020 19:49:06 +0000 (21:49 +0200)]
Update .mailmap.

3 years agodoc: broken import of this_actor::parallel_execute
Martin Quinson [Fri, 9 Oct 2020 20:23:01 +0000 (22:23 +0200)]
doc: broken import of this_actor::parallel_execute

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