Frederic Suter [Thu, 19 Mar 2020 15:23:27 +0000 (16:23 +0100)]
cleanups
Augustin Degomme [Thu, 19 Mar 2020 14:56:44 +0000 (15:56 +0100)]
add libssh2 to exclusions to please manjaro
Frederic Suter [Thu, 19 Mar 2020 14:26:03 +0000 (15:26 +0100)]
convert and massevely rewrite app-bittorrent
Frederic Suter [Thu, 19 Mar 2020 13:20:10 +0000 (14:20 +0100)]
wrong order
Frederic Suter [Wed, 18 Mar 2020 15:04:08 +0000 (16:04 +0100)]
please sonar with a few const
Augustin Degomme [Thu, 19 Mar 2020 08:28:27 +0000 (09:28 +0100)]
switch to xml report
Augustin Degomme [Wed, 18 Mar 2020 21:45:03 +0000 (22:45 +0100)]
set full html
Augustin Degomme [Wed, 18 Mar 2020 21:43:56 +0000 (22:43 +0100)]
exclude plenty of things
Martin Quinson [Wed, 18 Mar 2020 21:35:50 +0000 (22:35 +0100)]
PVS: don't survive malloc returning NULL
Augustin Degomme [Wed, 18 Mar 2020 20:51:55 +0000 (21:51 +0100)]
add pvs-studio analyze to coverage build
Frederic Suter [Mon, 16 Mar 2020 10:20:36 +0000 (11:20 +0100)]
plug leaks
Frederic Suter [Mon, 16 Mar 2020 10:20:00 +0000 (11:20 +0100)]
add sg_comm_unref
Frederic Suter [Mon, 16 Mar 2020 08:27:25 +0000 (09:27 +0100)]
convert (and simplify a bit) dht-kademlia example
Frederic Suter [Mon, 16 Mar 2020 08:26:46 +0000 (09:26 +0100)]
add sg_mailbox_put_init
Frederic Suter [Mon, 16 Mar 2020 08:26:21 +0000 (09:26 +0100)]
add sg_comm_detach with cleaning function
Arnaud Giersch [Thu, 12 Mar 2020 15:29:21 +0000 (16:29 +0100)]
Cosmetic rename.
Arnaud Giersch [Thu, 12 Mar 2020 13:41:33 +0000 (14:41 +0100)]
Two tests are fixed.
Contributes to simgrid/simgrid#47.
Arnaud Giersch [Thu, 12 Mar 2020 13:34:46 +0000 (14:34 +0100)]
Register ExecImpls with ActorImpl.
This allows to cancel running exec e.g., when an actor is killed.
Arnaud Giersch [Wed, 11 Mar 2020 23:01:01 +0000 (00:01 +0100)]
Rename ActorImpl::comms into activities.
Frederic Suter [Thu, 12 Mar 2020 09:28:58 +0000 (10:28 +0100)]
convert msg/app-masterworker
Frederic Suter [Thu, 12 Mar 2020 09:19:14 +0000 (10:19 +0100)]
do not rely on deployment file
Martin Quinson [Wed, 11 Mar 2020 23:06:22 +0000 (00:06 +0100)]
Fix link_energy plugin for wifi links
The patch was provided by @klementc on github, but I rewrote it to fix
the indentations.
Closes https://github.com/simgrid/simgrid/pull/337
Arnaud Giersch [Wed, 11 Mar 2020 09:05:42 +0000 (10:05 +0100)]
Cosmetics.
Frederic Suter [Wed, 11 Mar 2020 09:17:55 +0000 (10:17 +0100)]
deprecate a dynar based function
Arnaud Giersch [Tue, 10 Mar 2020 16:48:02 +0000 (17:48 +0100)]
MANIFEST.in
Frederic Suter [Tue, 10 Mar 2020 16:20:32 +0000 (17:20 +0100)]
bummer
Frederic Suter [Tue, 10 Mar 2020 15:03:20 +0000 (16:03 +0100)]
rahh it was called from within an example code. damnit
Frederic Suter [Tue, 10 Mar 2020 13:52:14 +0000 (14:52 +0100)]
less test this example afterall
Frederic Suter [Tue, 10 Mar 2020 13:29:14 +0000 (14:29 +0100)]
remove deprecated simdag/properties example
superseded by examples/s4u/platform-properties
Frederic Suter [Tue, 10 Mar 2020 13:24:09 +0000 (14:24 +0100)]
convert, simplify, and disable mc-electric-fence
Frederic Suter [Tue, 10 Mar 2020 11:41:00 +0000 (12:41 +0100)]
forgot that one
Frederic Suter [Tue, 10 Mar 2020 11:27:41 +0000 (12:27 +0100)]
convert platform-properties
Frederic Suter [Tue, 10 Mar 2020 10:47:17 +0000 (11:47 +0100)]
document 2 more C examples
Arnaud Giersch [Tue, 10 Mar 2020 10:40:19 +0000 (11:40 +0100)]
Disable raw contexts for x32 ABI.
Frederic Suter [Tue, 10 Mar 2020 10:34:55 +0000 (11:34 +0100)]
fix (thx agier)
Frederic Suter [Tue, 10 Mar 2020 09:27:43 +0000 (10:27 +0100)]
do not talk about tasks anymore
Frederic Suter [Tue, 10 Mar 2020 08:52:42 +0000 (09:52 +0100)]
Do not call actors processes in S4U examples
Frederic Suter [Tue, 10 Mar 2020 08:02:18 +0000 (09:02 +0100)]
convert cloud-masterworker
Arnaud Giersch [Mon, 9 Mar 2020 13:43:22 +0000 (14:43 +0100)]
Align sg_exec_wait* with sg_comm_wait*.
Arnaud Giersch [Mon, 9 Mar 2020 12:16:23 +0000 (13:16 +0100)]
Fix more sg_comm_wait*.
See previous commit (
e6c7c7f70ce19960b65ab45a14fb65f0fd17c181).
Arnaud Giersch [Mon, 9 Mar 2020 11:00:33 +0000 (12:00 +0100)]
Use a smart pointer for RAII.
wait_for() may be interrupted (in case of platform failure) and unref() never called.
Arnaud Giersch [Mon, 9 Mar 2020 10:35:07 +0000 (11:35 +0100)]
Plug a mem leak.
Arnaud Giersch [Mon, 9 Mar 2020 10:32:59 +0000 (11:32 +0100)]
Cosmetics: reduce scope for variables.
Frederic Suter [Mon, 9 Mar 2020 08:59:52 +0000 (09:59 +0100)]
plug leak and use string
Arnaud Giersch [Mon, 9 Mar 2020 08:53:11 +0000 (09:53 +0100)]
More const.
Arnaud Giersch [Sun, 8 Mar 2020 18:10:33 +0000 (19:10 +0100)]
Check argc.
Arnaud Giersch [Sat, 7 Mar 2020 12:53:18 +0000 (13:53 +0100)]
Move declaration, and keep #include at th top of the file (sonar).
Arnaud Giersch [Fri, 6 Mar 2020 20:25:51 +0000 (21:25 +0100)]
Mark unused parameters.
Arnaud Giersch [Fri, 6 Mar 2020 15:05:04 +0000 (16:05 +0100)]
Context::get_actor() has become const.
Arnaud Giersch [Fri, 6 Mar 2020 14:51:03 +0000 (15:51 +0100)]
Please sonar.
Since PTH_STACKGROWPTH if a compile-time constant, it warned for:
- "code will never be executed", and
- "identical sub-expressions on both sides of operator '=='"
Frederic Suter [Sun, 8 Mar 2020 18:45:03 +0000 (19:45 +0100)]
fix ns3
Frederic Suter [Sun, 8 Mar 2020 17:28:55 +0000 (18:28 +0100)]
convert and simplify network-ns3 example
Frederic Suter [Sun, 8 Mar 2020 14:17:15 +0000 (15:17 +0100)]
convert another MSG test
Frederic Suter [Sun, 8 Mar 2020 12:58:23 +0000 (13:58 +0100)]
remove test
superseded by exec-async and exec-ptask
Frederic Suter [Sun, 8 Mar 2020 12:42:11 +0000 (13:42 +0100)]
these are not c++ tests
Frederic Suter [Sun, 8 Mar 2020 12:10:24 +0000 (13:10 +0100)]
convert trace-integration test
Frederic Suter [Sat, 7 Mar 2020 14:46:44 +0000 (15:46 +0100)]
convert platform-failures
Frederic Suter [Sat, 7 Mar 2020 13:32:52 +0000 (14:32 +0100)]
C version of exec-waitany
Frederic Suter [Sat, 7 Mar 2020 13:30:10 +0000 (14:30 +0100)]
if wait_any_for timeouts, unref remaining pending comms
Frederic Suter [Sat, 7 Mar 2020 13:26:16 +0000 (14:26 +0100)]
more sg_exec functions
Frederic Suter [Sat, 7 Mar 2020 13:25:44 +0000 (14:25 +0100)]
useless call
Martin Quinson [Sat, 7 Mar 2020 12:47:25 +0000 (13:47 +0100)]
cmake: add a comment for the future developers (ie, for us)
Martin Quinson [Fri, 6 Mar 2020 22:45:30 +0000 (23:45 +0100)]
nevrotic cosmetics: alphabetical order in option listing, and uniform link target naming
Augustin Degomme [Fri, 6 Mar 2020 16:28:21 +0000 (17:28 +0100)]
yes, I'm not testing before pushing
Frederic Suter [Fri, 6 Mar 2020 16:23:41 +0000 (17:23 +0100)]
add C version of exec-async
Frederic Suter [Fri, 6 Mar 2020 16:22:52 +0000 (17:22 +0100)]
couple of new sg_exec_* functions
Frederic Suter [Fri, 6 Mar 2020 12:26:00 +0000 (13:26 +0100)]
this is examples/c/exec-basic
Augustin Degomme [Fri, 6 Mar 2020 16:24:18 +0000 (17:24 +0100)]
requalify some teshes
Augustin Degomme [Fri, 6 Mar 2020 14:30:40 +0000 (15:30 +0100)]
update doc
Augustin Degomme [Fri, 6 Mar 2020 14:15:26 +0000 (15:15 +0100)]
typo--
Augustin Degomme [Fri, 6 Mar 2020 13:56:41 +0000 (14:56 +0100)]
Update changelog for loopback changes.
I did set this as important, but we might move it if it's not.
Augustin Degomme [Fri, 6 Mar 2020 13:55:26 +0000 (14:55 +0100)]
Fix shared seek when using something else than MPI_SEEK_SET
Augustin Degomme [Fri, 6 Mar 2020 13:54:22 +0000 (14:54 +0100)]
fix io-shared test, which was just a little bit too non deterministic.
Some pocesses could enter the seek_shared call before other entered the previous write_shared, changing the shared pointer value under their feet. Or not.
Augustin Degomme [Fri, 6 Mar 2020 13:08:43 +0000 (14:08 +0100)]
disable SMPI/IO shared test pending investigation.
While changing loopback values might have changed this non deterministic test, its behaviour is oddly suspicious and probably buggy.
Augustin Degomme [Fri, 6 Mar 2020 13:07:26 +0000 (14:07 +0100)]
requalify tesh to account for default value change for loopback link
Augustin Degomme [Fri, 6 Mar 2020 11:08:29 +0000 (12:08 +0100)]
Add an option to alter the default hidden and poorly performing loopback link in some models
Frederic Suter [Fri, 6 Mar 2020 12:01:45 +0000 (13:01 +0100)]
handle (some) exceptions for Comm and Exec in C
Frederic Suter [Fri, 6 Mar 2020 08:50:18 +0000 (09:50 +0100)]
add C version of actor-stacksize example
Frederic Suter [Fri, 6 Mar 2020 08:49:24 +0000 (09:49 +0100)]
add C version of Actor::set_stacksize
Martin Quinson [Thu, 5 Mar 2020 11:08:39 +0000 (12:08 +0100)]
gitlab-ci: 'pages' waits only for 'ctest' again: 'pip' builds its stuff to some weird location
Not a raw revert of the previous change because it still uses needs:
instead of dependencies:
Martin Quinson [Thu, 5 Mar 2020 10:54:57 +0000 (11:54 +0100)]
fix the execution of the bittorrent example
Martin Quinson [Thu, 5 Mar 2020 10:50:29 +0000 (11:50 +0100)]
gitlab-ci: pages only waits for the pip build, to speed things up
- This way, the pages can be built before the tests are run
Martin Quinson [Thu, 5 Mar 2020 10:41:48 +0000 (11:41 +0100)]
fix make distcheck and pip builds, again
Martin Quinson [Thu, 5 Mar 2020 10:24:35 +0000 (11:24 +0100)]
forgot to document this new example :)
Martin Quinson [Thu, 5 Mar 2020 10:18:39 +0000 (11:18 +0100)]
cmake: also factorize the multi-files examples
Martin Quinson [Thu, 5 Mar 2020 09:53:49 +0000 (10:53 +0100)]
examples/s4u/CMakeLists.txt: Also factorize the mc tests with the others
Martin Quinson [Thu, 5 Mar 2020 09:39:08 +0000 (10:39 +0100)]
further factorize our cmake code to run the s4u examples
Martin Quinson [Thu, 5 Mar 2020 09:33:48 +0000 (10:33 +0100)]
move actor-stacksize from teshsuite to examples now that it's of some interest to the users
Martin Quinson [Thu, 5 Mar 2020 09:03:59 +0000 (10:03 +0100)]
allow to specify the stack size on a per-actor basis
Frederic Suter [Thu, 5 Mar 2020 09:03:22 +0000 (10:03 +0100)]
add C version of exec-remote
Frederic Suter [Thu, 5 Mar 2020 09:01:48 +0000 (10:01 +0100)]
add sg_exec_set_host
Frederic Suter [Wed, 4 Mar 2020 12:45:49 +0000 (13:45 +0100)]
remove redundant, old, and deprecated test
Martin Quinson [Thu, 5 Mar 2020 06:58:45 +0000 (07:58 +0100)]
sonar cleanups: pass large objects by const reference
Arnaud Giersch [Wed, 4 Mar 2020 20:47:42 +0000 (21:47 +0100)]
Closed GH#128.
Arnaud Giersch [Wed, 4 Mar 2020 13:22:16 +0000 (14:22 +0100)]
Remove unused lambda capture.
Arnaud Giersch [Wed, 4 Mar 2020 13:06:45 +0000 (14:06 +0100)]
Fix tesh file.
4e6 bytes at 100MBps read in 0.04s: it looks correct.
Arnaud Giersch [Tue, 3 Mar 2020 22:21:24 +0000 (23:21 +0100)]
Simcall again, when updating content in s4u::File::write_on_*.
Arnaud Giersch [Tue, 3 Mar 2020 22:13:14 +0000 (23:13 +0100)]
Use a simcall for s4u::File construction and destruction.
Arnaud Giersch [Tue, 3 Mar 2020 22:02:36 +0000 (23:02 +0100)]
Use a simcall to retrieve mounted storages.
For reproducibility concerns, make a simcall even when it's already cached.
Arnaud Giersch [Tue, 3 Mar 2020 21:31:25 +0000 (22:31 +0100)]
Modify object property in kernel mode.