Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoRename ActorImpl::comms into activities.
Arnaud Giersch [Wed, 11 Mar 2020 23:01:01 +0000 (00:01 +0100)]
Rename ActorImpl::comms into activities.

4 years agoconvert msg/app-masterworker
Frederic Suter [Thu, 12 Mar 2020 09:28:58 +0000 (10:28 +0100)]
convert msg/app-masterworker

4 years agodo not rely on deployment file
Frederic Suter [Thu, 12 Mar 2020 09:19:14 +0000 (10:19 +0100)]
do not rely on deployment file

4 years agoFix link_energy plugin for wifi links
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

4 years agoCosmetics.
Arnaud Giersch [Wed, 11 Mar 2020 09:05:42 +0000 (10:05 +0100)]
Cosmetics.

4 years agodeprecate a dynar based function
Frederic Suter [Wed, 11 Mar 2020 09:17:55 +0000 (10:17 +0100)]
deprecate a dynar based function

4 years agoMANIFEST.in
Arnaud Giersch [Tue, 10 Mar 2020 16:48:02 +0000 (17:48 +0100)]
MANIFEST.in

4 years agobummer
Frederic Suter [Tue, 10 Mar 2020 16:20:32 +0000 (17:20 +0100)]
bummer

4 years agorahh it was called from within an example code. damnit
Frederic Suter [Tue, 10 Mar 2020 15:03:20 +0000 (16:03 +0100)]
rahh it was called from within an example code. damnit

4 years agoless test this example afterall
Frederic Suter [Tue, 10 Mar 2020 13:52:14 +0000 (14:52 +0100)]
less test this example afterall

4 years agoremove deprecated simdag/properties example
Frederic Suter [Tue, 10 Mar 2020 13:29:14 +0000 (14:29 +0100)]
remove deprecated simdag/properties example

superseded by examples/s4u/platform-properties

4 years agoconvert, simplify, and disable mc-electric-fence
Frederic Suter [Tue, 10 Mar 2020 13:24:09 +0000 (14:24 +0100)]
convert, simplify, and disable mc-electric-fence

4 years agoforgot that one
Frederic Suter [Tue, 10 Mar 2020 11:41:00 +0000 (12:41 +0100)]
forgot that one

4 years agoconvert platform-properties
Frederic Suter [Tue, 10 Mar 2020 11:27:41 +0000 (12:27 +0100)]
convert platform-properties

4 years agodocument 2 more C examples
Frederic Suter [Tue, 10 Mar 2020 10:47:17 +0000 (11:47 +0100)]
document 2 more C examples

4 years agoDisable raw contexts for x32 ABI.
Arnaud Giersch [Tue, 10 Mar 2020 10:40:19 +0000 (11:40 +0100)]
Disable raw contexts for x32 ABI.

4 years agofix (thx agier)
Frederic Suter [Tue, 10 Mar 2020 10:34:55 +0000 (11:34 +0100)]
fix (thx agier)

4 years agodo not talk about tasks anymore
Frederic Suter [Tue, 10 Mar 2020 09:27:43 +0000 (10:27 +0100)]
do not talk about tasks anymore

4 years agoDo not call actors processes in S4U examples
Frederic Suter [Tue, 10 Mar 2020 08:52:42 +0000 (09:52 +0100)]
Do not call actors processes in S4U examples

4 years agoconvert cloud-masterworker
Frederic Suter [Tue, 10 Mar 2020 08:02:18 +0000 (09:02 +0100)]
convert cloud-masterworker

4 years agoAlign sg_exec_wait* with sg_comm_wait*.
Arnaud Giersch [Mon, 9 Mar 2020 13:43:22 +0000 (14:43 +0100)]
Align sg_exec_wait* with sg_comm_wait*.

4 years agoFix more 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).

4 years agoUse a smart pointer for RAII.
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.

4 years agoPlug a mem leak.
Arnaud Giersch [Mon, 9 Mar 2020 10:35:07 +0000 (11:35 +0100)]
Plug a mem leak.

4 years agoCosmetics: reduce scope for variables.
Arnaud Giersch [Mon, 9 Mar 2020 10:32:59 +0000 (11:32 +0100)]
Cosmetics: reduce scope for variables.

4 years agoplug leak and use string
Frederic Suter [Mon, 9 Mar 2020 08:59:52 +0000 (09:59 +0100)]
plug leak and use string

4 years agoMore const.
Arnaud Giersch [Mon, 9 Mar 2020 08:53:11 +0000 (09:53 +0100)]
More const.

4 years agoCheck argc.
Arnaud Giersch [Sun, 8 Mar 2020 18:10:33 +0000 (19:10 +0100)]
Check argc.

4 years agoMove declaration, and keep #include at th top of the file (sonar).
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).

4 years agoMark unused parameters.
Arnaud Giersch [Fri, 6 Mar 2020 20:25:51 +0000 (21:25 +0100)]
Mark unused parameters.

4 years agoContext::get_actor() has become const.
Arnaud Giersch [Fri, 6 Mar 2020 15:05:04 +0000 (16:05 +0100)]
Context::get_actor() has become const.

4 years agoPlease sonar.
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 '=='"

4 years agofix ns3
Frederic Suter [Sun, 8 Mar 2020 18:45:03 +0000 (19:45 +0100)]
fix ns3

4 years agoconvert and simplify network-ns3 example
Frederic Suter [Sun, 8 Mar 2020 17:28:55 +0000 (18:28 +0100)]
convert and simplify network-ns3 example

4 years agoconvert another MSG test
Frederic Suter [Sun, 8 Mar 2020 14:17:15 +0000 (15:17 +0100)]
convert another MSG test

4 years agoremove test
Frederic Suter [Sun, 8 Mar 2020 12:58:23 +0000 (13:58 +0100)]
remove test
superseded by exec-async and exec-ptask

4 years agothese are not c++ tests
Frederic Suter [Sun, 8 Mar 2020 12:42:11 +0000 (13:42 +0100)]
these are not c++ tests

4 years agoconvert trace-integration test
Frederic Suter [Sun, 8 Mar 2020 12:10:24 +0000 (13:10 +0100)]
convert trace-integration test

4 years agoconvert platform-failures
Frederic Suter [Sat, 7 Mar 2020 14:46:44 +0000 (15:46 +0100)]
convert platform-failures

4 years agoC version of exec-waitany
Frederic Suter [Sat, 7 Mar 2020 13:32:52 +0000 (14:32 +0100)]
C version of exec-waitany

4 years agoif wait_any_for timeouts, unref remaining pending comms
Frederic Suter [Sat, 7 Mar 2020 13:30:10 +0000 (14:30 +0100)]
if wait_any_for timeouts, unref remaining pending comms

4 years agomore sg_exec functions
Frederic Suter [Sat, 7 Mar 2020 13:26:16 +0000 (14:26 +0100)]
more sg_exec functions

4 years agouseless call
Frederic Suter [Sat, 7 Mar 2020 13:25:44 +0000 (14:25 +0100)]
useless call

4 years agocmake: add a comment for the future developers (ie, for us)
Martin Quinson [Sat, 7 Mar 2020 12:47:25 +0000 (13:47 +0100)]
cmake: add a comment for the future developers (ie, for us)

4 years agonevrotic cosmetics: alphabetical order in option listing, and uniform link target...
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

4 years agoyes, I'm not testing before pushing
Augustin Degomme [Fri, 6 Mar 2020 16:28:21 +0000 (17:28 +0100)]
yes, I'm not testing before pushing

4 years agoadd C version of exec-async
Frederic Suter [Fri, 6 Mar 2020 16:23:41 +0000 (17:23 +0100)]
add C version of exec-async

4 years agocouple of new sg_exec_* functions
Frederic Suter [Fri, 6 Mar 2020 16:22:52 +0000 (17:22 +0100)]
couple of new sg_exec_* functions

4 years agothis is examples/c/exec-basic
Frederic Suter [Fri, 6 Mar 2020 12:26:00 +0000 (13:26 +0100)]
this is examples/c/exec-basic

4 years agorequalify some teshes
Augustin Degomme [Fri, 6 Mar 2020 16:24:18 +0000 (17:24 +0100)]
requalify some teshes

4 years agoupdate doc
Augustin Degomme [Fri, 6 Mar 2020 14:30:40 +0000 (15:30 +0100)]
update doc

4 years agotypo--
Augustin Degomme [Fri, 6 Mar 2020 14:15:26 +0000 (15:15 +0100)]
typo--

4 years agoUpdate changelog for loopback changes.
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.

4 years agoFix shared seek when using something else than MPI_SEEK_SET
Augustin Degomme [Fri, 6 Mar 2020 13:55:26 +0000 (14:55 +0100)]
Fix shared seek when using something else than MPI_SEEK_SET

4 years agofix io-shared test, which was just a little bit too non deterministic.
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.

4 years agodisable SMPI/IO shared test pending investigation.
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.

4 years agorequalify tesh to account for default value change for loopback link
Augustin Degomme [Fri, 6 Mar 2020 13:07:26 +0000 (14:07 +0100)]
requalify tesh to account for default value change for loopback link

4 years agoAdd an option to alter the default hidden and poorly performing loopback link in...
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

4 years agohandle (some) exceptions for Comm and Exec in C
Frederic Suter [Fri, 6 Mar 2020 12:01:45 +0000 (13:01 +0100)]
handle (some) exceptions for Comm and Exec in C

4 years agoadd C version of actor-stacksize example
Frederic Suter [Fri, 6 Mar 2020 08:50:18 +0000 (09:50 +0100)]
add C version of actor-stacksize example

4 years agoadd C version of Actor::set_stacksize
Frederic Suter [Fri, 6 Mar 2020 08:49:24 +0000 (09:49 +0100)]
add C version of Actor::set_stacksize

4 years agogitlab-ci: 'pages' waits only for 'ctest' again: 'pip' builds its stuff to some weird...
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:

4 years agofix the execution of the bittorrent example
Martin Quinson [Thu, 5 Mar 2020 10:54:57 +0000 (11:54 +0100)]
fix the execution of the bittorrent example

4 years agogitlab-ci: pages only waits for the pip build, to speed things up
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

4 years agofix make distcheck and pip builds, again
Martin Quinson [Thu, 5 Mar 2020 10:41:48 +0000 (11:41 +0100)]
fix make distcheck and pip builds, again

4 years agoforgot to document this new example :)
Martin Quinson [Thu, 5 Mar 2020 10:24:35 +0000 (11:24 +0100)]
forgot to document this new example :)

4 years agocmake: also factorize the multi-files examples
Martin Quinson [Thu, 5 Mar 2020 10:18:39 +0000 (11:18 +0100)]
cmake: also factorize the multi-files examples

4 years agoexamples/s4u/CMakeLists.txt: Also factorize the mc tests with the others
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

4 years agofurther factorize our cmake code to run the s4u examples
Martin Quinson [Thu, 5 Mar 2020 09:39:08 +0000 (10:39 +0100)]
further factorize our cmake code to run the s4u examples

4 years agomove actor-stacksize from teshsuite to examples now that it's of some interest to...
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

4 years agoallow to specify the stack size on a per-actor basis
Martin Quinson [Thu, 5 Mar 2020 09:03:59 +0000 (10:03 +0100)]
allow to specify the stack size on a per-actor basis

4 years agoadd C version of exec-remote
Frederic Suter [Thu, 5 Mar 2020 09:03:22 +0000 (10:03 +0100)]
add C version of exec-remote

4 years agoadd sg_exec_set_host
Frederic Suter [Thu, 5 Mar 2020 09:01:48 +0000 (10:01 +0100)]
add sg_exec_set_host

4 years agoremove redundant, old, and deprecated test
Frederic Suter [Wed, 4 Mar 2020 12:45:49 +0000 (13:45 +0100)]
remove redundant, old, and deprecated test

4 years agosonar cleanups: pass large objects by const reference
Martin Quinson [Thu, 5 Mar 2020 06:58:45 +0000 (07:58 +0100)]
sonar cleanups: pass large objects by const reference

4 years agoClosed GH#128.
Arnaud Giersch [Wed, 4 Mar 2020 20:47:42 +0000 (21:47 +0100)]
Closed GH#128.

4 years agoRemove unused lambda capture.
Arnaud Giersch [Wed, 4 Mar 2020 13:22:16 +0000 (14:22 +0100)]
Remove unused lambda capture.

4 years agoFix tesh file.
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.

4 years agoSimcall again, when updating content in s4u::File::write_on_*.
Arnaud Giersch [Tue, 3 Mar 2020 22:21:24 +0000 (23:21 +0100)]
Simcall again, when updating content in s4u::File::write_on_*.

4 years agoUse a simcall for s4u::File construction and destruction.
Arnaud Giersch [Tue, 3 Mar 2020 22:13:14 +0000 (23:13 +0100)]
Use a simcall for s4u::File construction and destruction.

4 years agoUse a simcall to retrieve mounted storages.
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.

4 years agoModify object property in kernel mode.
Arnaud Giersch [Tue, 3 Mar 2020 21:31:25 +0000 (22:31 +0100)]
Modify object property in kernel mode.

4 years agoClean surf_action on IoImpl::post.
Arnaud Giersch [Wed, 4 Mar 2020 12:38:15 +0000 (13:38 +0100)]
Clean surf_action on IoImpl::post.

4 years agoDuplicate assert (taken from FileSystemDiskExt::parse_content).
Arnaud Giersch [Tue, 3 Mar 2020 22:27:47 +0000 (23:27 +0100)]
Duplicate assert (taken from FileSystemDiskExt::parse_content).

4 years agoupdate doc
Frederic Suter [Wed, 4 Mar 2020 12:38:25 +0000 (13:38 +0100)]
update doc

4 years agoadd C version of exec-basic (including execute w/ priority)
Frederic Suter [Wed, 4 Mar 2020 12:35:13 +0000 (13:35 +0100)]
add C version of exec-basic (including execute w/ priority)

4 years agoadd sg_actor_execute_with_priority
Frederic Suter [Wed, 4 Mar 2020 12:29:57 +0000 (13:29 +0100)]
add sg_actor_execute_with_priority

4 years agoconvert and simplify msg/process-lifetime
Frederic Suter [Wed, 4 Mar 2020 12:15:28 +0000 (13:15 +0100)]
convert and simplify msg/process-lifetime

4 years agointroduce sg_actor_create and use it in C examples
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?

4 years agofix pip build
Martin Quinson [Wed, 4 Mar 2020 11:24:07 +0000 (12:24 +0100)]
fix pip build

4 years agopass large objects by const ref to please sonar
Martin Quinson [Wed, 4 Mar 2020 11:09:49 +0000 (12:09 +0100)]
pass large objects by const ref to please sonar

4 years agouse std::function instead of pointers to functions 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

4 years agoconvert another teshsuite/simix test into teshsuite/kernel (and fix it)
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)

4 years agoavoid cmake warning
Augustin Degomme [Tue, 3 Mar 2020 23:29:20 +0000 (00:29 +0100)]
avoid cmake warning

4 years agofix make distcheck, but the definition of this target (not its configuration), this...
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.

4 years agofix make dist, as usual
Martin Quinson [Tue, 3 Mar 2020 23:11:02 +0000 (00:11 +0100)]
fix make dist, as usual

4 years agoclose gforge bug 18137 (allow different stack sizes): that was possible since years...
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

4 years agodocs/find-missing: adapt to the fact that ExecPar and ExecSeq don't exist anymore
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

4 years agoAllow to set configuration items without parsing the value
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.

4 years agodoc: fix a code snippet
Martin Quinson [Tue, 3 Mar 2020 22:04:45 +0000 (23:04 +0100)]
doc: fix a code snippet