Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Thu, 29 Jun 2023 11:14:05 +0000 (13:14 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoMake member variables "private" (Sonar).
Arnaud Giersch [Thu, 29 Jun 2023 08:26:31 +0000 (10:26 +0200)]
Make member variables "private" (Sonar).

10 months agoUnused parameters (Sonar).
Arnaud Giersch [Thu, 29 Jun 2023 08:02:46 +0000 (10:02 +0200)]
Unused parameters (Sonar).

10 months agoShadowed variables (Sonar).
Arnaud Giersch [Thu, 29 Jun 2023 07:50:04 +0000 (09:50 +0200)]
Shadowed variables (Sonar).

10 months agoPass large objects by reference to const (Sonar).
Arnaud Giersch [Thu, 29 Jun 2023 07:41:52 +0000 (09:41 +0200)]
Pass large objects by reference to const (Sonar).

10 months agoThe result of "std::move" should not be passed as a const reference (Sonar).
Arnaud Giersch [Thu, 29 Jun 2023 07:32:33 +0000 (09:32 +0200)]
The result of "std::move" should not be passed as a const reference (Sonar).

10 months agoPlug memory leaks.
Arnaud Giersch [Wed, 28 Jun 2023 20:57:00 +0000 (22:57 +0200)]
Plug memory leaks.

Capture by reference in order to break what I understand to be a circular dependency.

10 months agoFunctions having rvalue reference arguments should "std::move" those arguments (Sonar).
Arnaud Giersch [Wed, 28 Jun 2023 17:31:11 +0000 (19:31 +0200)]
Functions having rvalue reference arguments should "std::move" those arguments (Sonar).

10 months agoFix: "std::move" should only be used where moving can happen (Sonar).
Arnaud Giersch [Wed, 28 Jun 2023 17:11:01 +0000 (19:11 +0200)]
Fix: "std::move" should only be used where moving can happen (Sonar).

10 months agoMove signals "on_(this_)start" and methods "fire_on_*" into Activity_T.
Arnaud Giersch [Wed, 28 Jun 2023 14:18:04 +0000 (16:18 +0200)]
Move signals "on_(this_)start" and methods "fire_on_*" into Activity_T.

10 months agoReplace redundant type with "auto" (Sonar).
Arnaud Giersch [Wed, 28 Jun 2023 07:37:55 +0000 (09:37 +0200)]
Replace redundant type with "auto" (Sonar).

10 months agoRemove nested code blocks (Sonar).
Arnaud Giersch [Wed, 28 Jun 2023 07:01:09 +0000 (09:01 +0200)]
Remove nested code blocks (Sonar).

Best viewed with "git show -b"

10 months agoFurther little simplifications around "if" statements.
Arnaud Giersch [Wed, 28 Jun 2023 06:41:32 +0000 (08:41 +0200)]
Further little simplifications around "if" statements.

10 months agopython: make it so that the host_load functions are only defined when the plugin...
Martin Quinson [Wed, 28 Jun 2023 13:13:04 +0000 (15:13 +0200)]
python: make it so that the host_load functions are only defined when the plugin is loaded

10 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Wed, 28 Jun 2023 12:32:48 +0000 (14:32 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

10 months agoMerge branch 'python_bindings_host_load_plugin' into 'master'
Martin Quinson [Wed, 28 Jun 2023 12:32:38 +0000 (12:32 +0000)]
Merge branch 'python_bindings_host_load_plugin' into 'master'

add python bindings for plugin host load

See merge request simgrid/simgrid!162

10 months agoMerge branch 'master' into 'python_bindings_host_load_plugin'
Martin Quinson [Wed, 28 Jun 2023 12:32:27 +0000 (12:32 +0000)]
Merge branch 'master' into 'python_bindings_host_load_plugin'

# Conflicts:
#   src/bindings/python/simgrid_python.cpp

10 months agoTypo found by lintian
Martin Quinson [Wed, 28 Jun 2023 11:26:54 +0000 (13:26 +0200)]
Typo found by lintian

10 months agoUse std::make_unique (Sonar).
Arnaud Giersch [Tue, 27 Jun 2023 14:54:11 +0000 (16:54 +0200)]
Use std::make_unique (Sonar).

10 months agoRespect coding style for boolean operators.
Arnaud Giersch [Tue, 27 Jun 2023 13:14:48 +0000 (15:14 +0200)]
Respect coding style for boolean operators.

10 months agoUse the init-statement to reduce scope of local variables (Sonar).
Arnaud Giersch [Tue, 27 Jun 2023 12:51:14 +0000 (14:51 +0200)]
Use the init-statement to reduce scope of local variables (Sonar).

10 months agoUse std::any_of(...).
Arnaud Giersch [Tue, 27 Jun 2023 12:04:37 +0000 (14:04 +0200)]
Use std::any_of(...).

10 months agoMisc. Sonar smells.
Arnaud Giersch [Tue, 27 Jun 2023 11:46:43 +0000 (13:46 +0200)]
Misc. Sonar smells.

10 months agoMBI: use odpor by default, to speed things up
Martin Quinson [Tue, 27 Jun 2023 12:14:08 +0000 (14:14 +0200)]
MBI: use odpor by default, to speed things up

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Tue, 27 Jun 2023 09:20:07 +0000 (11:20 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoCorrect warning message, and update comments.
Arnaud Giersch [Tue, 27 Jun 2023 07:24:13 +0000 (09:24 +0200)]
Correct warning message, and update comments.

[ci-skip]

10 months agoDefine macro XBT_ATTRIB_DEPRECATED_v339.
Arnaud Giersch [Tue, 27 Jun 2023 06:46:56 +0000 (08:46 +0200)]
Define macro XBT_ATTRIB_DEPRECATED_v339.

(to use during the dev of v3.35)

10 months agoRemove deprecated features for next release (3.35).
Arnaud Giersch [Tue, 27 Jun 2023 06:46:56 +0000 (08:46 +0200)]
Remove deprecated features for next release (3.35).

10 months agoRemove deprecated features for the new next release (3.34).
Arnaud Giersch [Mon, 26 Jun 2023 13:50:56 +0000 (15:50 +0200)]
Remove deprecated features for the new next release (3.34).

10 months agoStart a new development cycle
Martin Quinson [Mon, 26 Jun 2023 22:03:19 +0000 (00:03 +0200)]
Start a new development cycle

10 months agoadd missing copyright notes v3.34
Fred Suter [Mon, 26 Jun 2023 16:35:39 +0000 (12:35 -0400)]
add missing copyright notes

10 months agoAdd the release date to the ChangeLog (woops)
Martin Quinson [Mon, 26 Jun 2023 15:13:10 +0000 (17:13 +0200)]
Add the release date to the ChangeLog (woops)

10 months agoRelease 3.34
Martin Quinson [Mon, 26 Jun 2023 14:59:27 +0000 (16:59 +0200)]
Release 3.34

10 months agoRevert "Remove deprecated features for the new next release (3.34)" until after the...
Martin Quinson [Mon, 26 Jun 2023 15:00:15 +0000 (17:00 +0200)]
Revert "Remove deprecated features for the new next release (3.34)" until after the release

Formally, this could be done, since we skipped the v3.33. But I prefer
to postpone these changes until after the release of v3.34 to release
today a code base that was throughoutly tested. Keeping these changes
would require to wait for the tests to be run again.

This reverts commit 66d0f6e192b8205fb6b7919ac1dc5475d3435d54.

10 months agoWhitespace cleanup (codefactor.io).
Arnaud Giersch [Mon, 26 Jun 2023 14:24:19 +0000 (16:24 +0200)]
Whitespace cleanup (codefactor.io).

[ci-skip]

10 months agoRemove deprecated features for the new next release (3.34).
Arnaud Giersch [Mon, 26 Jun 2023 13:50:56 +0000 (15:50 +0200)]
Remove deprecated features for the new next release (3.34).

10 months agoTypos.
Arnaud Giersch [Mon, 26 Jun 2023 13:01:52 +0000 (15:01 +0200)]
Typos.

[ci-skip]

10 months agoSince we skip a release, use XBT_ATTRIB_DEPRECATED_v338 instead of v337
Martin Quinson [Mon, 26 Jun 2023 09:44:33 +0000 (11:44 +0200)]
Since we skip a release, use XBT_ATTRIB_DEPRECATED_v338 instead of v337

10 months agoImprove the documentation of this release, and introduce a release nick
Martin Quinson [Mon, 26 Jun 2023 09:43:41 +0000 (11:43 +0200)]
Improve the documentation of this release, and introduce a release nick

10 months agocomplete the release notes. They need more reviews
Martin Quinson [Sat, 24 Jun 2023 17:13:48 +0000 (19:13 +0200)]
complete the release notes. They need more reviews

10 months agosleep sets are not an option in MC. We always need them
Martin Quinson [Sat, 24 Jun 2023 14:26:04 +0000 (16:26 +0200)]
sleep sets are not an option in MC. We always need them

It was useful to have it as an option when debugging.

10 months agoExtend the release notes with the work done until March 31.
Martin Quinson [Fri, 23 Jun 2023 22:41:33 +0000 (00:41 +0200)]
Extend the release notes with the work done until March 31.

10 months agoReorg the MPI doc, and document SMPI_app_instance_start in release notes
Martin Quinson [Fri, 23 Jun 2023 10:25:31 +0000 (12:25 +0200)]
Reorg the MPI doc, and document SMPI_app_instance_start in release notes

10 months agoFix MC builds
Martin Quinson [Thu, 22 Jun 2023 07:21:41 +0000 (09:21 +0200)]
Fix MC builds

10 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 22 Jun 2023 00:25:49 +0000 (02:25 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

10 months agoImprove the release notes for MC
Martin Quinson [Thu, 22 Jun 2023 00:24:47 +0000 (02:24 +0200)]
Improve the release notes for MC

10 months agoDocument source-set and DPOR options
Martin Quinson [Thu, 22 Jun 2023 00:13:04 +0000 (02:13 +0200)]
Document source-set and DPOR options

10 months agomodel-check/sleep-set is now true by default
Martin Quinson [Thu, 22 Jun 2023 00:01:18 +0000 (02:01 +0200)]
model-check/sleep-set is now true by default

10 months agoIncrease a bit an example which size got reduced when DPOR efficiency reduced, and...
Martin Quinson [Wed, 21 Jun 2023 23:36:22 +0000 (01:36 +0200)]
Increase a bit an example which size got reduced when DPOR efficiency reduced, and test odpor+sdpor on it

10 months ago[ci-skip] document s4u::Task
Fred Suter [Wed, 21 Jun 2023 21:25:46 +0000 (17:25 -0400)]
[ci-skip] document s4u::Task

10 months agorename enqueue_execs into enqueue_firings
Fred Suter [Wed, 21 Jun 2023 18:54:17 +0000 (14:54 -0400)]
rename enqueue_execs into enqueue_firings

10 months ago[Sonar] shadowed variable
Fred Suter [Wed, 21 Jun 2023 18:25:39 +0000 (14:25 -0400)]
[Sonar] shadowed variable

10 months ago[sonar] make signals private
Fred Suter [Wed, 21 Jun 2023 18:18:02 +0000 (14:18 -0400)]
[sonar] make signals private

10 months ago[sonar] explicit capture
Fred Suter [Wed, 21 Jun 2023 18:10:32 +0000 (14:10 -0400)]
[sonar] explicit capture

10 months agocleanups and refactoring in s4u::Task
Fred Suter [Wed, 21 Jun 2023 16:57:36 +0000 (12:57 -0400)]
cleanups and refactoring in s4u::Task

10 months agoMove Tasks from a plugin to s4u
Fred Suter [Tue, 20 Jun 2023 13:24:41 +0000 (09:24 -0400)]
Move Tasks from a plugin to s4u

10 months agoMerge branch 'task-token' into 'master'
Fred Suter [Tue, 20 Jun 2023 12:03:29 +0000 (12:03 +0000)]
Merge branch 'task-token' into 'master'

Task Token

See merge request simgrid/simgrid!163

10 months agoMerge branch 'master' into 'task-token'
Fred Suter [Tue, 20 Jun 2023 12:00:03 +0000 (12:00 +0000)]
Merge branch 'master' into 'task-token'

# Conflicts:
#   docs/source/Installing_SimGrid.rst
#   examples/cpp/mc-bugged2/s4u-mc-bugged2.tesh
#   teshsuite/smpi/coll-allreduce-with-leaks/mc-coll-allreduce-with-leaks.tesh

10 months agomore use of get_unique_data
Fred Suter [Mon, 19 Jun 2023 12:13:20 +0000 (08:13 -0400)]
more use of get_unique_data

10 months agoFix indent in an example
Martin Quinson [Fri, 16 Jun 2023 16:14:51 +0000 (18:14 +0200)]
Fix indent in an example

10 months agoMerge branch 'fix-wakeup-tree-iterator' into 'master'
Arnaud Giersch [Fri, 16 Jun 2023 14:16:49 +0000 (14:16 +0000)]
Merge branch 'fix-wakeup-tree-iterator' into 'master'

Fix `WakeupTreeIterator` bug comparing different iterators

See merge request simgrid/simgrid!165

10 months agoFix WakeupTreeIterator bug comparing diff iterators
Maxwell Pirtle [Fri, 16 Jun 2023 13:25:01 +0000 (15:25 +0200)]
Fix WakeupTreeIterator bug comparing diff iterators

Prior to this commit, the WakeupTreeIterator
compared iterators stemming from different
collections. This isn't defined behavior though :/.

The goal was to determine if a node should add its
children again when moving to the next node in the
iteration. Instead it suffices to keep track of which
nodes have already added their children after adding
them to the ordering.

10 months agoStop using default mpi_call
mlaurent [Fri, 16 Jun 2023 09:57:42 +0000 (11:57 +0200)]
Stop using default mpi_call

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Fri, 16 Jun 2023 08:37:21 +0000 (10:37 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agofix the instructions on how to use local installs of python bindings
Martin Quinson [Thu, 15 Jun 2023 18:58:00 +0000 (20:58 +0200)]
fix the instructions on how to use local installs of python bindings

10 months agoFix the liveness tests by ignoring the Comm ID memory that breaks the state equality...
Martin Quinson [Thu, 15 Jun 2023 18:49:47 +0000 (20:49 +0200)]
Fix the liveness tests by ignoring the Comm ID memory that breaks the state equality detection

10 months agoRevalidate the tesh files after the recent MC depends change
Martin Quinson [Thu, 15 Jun 2023 16:11:38 +0000 (18:11 +0200)]
Revalidate the tesh files after the recent MC depends change

10 months agoDo not consider the memory addresses in MC depends function
Martin Quinson [Thu, 15 Jun 2023 16:10:59 +0000 (18:10 +0200)]
Do not consider the memory addresses in MC depends function

There is no use for that, and it makes depends system-dependent.

10 months agoMC: Give an ID to comms to not use their pointer value, that can be reused over time
Martin Quinson [Thu, 15 Jun 2023 15:58:16 +0000 (17:58 +0200)]
MC: Give an ID to comms to not use their pointer value, that can be reused over time

Not doing so made the dependency architecture- and system- dependent:
if a pointer address got reused for another comm, that would have
impacted the depends() result on the MC side.

10 months agouse get_unique_data()
Adrien Gougeon [Thu, 15 Jun 2023 16:58:12 +0000 (18:58 +0200)]
use get_unique_data()

10 months agoadd a get_unique_data to Extendable and test it in one example
Fred Suter [Thu, 15 Jun 2023 15:17:47 +0000 (11:17 -0400)]
add a get_unique_data to Extendable and test it in one example

10 months agoExplain the relevant PYTHONPATH when installing from source
Martin Quinson [Thu, 15 Jun 2023 08:36:19 +0000 (10:36 +0200)]
Explain the relevant PYTHONPATH when installing from source

10 months agoA few spelling mistakes and many replacements: [Ss]imgrid -> SimGrid.
Arnaud Giersch [Tue, 13 Jun 2023 19:51:48 +0000 (21:51 +0200)]
A few spelling mistakes and many replacements: [Ss]imgrid -> SimGrid.

[ci-skip]

10 months agoRevalidate the MC tesh files after the recent changes in the depend of wait and send
Martin Quinson [Tue, 13 Jun 2023 15:05:23 +0000 (17:05 +0200)]
Revalidate the MC tesh files after the recent changes in the depend of wait and send

10 months agore-add --help-coll to the doc now that it's implemented
Martin Quinson [Tue, 13 Jun 2023 13:31:14 +0000 (15:31 +0200)]
re-add --help-coll to the doc now that it's implemented

10 months agoComplete "smpirun -help" [ci-skip]
Arnaud Giersch [Tue, 13 Jun 2023 12:09:15 +0000 (14:09 +0200)]
Complete "smpirun -help" [ci-skip]

10 months agoAnother unw_accessor forgotten in previous commit.
Arnaud Giersch [Tue, 13 Jun 2023 10:04:41 +0000 (12:04 +0200)]
Another unw_accessor forgotten in previous commit.

10 months agoFix error: missing initializer for member unw_accessors::ptrauth_insn_mask
Arnaud Giersch [Tue, 13 Jun 2023 09:50:08 +0000 (11:50 +0200)]
Fix error: missing initializer for member unw_accessors::ptrauth_insn_mask

Seen with some version of libunwind.

10 months agoImplement smpirun --help-coll.
Arnaud Giersch [Tue, 13 Jun 2023 08:49:01 +0000 (10:49 +0200)]
Implement smpirun --help-coll.

10 months agoTiny doc improvement
Martin Quinson [Tue, 13 Jun 2023 06:53:03 +0000 (08:53 +0200)]
Tiny doc improvement

10 months agoimprove the doc of how to select the right algorithm
Martin Quinson [Thu, 8 Jun 2023 09:07:12 +0000 (11:07 +0200)]
improve the doc of how to select the right algorithm

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Thu, 15 Jun 2023 15:39:07 +0000 (17:39 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoadd a get_unique_data to Extendable and test it in one example
Fred Suter [Thu, 15 Jun 2023 15:17:47 +0000 (11:17 -0400)]
add a get_unique_data to Extendable and test it in one example

10 months agoadd simgrid::plugins::Token. switch from get_tokens to get_next_token_from
Adrien Gougeon [Thu, 15 Jun 2023 14:14:29 +0000 (16:14 +0200)]
add simgrid::plugins::Token. switch from get_tokens to get_next_token_from

10 months agoExplain the relevant PYTHONPATH when installing from source
Martin Quinson [Thu, 15 Jun 2023 08:36:19 +0000 (10:36 +0200)]
Explain the relevant PYTHONPATH when installing from source

10 months agorename get_tokens to get_next_execution_tokens
Adrien Gougeon [Wed, 14 Jun 2023 14:31:02 +0000 (16:31 +0200)]
rename get_tokens to get_next_execution_tokens

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Wed, 14 Jun 2023 12:34:42 +0000 (14:34 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoA few spelling mistakes and many replacements: [Ss]imgrid -> SimGrid.
Arnaud Giersch [Tue, 13 Jun 2023 19:51:48 +0000 (21:51 +0200)]
A few spelling mistakes and many replacements: [Ss]imgrid -> SimGrid.

[ci-skip]

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Tue, 13 Jun 2023 15:27:53 +0000 (17:27 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoRevalidate the MC tesh files after the recent changes in the depend of wait and send
Martin Quinson [Tue, 13 Jun 2023 15:05:23 +0000 (17:05 +0200)]
Revalidate the MC tesh files after the recent changes in the depend of wait and send

10 months agore-add --help-coll to the doc now that it's implemented
Martin Quinson [Tue, 13 Jun 2023 13:31:14 +0000 (15:31 +0200)]
re-add --help-coll to the doc now that it's implemented

10 months agoFix missing fortran import
mlaurent [Tue, 13 Jun 2023 13:22:13 +0000 (15:22 +0200)]
Fix missing fortran import

10 months agoRespect member order according to the initialisation order
mlaurent [Tue, 13 Jun 2023 13:15:00 +0000 (15:15 +0200)]
Respect member order according to the initialisation order

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Tue, 13 Jun 2023 13:05:28 +0000 (15:05 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

10 months agoFix test stats according to current dependency relation
mlaurent [Tue, 13 Jun 2023 13:03:52 +0000 (15:03 +0200)]
Fix test stats according to current dependency relation

10 months agoComplete "smpirun -help" [ci-skip]
Arnaud Giersch [Tue, 13 Jun 2023 12:09:15 +0000 (14:09 +0200)]
Complete "smpirun -help" [ci-skip]

10 months agoAnother unw_accessor forgotten in previous commit.
Arnaud Giersch [Tue, 13 Jun 2023 10:04:41 +0000 (12:04 +0200)]
Another unw_accessor forgotten in previous commit.

10 months agoFix error: missing initializer for member unw_accessors::ptrauth_insn_mask
Arnaud Giersch [Tue, 13 Jun 2023 09:50:08 +0000 (11:50 +0200)]
Fix error: missing initializer for member unw_accessors::ptrauth_insn_mask

Seen with some version of libunwind.

10 months agoImplement smpirun --help-coll.
Arnaud Giersch [Tue, 13 Jun 2023 08:49:01 +0000 (10:49 +0200)]
Implement smpirun --help-coll.

10 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
mlaurent [Tue, 13 Jun 2023 09:17:57 +0000 (11:17 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid