Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 months agoMerge branch 'task-doc' into 'master'
Martin Quinson [Fri, 22 Sep 2023 13:43:13 +0000 (13:43 +0000)]
Merge branch 'task-doc' into 'master'

Add doc about parallel Tasks. Fix some warning in plugins doc

See merge request simgrid/simgrid!173

7 months agosimplify routing_cluster.cpp
Fred Suter [Fri, 22 Sep 2023 03:07:25 +0000 (23:07 -0400)]
simplify routing_cluster.cpp

7 months agosimplify supernode.cpp
Fred Suter [Fri, 22 Sep 2023 02:51:48 +0000 (22:51 -0400)]
simplify supernode.cpp

7 months agosimplify griffon.cpp
Fred Suter [Fri, 22 Sep 2023 02:43:26 +0000 (22:43 -0400)]
simplify griffon.cpp

7 months agoCan also connect a NetZone to anybody and anobody to a NetZone
Fred Suter [Fri, 22 Sep 2023 02:43:09 +0000 (22:43 -0400)]
Can also connect a NetZone to anybody and anobody to a NetZone

7 months agosimpler way to define routes between zones (and between host and anything)
Fred Suter [Thu, 21 Sep 2023 17:06:00 +0000 (13:06 -0400)]
simpler way to define routes between zones (and between host and anything)

7 months agoExplicitely create, store, and expose NetZone gateway(s)
Fred Suter [Thu, 21 Sep 2023 15:39:29 +0000 (11:39 -0400)]
Explicitely create, store, and expose NetZone gateway(s)

7 months agowe don't do AS anymore
Fred Suter [Thu, 21 Sep 2023 13:18:46 +0000 (09:18 -0400)]
we don't do AS anymore

7 months agoadd doc about parallel tasks. fix some warning in plugins doc
Adrien Gougeon [Thu, 21 Sep 2023 13:30:29 +0000 (15:30 +0200)]
add doc about parallel tasks. fix some warning in plugins doc

7 months agoMerge branch 'photovoltaic-revamp' into 'master'
Martin Quinson [Thu, 21 Sep 2023 09:54:33 +0000 (09:54 +0000)]
Merge branch 'photovoltaic-revamp' into 'master'

photovoltaic plugin revamp, now called solar panel

See merge request simgrid/simgrid!171

7 months agoUndo changelog modification. add new entry on top instead
Adrien [Thu, 21 Sep 2023 07:38:24 +0000 (07:38 +0000)]
Undo changelog modification. add new entry on top instead

7 months agoMerge branch 'master' into 'photovoltaic-revamp'
Adrien [Thu, 21 Sep 2023 07:31:03 +0000 (07:31 +0000)]
Merge branch 'master' into 'photovoltaic-revamp'

# Conflicts:
#   examples/cpp/CMakeLists.txt
#   tools/cmake/DefinePackages.cmake

7 months agoundo changelog modification
Adrien Gougeon [Mon, 18 Sep 2023 16:07:51 +0000 (18:07 +0200)]
undo changelog modification

7 months agoMerge branch 'chiller-plugin' into 'master'
Martin Quinson [Mon, 18 Sep 2023 14:31:33 +0000 (14:31 +0000)]
Merge branch 'chiller-plugin' into 'master'

Chiller plugin

See merge request simgrid/simgrid!172

7 months agoMerge branch 'task_dispatch' into 'master'
Martin Quinson [Mon, 18 Sep 2023 14:14:25 +0000 (14:14 +0000)]
Merge branch 'task_dispatch' into 'master'

Task dispatch

See merge request simgrid/simgrid!170

7 months agowerror reorder
Adrien Gougeon [Mon, 18 Sep 2023 12:33:48 +0000 (14:33 +0200)]
werror reorder

7 months agoadd chiller plugin with doc and an example
Adrien Gougeon [Mon, 18 Sep 2023 12:26:14 +0000 (14:26 +0200)]
add chiller plugin with doc and an example

7 months agoremove deprecated include
Adrien Gougeon [Fri, 15 Sep 2023 07:29:10 +0000 (09:29 +0200)]
remove deprecated include

7 months agoclang-format
Adrien Gougeon [Thu, 14 Sep 2023 14:51:21 +0000 (16:51 +0200)]
clang-format

7 months agoadd keyword horizontal scaling to doc
Adrien Gougeon [Thu, 14 Sep 2023 14:47:43 +0000 (16:47 +0200)]
add keyword horizontal scaling to doc

7 months agophotovoltaic plugin revamp, now called solar panel
Adrien Gougeon [Thu, 14 Sep 2023 14:40:14 +0000 (16:40 +0200)]
photovoltaic plugin revamp, now called solar panel

7 months agoadd the possibility to increase the parallelism degree of Tasks
Adrien Gougeon [Thu, 14 Sep 2023 11:48:15 +0000 (13:48 +0200)]
add the possibility to increase the parallelism degree of Tasks

7 months agoUse an enum to make a parameter explicit instead of a true/false value
Martin Quinson [Wed, 13 Sep 2023 14:55:41 +0000 (16:55 +0200)]
Use an enum to make a parameter explicit instead of a true/false value

7 months agoDocument recent change
Martin Quinson [Wed, 13 Sep 2023 13:46:28 +0000 (15:46 +0200)]
Document recent change

7 months agoMerge branch 'plugins-energy-battery-interaction' into 'master'
Martin Quinson [Wed, 13 Sep 2023 13:44:11 +0000 (13:44 +0000)]
Merge branch 'plugins-energy-battery-interaction' into 'master'

Battery plugin revamp

See merge request simgrid/simgrid!168

8 months agoreplace create_event by schedule_handler and move param callback after repeat. also...
Adrien Gougeon [Fri, 8 Sep 2023 08:34:42 +0000 (10:34 +0200)]
replace create_event by schedule_handler and move param callback after repeat. also rename all 'event' to 'handler'

9 months agofix pip builds
Martin Quinson [Tue, 25 Jul 2023 18:59:15 +0000 (20:59 +0200)]
fix pip builds

9 months agoAlso deprecate Activity::waitany/waitall/testany
Martin Quinson [Tue, 25 Jul 2023 18:55:25 +0000 (20:55 +0200)]
Also deprecate Activity::waitany/waitall/testany

9 months agoDeprecate/remove Comm::wait_any and Comm::wait_any_for
Martin Quinson [Tue, 25 Jul 2023 18:31:02 +0000 (20:31 +0200)]
Deprecate/remove Comm::wait_any and Comm::wait_any_for

9 months agoStop using comm-waitany in a test which contains NetworkFailures
Martin Quinson [Tue, 25 Jul 2023 18:07:15 +0000 (20:07 +0200)]
Stop using comm-waitany in a test which contains NetworkFailures

9 months agoremove Comm::testany()
Martin Quinson [Tue, 25 Jul 2023 17:01:00 +0000 (19:01 +0200)]
remove Comm::testany()

9 months agoDeprecate 2 C functions
Martin Quinson [Tue, 25 Jul 2023 16:45:01 +0000 (18:45 +0200)]
Deprecate 2 C functions

9 months agoDeprecate/remove Io::waitany() and waitanyfor()
Martin Quinson [Tue, 25 Jul 2023 16:27:49 +0000 (18:27 +0200)]
Deprecate/remove Io::waitany() and waitanyfor()

9 months agoDeprecate sg_comm_wait_all in C
Martin Quinson [Tue, 25 Jul 2023 15:47:12 +0000 (17:47 +0200)]
Deprecate sg_comm_wait_all in C

9 months agoKill an unused variable
Martin Quinson [Mon, 24 Jul 2023 23:10:38 +0000 (01:10 +0200)]
Kill an unused variable

9 months agoFix make distcheck
Martin Quinson [Mon, 24 Jul 2023 22:53:44 +0000 (00:53 +0200)]
Fix make distcheck

9 months agoComm::waitallfor() is gone too
Martin Quinson [Mon, 24 Jul 2023 22:51:36 +0000 (00:51 +0200)]
Comm::waitallfor() is gone too

9 months agoDeprecate Comm::wait_all(). Remove it in python
Martin Quinson [Mon, 24 Jul 2023 22:30:54 +0000 (00:30 +0200)]
Deprecate Comm::wait_all(). Remove it in python

9 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 24 Jul 2023 22:10:04 +0000 (00:10 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

9 months agoIntroduce a Mailbox::get_async() with no payload parameter
Martin Quinson [Mon, 24 Jul 2023 17:33:41 +0000 (19:33 +0200)]
Introduce a Mailbox::get_async() with no payload parameter

You can use the new Comm::get_payload() once the communication is over
to retrieve the payload.

9 months agoRemove C test exec-waitany and deprecate the last exec-waitany functions
Martin Quinson [Fri, 21 Jul 2023 23:08:54 +0000 (01:08 +0200)]
Remove C test exec-waitany and deprecate the last exec-waitany functions

9 months agoC bindings of ActivitySet, along with 4 examples
Martin Quinson [Fri, 21 Jul 2023 23:03:03 +0000 (01:03 +0200)]
C bindings of ActivitySet, along with 4 examples

9 months agoexplicitely sealing zones (by precaution
Fred Suter [Fri, 21 Jul 2023 21:08:46 +0000 (17:08 -0400)]
explicitely sealing zones (by precaution

9 months agofix pip builds
Martin Quinson [Fri, 21 Jul 2023 21:03:18 +0000 (23:03 +0200)]
fix pip builds

9 months agoavoid usage of Comm::wait_all() in examples
Fred Suter [Fri, 21 Jul 2023 20:16:23 +0000 (16:16 -0400)]
avoid usage of Comm::wait_all() in examples

9 months agocosmetics
Martin Quinson [Fri, 21 Jul 2023 19:37:13 +0000 (21:37 +0200)]
cosmetics

9 months agoadd nominal charge and discharge power to batteries
Adrien Gougeon [Fri, 21 Jul 2023 18:23:47 +0000 (20:23 +0200)]
add nominal charge and discharge power to batteries

9 months agoComplete the other activityset examples in python
Martin Quinson [Fri, 21 Jul 2023 18:09:21 +0000 (20:09 +0200)]
Complete the other activityset examples in python

9 months agoPython bindings of the ActivitySet, and add one example
Martin Quinson [Fri, 21 Jul 2023 16:56:39 +0000 (18:56 +0200)]
Python bindings of the ActivitySet, and add one example

9 months agoPort one test from Exec::wait_any_for to ActivitySet
Martin Quinson [Thu, 20 Jul 2023 22:41:48 +0000 (00:41 +0200)]
Port one test from Exec::wait_any_for to ActivitySet

and deprecate another method

9 months agoImplement Exec::wait_any on top of ActivitySet and deprecate one method
Martin Quinson [Thu, 20 Jul 2023 17:56:36 +0000 (19:56 +0200)]
Implement Exec::wait_any on top of ActivitySet and deprecate one method

- Also fix a bit the behavior when ActivitySet::wait_any_for() results
  in a timeout. Believe it or not, this was not tested and plainly wrong
  until now.
  Now, it's a bit too complex, as the simcall returns -1 and forces
  the caller to detect it and throw TimeoutException manually. It
  should be cleaned as in wait_for, somehow.
- The C API is not deprecated yet, because ActivitySet has no C API yet
- The C++ API is not fully deprecated yet, because the unit test is
  not converted to ActivitySet yet.

Still a long way to go to clean it up :(

9 months agoMerge branch 'jbod' into 'master'
Martin Quinson [Thu, 20 Jul 2023 22:13:01 +0000 (22:13 +0000)]
Merge branch 'jbod' into 'master'

Implementation of a JBOD (just a bunch of disks) plugin

See merge request simgrid/simgrid!169

9 months agomove example
Fred Suter [Thu, 20 Jul 2023 17:24:34 +0000 (13:24 -0400)]
move example

9 months agoMerge branch 'master' into jbod
Fred Suter [Thu, 20 Jul 2023 16:44:03 +0000 (12:44 -0400)]
Merge branch 'master' into jbod

9 months agosmall rewrites [no-ci]
Fred Suter [Thu, 20 Jul 2023 16:41:32 +0000 (12:41 -0400)]
small rewrites [no-ci]

9 months agoMPI_UNIVERSE_SIZE now initialized to the total amount of hosts in the platform
Martin Quinson [Thu, 20 Jul 2023 10:03:29 +0000 (12:03 +0200)]
MPI_UNIVERSE_SIZE now initialized to the total amount of hosts in the platform

9 months agoIntroduce SMPI_app_instance_join()
Martin Quinson [Thu, 20 Jul 2023 09:46:04 +0000 (11:46 +0200)]
Introduce SMPI_app_instance_join()

9 months agoAdd a add_route with s4u::Link instead of LinkInRoute
Martin Quinson [Wed, 19 Jul 2023 23:54:23 +0000 (01:54 +0200)]
Add a add_route with s4u::Link instead of LinkInRoute

9 months agoThe 'tests' target got renamed recently
Martin Quinson [Wed, 19 Jul 2023 22:47:38 +0000 (00:47 +0200)]
The 'tests' target got renamed recently

9 months agoAdd a add_route for hosts, without gateways
Martin Quinson [Wed, 19 Jul 2023 22:10:08 +0000 (00:10 +0200)]
Add a add_route for hosts, without gateways

9 months agotypo [no-ci]
Martin Quinson [Tue, 18 Jul 2023 13:39:14 +0000 (15:39 +0200)]
typo [no-ci]

9 months agoadd a make target named 'examples' that is easier to remember than 'tests' vs 'test'
Martin Quinson [Tue, 18 Jul 2023 08:37:07 +0000 (10:37 +0200)]
add a make target named 'examples' that is easier to remember than 'tests' vs 'test'

9 months agouse shared pointers in these examples
Fred Suter [Mon, 17 Jul 2023 20:36:39 +0000 (16:36 -0400)]
use shared pointers in these examples

9 months agouse ActivitySet when we call wait_any in examples
Fred Suter [Mon, 17 Jul 2023 19:47:48 +0000 (15:47 -0400)]
use ActivitySet when we call wait_any in examples

9 months agoMerge branch 'fix-comm-signal' into 'master'
Martin Quinson [Sat, 15 Jul 2023 09:12:17 +0000 (09:12 +0000)]
Merge branch 'fix-comm-signal' into 'master'

update comm status BEFORE sending signals

See merge request simgrid/simgrid!167

9 months agoSoH now based on internal values (lost/gained energy) instead of external values...
Adrien Gougeon [Thu, 13 Jul 2023 13:08:31 +0000 (15:08 +0200)]
SoH now based on internal values (lost/gained energy) instead of external values (consumed/provided energy). Improved doc.

9 months agoremove parameter depth of discharge from battery instanciation
Adrien Gougeon [Thu, 13 Jul 2023 09:40:20 +0000 (11:40 +0200)]
remove parameter depth of discharge from battery instanciation

9 months agoFix misleading indentation.
Arnaud Giersch [Wed, 12 Jul 2023 07:47:31 +0000 (09:47 +0200)]
Fix misleading indentation.

9 months agoDisable real builds on jenkins/simgrid-qualif, hoping to avoid conflicts when both...
Arnaud Giersch [Tue, 11 Jul 2023 16:26:47 +0000 (18:26 +0200)]
Disable real builds on jenkins/simgrid-qualif, hoping to avoid conflicts when both simgrid and simgrid-qualif are online.

9 months agoremove battery_platform.xml from DefinePackage
Adrien Gougeon [Tue, 11 Jul 2023 10:50:10 +0000 (12:50 +0200)]
remove battery_platform.xml from DefinePackage

9 months agoremove unused battery parameters
Adrien Gougeon [Tue, 11 Jul 2023 10:28:48 +0000 (12:28 +0200)]
remove unused battery parameters

9 months agoadd new battery plugin doc
Adrien Gougeon [Tue, 11 Jul 2023 09:36:04 +0000 (11:36 +0200)]
add new battery plugin doc

9 months agotry to fix initializer order
Adrien Gougeon [Wed, 28 Jun 2023 16:05:39 +0000 (18:05 +0200)]
try to fix initializer order

9 months agoComplete revamp of battery plugin
Adrien Gougeon [Wed, 28 Jun 2023 15:32:58 +0000 (17:32 +0200)]
Complete revamp of battery plugin

9 months agoPlease Asan.
Arnaud Giersch [Tue, 11 Jul 2023 10:04:38 +0000 (12:04 +0200)]
Please Asan.

See commit 63225b9520042ef129adb975132fe68ec5710988
"Explicit instanciation of xbt::Extendable<> specializations." for details.

9 months agoRemove statement with no effect.
Arnaud Giersch [Tue, 11 Jul 2023 09:44:23 +0000 (11:44 +0200)]
Remove statement with no effect.

9 months agoComplete commit afc02b7104 (Use std::string_view).
Arnaud Giersch [Tue, 11 Jul 2023 08:36:08 +0000 (10:36 +0200)]
Complete commit afc02b7104 (Use std::string_view).

10 months agoMerge remote-tracking branch 'origin/master' into jbod
Fred Suter [Mon, 10 Jul 2023 14:38:46 +0000 (10:38 -0400)]
Merge remote-tracking branch 'origin/master' into jbod

10 months agoadding a JBOD concept
Fred Suter [Mon, 3 Jul 2023 18:56:53 +0000 (14:56 -0400)]
adding a JBOD concept

10 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 10 Jul 2023 13:11:42 +0000 (15:11 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

10 months agoNew example: activityset-waitallfor
Martin Quinson [Mon, 10 Jul 2023 12:24:55 +0000 (14:24 +0200)]
New example: activityset-waitallfor

10 months agoupdate comm status BEFORE sending signals
Adrien Gougeon [Mon, 10 Jul 2023 10:51:24 +0000 (12:51 +0200)]
update comm status BEFORE sending signals

10 months agoMissing includes (for gcc-14?)
Arnaud Giersch [Mon, 10 Jul 2023 09:44:21 +0000 (11:44 +0200)]
Missing includes (for gcc-14?)

10 months agoCosmetics (codefactor.io).
Arnaud Giersch [Mon, 10 Jul 2023 09:32:53 +0000 (11:32 +0200)]
Cosmetics (codefactor.io).

10 months agoUse std::string_view.
Arnaud Giersch [Mon, 10 Jul 2023 08:59:27 +0000 (10:59 +0200)]
Use std::string_view.

10 months agoMake function "const", and void copy by returning a const reference.
Arnaud Giersch [Mon, 10 Jul 2023 08:56:18 +0000 (10:56 +0200)]
Make function "const", and void copy by returning a const reference.

10 months agoConvert an example to the new activity sets
Martin Quinson [Mon, 10 Jul 2023 00:17:05 +0000 (02:17 +0200)]
Convert an example to the new activity sets

10 months agoDrop some redundant examples
Martin Quinson [Sun, 9 Jul 2023 23:49:19 +0000 (01:49 +0200)]
Drop some redundant examples

10 months agoConvert 2 examples from Activity::wait_any to ActivitySet
Martin Quinson [Sun, 9 Jul 2023 23:45:54 +0000 (01:45 +0200)]
Convert 2 examples from Activity::wait_any to ActivitySet

10 months agoImplement ActivitySet
Martin Quinson [Sun, 9 Jul 2023 23:25:41 +0000 (01:25 +0200)]
Implement ActivitySet

10 months agoNo clang-format for auto-generated files.
Arnaud Giersch [Fri, 7 Jul 2023 13:04:02 +0000 (15:04 +0200)]
No clang-format for auto-generated files.

[ci-skip]

10 months agoFix a MC serialization bug around WaitAny
Martin Quinson [Sun, 2 Jul 2023 13:29:04 +0000 (15:29 +0200)]
Fix a MC serialization bug around WaitAny

The individual wait activities that are embeeded in a WaitAny or
TestAny do not have any call_location associated, as the call_location
is associated to the observer, not the activity. The previous code was
thus not serializing the call location of all those activities while
serializing them, but it's a pity because the Checker code deserialize
these call_location in any case. This was resulting in the beginning
of the next transition to be used as location, naturally breaking the
deserialization afterward.

Instead, the call location of the TestAny or WaitAny is now used for
each and every wait activities embedded in the *Any call. This may
challenge the MC implementation, but it sounds like a sensible idea:
In such case, the location of the embedded wait IS the one of the
englobing TestAny or WaitAny call.

In some sense, that's very close to how we handle the timeout that is
given by the englobing call, not the embedded ones, in such situation.

10 months agoDon't send sbuff and rbuff to the MC checker
Martin Quinson [Sat, 1 Jul 2023 16:44:39 +0000 (18:44 +0200)]
Don't send sbuff and rbuff to the MC checker

They used to be included in the dependency computation, but that's a
very bad idea, as the same communication can land on the same address,
so the checker cannot get sure information from there.

This simplifies the MC-App protocol, as we have a bug somewhere.

10 months agoDon't break MC protocol if the user code has space in filenames
Martin Quinson [Sat, 1 Jul 2023 16:24:18 +0000 (18:24 +0200)]
Don't break MC protocol if the user code has space in filenames

10 months agoMore verbose error and debug messages
Martin Quinson [Sat, 1 Jul 2023 16:20:53 +0000 (18:20 +0200)]
More verbose error and debug messages

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

10 months agoShow the user-level call in MC backtraces
Martin Quinson [Thu, 29 Jun 2023 20:31:05 +0000 (22:31 +0200)]
Show the user-level call in MC backtraces

10 months agoMerge branch 'master' into 'master'
Martin Quinson [Thu, 29 Jun 2023 13:33:09 +0000 (13:33 +0000)]
Merge branch 'master' into 'master'

Add trace call for MPI operations for checker side

See merge request simgrid/simgrid!164

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).