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.
Arnaud Giersch [Wed, 4 Mar 2020 12:38:15 +0000 (13:38 +0100)]
Clean surf_action on IoImpl::post.
Arnaud Giersch [Tue, 3 Mar 2020 22:27:47 +0000 (23:27 +0100)]
Duplicate assert (taken from FileSystemDiskExt::parse_content).
Frederic Suter [Wed, 4 Mar 2020 12:38:25 +0000 (13:38 +0100)]
update doc
Frederic Suter [Wed, 4 Mar 2020 12:35:13 +0000 (13:35 +0100)]
add C version of exec-basic (including execute w/ priority)
Frederic Suter [Wed, 4 Mar 2020 12:29:57 +0000 (13:29 +0100)]
add sg_actor_execute_with_priority
Frederic Suter [Wed, 4 Mar 2020 12:15:28 +0000 (13:15 +0100)]
convert and simplify msg/process-lifetime
Frederic Suter [Wed, 4 Mar 2020 11:44:31 +0000 (12:44 +0100)]
introduce sg_actor_create and use it in C examples
may want to add a sg_actor_create_no_args?
Martin Quinson [Wed, 4 Mar 2020 11:24:07 +0000 (12:24 +0100)]
fix pip build
Martin Quinson [Wed, 4 Mar 2020 11:09:49 +0000 (12:09 +0100)]
pass large objects by const ref to please sonar
Martin Quinson [Wed, 4 Mar 2020 10:59:56 +0000 (11:59 +0100)]
use std::function instead of pointers to functions to please sonar
Martin Quinson [Tue, 3 Mar 2020 23:43:17 +0000 (00:43 +0100)]
convert another teshsuite/simix test into teshsuite/kernel (and fix it)
that test broke when I added the test for the context stacksize (the
tests are now more verbose)
Augustin Degomme [Tue, 3 Mar 2020 23:29:20 +0000 (00:29 +0100)]
avoid cmake warning
Martin Quinson [Tue, 3 Mar 2020 23:24:47 +0000 (00:24 +0100)]
fix make distcheck, but the definition of this target (not its configuration), this time
I suspect that this broke when we low-cased the project name somehow,
but I fail to really understand the breakage. Anyway, it's fixed now.
Martin Quinson [Tue, 3 Mar 2020 23:11:02 +0000 (00:11 +0100)]
fix make dist, as usual
Martin Quinson [Tue, 3 Mar 2020 22:54:55 +0000 (23:54 +0100)]
close gforge bug 18137 (allow different stack sizes): that was possible since years, actually
Martin Quinson [Tue, 3 Mar 2020 22:43:20 +0000 (23:43 +0100)]
docs/find-missing: adapt to the fact that ExecPar and ExecSeq don't exist anymore
Martin Quinson [Tue, 3 Mar 2020 22:40:32 +0000 (23:40 +0100)]
Allow to set configuration items without parsing the value
Also in documentation: publicize the fact that our actor should not
return any value (expected return type: void) and hide the legacy
prototype with expected return type: int.
Martin Quinson [Tue, 3 Mar 2020 22:04:45 +0000 (23:04 +0100)]
doc: fix a code snippet
Augustin Degomme [Tue, 3 Mar 2020 12:53:37 +0000 (13:53 +0100)]
give up 3.8 for now.
Even setting the system path or pythonpath correctly does not fix the issue, I will try to debug on a live windows system.
Martin Quinson [Tue, 3 Mar 2020 08:08:01 +0000 (09:08 +0100)]
die verbosely when the content of a filesystem is not found, instead of an infinite loop
Martin Quinson [Mon, 2 Mar 2020 22:54:11 +0000 (23:54 +0100)]
gitlab-ci: avoid recompiling the lib in 'pages' stage
use the one from the 'ctest' stage instead. What we really need here
is the python module for autodoc to work.
Martin Quinson [Mon, 2 Mar 2020 17:27:08 +0000 (18:27 +0100)]
fix dead links in the doc
Augustin Degomme [Mon, 2 Mar 2020 13:27:19 +0000 (14:27 +0100)]
New attempt
Augustin Degomme [Mon, 2 Mar 2020 12:35:41 +0000 (13:35 +0100)]
Try to add simgrid path to the global system path, as python >=3.8 on windows now ignores user level paths.
see https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
Augustin Degomme [Mon, 2 Mar 2020 10:52:54 +0000 (11:52 +0100)]
Yuck.
Augustin Degomme [Mon, 2 Mar 2020 10:26:27 +0000 (11:26 +0100)]
Bump system for appveyor (windows server 2012->2019).
Flying a bit blind as their documentation about what is currently installed (mingw) is missing some information.
Martin Quinson [Mon, 2 Mar 2020 08:03:52 +0000 (09:03 +0100)]
Note in SMPI introduction that ns-3 could be used as a model here too
Closes https://github.com/simgrid/simgrid/issues/336
Arnaud Giersch [Sun, 1 Mar 2020 13:49:47 +0000 (14:49 +0100)]
Kill unused member "name_".
Arnaud Giersch [Sun, 1 Mar 2020 13:38:42 +0000 (14:38 +0100)]
Cosmetics: one typo, and fix alignment.
Arnaud Giersch [Sun, 1 Mar 2020 13:34:03 +0000 (14:34 +0100)]
Closed isssue.
Arnaud Giersch [Sun, 1 Mar 2020 13:25:21 +0000 (14:25 +0100)]
Merge branch 's_SimGrid_simgrid' into 'master'
Project name has changed from SimGrid to simgrid.
See merge request simgrid/simgrid!34
Arnaud Giersch [Fri, 28 Feb 2020 22:14:18 +0000 (23:14 +0100)]
Complete definition of exception's destructors in Exception.cpp.
See comment in file for rationale.
Hopefully fix test errors on new OSX jenkins slave.
Arnaud Giersch [Fri, 28 Feb 2020 15:55:48 +0000 (16:55 +0100)]
Inline empty ctor; use default dtor.
Augustin Degomme [Fri, 28 Feb 2020 16:38:26 +0000 (17:38 +0100)]
lld does not have -version, actually, but -v
Augustin Degomme [Fri, 28 Feb 2020 16:38:08 +0000 (17:38 +0100)]
When gfortran is used with llvm lld, it needs -ffat-lto-objects, as cmake forces -fno-fat-lto-objects