Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoEnsure that the expected RNG (xbt) is used for unit-tests.
Arnaud Giersch [Fri, 23 Oct 2020 11:58:15 +0000 (13:58 +0200)]
Ensure that the expected RNG (xbt) is used for unit-tests.

Profile tests run through "./unit-tests --order rand" were sometimes failing.

3 years agoClose simgrid/simgrid!22 on Framagit.
Arnaud Giersch [Fri, 23 Oct 2020 11:34:33 +0000 (13:34 +0200)]
Close simgrid/simgrid!22 on Framagit.

(and minor related updates)

3 years agoMerge branch 'pikachuyann/simgrid-stoprofiles'
Arnaud Giersch [Fri, 23 Oct 2020 12:00:24 +0000 (14:00 +0200)]
Merge branch 'pikachuyann/simgrid-stoprofiles'

3 years agoUse consistent naming scheme.
Arnaud Giersch [Tue, 20 Oct 2020 19:23:04 +0000 (21:23 +0200)]
Use consistent naming scheme.

iface() becomes get_iface() for ActorImpl too.

3 years ago[sonar] Use template parameter.
Arnaud Giersch [Tue, 20 Oct 2020 19:10:06 +0000 (21:10 +0200)]
[sonar] Use template parameter.

3 years ago[codefactor.io] Trailing whitespaces.
Arnaud Giersch [Tue, 20 Oct 2020 10:00:22 +0000 (12:00 +0200)]
[codefactor.io] Trailing whitespaces.

3 years agoNow is still not in the past.
Arnaud Giersch [Tue, 20 Oct 2020 09:51:29 +0000 (11:51 +0200)]
Now is still not in the past.

Fix simgrid/simgrid#52

3 years agoFix format for tiny double values in --help.
Arnaud Giersch [Tue, 20 Oct 2020 09:12:27 +0000 (11:12 +0200)]
Fix format for tiny double values in --help.

3 years agofree jenkins builds from the bounds of /builds.
Augustin Degomme [Mon, 19 Oct 2020 13:24:04 +0000 (15:24 +0200)]
free jenkins builds from the bounds of /builds.
new install path is $HOME/simgrid_install

3 years agoDon't fail early.
Arnaud Giersch [Mon, 19 Oct 2020 13:21:48 +0000 (15:21 +0200)]
Don't fail early.

3 years agoCorrect a few a/an.
Arnaud Giersch [Mon, 19 Oct 2020 12:00:27 +0000 (14:00 +0200)]
Correct a few a/an.

3 years agoMove fucntion call out of xbt_assert.
Arnaud Giersch [Mon, 19 Oct 2020 11:45:59 +0000 (13:45 +0200)]
Move fucntion call out of xbt_assert.

3 years agoTypos.
Arnaud Giersch [Mon, 19 Oct 2020 11:42:20 +0000 (13:42 +0200)]
Typos.

3 years ago[codefactor] Blank line is redundant.
Arnaud Giersch [Mon, 19 Oct 2020 11:40:36 +0000 (13:40 +0200)]
[codefactor]  Blank line is redundant.

3 years agoCosmetics in the ns3 teshsuite
Martin Quinson [Sun, 18 Oct 2020 00:25:10 +0000 (02:25 +0200)]
Cosmetics in the ns3 teshsuite

3 years agons3: ensure that sending from an host to itself does not segfault
Martin Quinson [Sun, 18 Oct 2020 00:04:00 +0000 (02:04 +0200)]
ns3: ensure that sending from an host to itself does not segfault

Also add a word in the doc about how we deal with this border case,
and a little test case.

3 years agofix a memleak
Martin Quinson [Sat, 17 Oct 2020 23:59:50 +0000 (01:59 +0200)]
fix a memleak

3 years agoSort entries.
Arnaud Giersch [Sat, 17 Oct 2020 21:17:11 +0000 (23:17 +0200)]
Sort entries.

3 years agoTry to reduce requirements about C++ standard for smpicxx.
Arnaud Giersch [Sat, 17 Oct 2020 21:10:36 +0000 (23:10 +0200)]
Try to reduce requirements about C++ standard for smpicxx.

3 years agoAvoid buffer overflow.
Arnaud Giersch [Sat, 17 Oct 2020 20:51:07 +0000 (22:51 +0200)]
Avoid buffer overflow.

3 years agoMissing include.
Arnaud Giersch [Sat, 17 Oct 2020 20:42:24 +0000 (22:42 +0200)]
Missing include.

3 years agoFix another typo
Martin Quinson [Sat, 17 Oct 2020 20:36:44 +0000 (22:36 +0200)]
Fix another typo

3 years agoDocument a recent change
Martin Quinson [Sat, 17 Oct 2020 20:34:16 +0000 (22:34 +0200)]
Document a recent change

3 years agotiny cleanups in platform examples
Martin Quinson [Sat, 17 Oct 2020 20:27:56 +0000 (22:27 +0200)]
tiny cleanups in platform examples

3 years agoDon't include <xbt/functional.hpp> when it's not needed.
Arnaud Giersch [Sat, 17 Oct 2020 19:34:15 +0000 (21:34 +0200)]
Don't include <xbt/functional.hpp> when it's not needed.

This aims to reduce the need for C++14 in user codes.

3 years agoTypo.
Arnaud Giersch [Sat, 17 Oct 2020 18:47:38 +0000 (20:47 +0200)]
Typo.

Reported in https://github.com/simgrid/simgrid/issues/348.

3 years agoNested code block is useless.
Arnaud Giersch [Sat, 17 Oct 2020 12:03:54 +0000 (14:03 +0200)]
Nested code block is useless.

3 years agoMANIFEST.in once again.
Arnaud Giersch [Sat, 17 Oct 2020 11:54:41 +0000 (13:54 +0200)]
MANIFEST.in once again.

3 years agoMerge branch 'test-condvar-wait_until' into 'master'
Augustin Degomme [Fri, 16 Oct 2020 23:13:45 +0000 (01:13 +0200)]
Merge branch 'test-condvar-wait_until' into 'master'

test condition variable wait_until+notify_all

See merge request simgrid/simgrid!44

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