Martin Quinson [Wed, 11 Oct 2023 10:35:09 +0000 (10:35 +0000)]
Merge branch 'task-dispatch' into 'master'
Task dispatch
See merge request simgrid/simgrid!175
Augustin Degomme [Tue, 10 Oct 2023 22:49:31 +0000 (00:49 +0200)]
apparently, deque is faster than list in our usecases
Adrien [Tue, 10 Oct 2023 14:30:21 +0000 (14:30 +0000)]
Merge branch 'master' into 'task-dispatch'
# Conflicts:
# docs/source/app_s4u.rst
# examples/cpp/CMakeLists.txt
# include/simgrid/s4u/Task.hpp
# src/s4u/s4u_Task.cpp
Adrien Gougeon [Tue, 10 Oct 2023 14:26:44 +0000 (16:26 +0200)]
update doc
Adrien Gougeon [Mon, 9 Oct 2023 15:51:47 +0000 (17:51 +0200)]
add possibility for a battery to be a simple connector and an example. add power change callback for chiller and update example. fix some issues with batteries andchillers updates.
Fred Suter [Fri, 6 Oct 2023 19:54:26 +0000 (15:54 -0400)]
Use Ptr to store disks of a HostImpl, do not care about cleanup anymore
Fred Suter [Thu, 5 Oct 2023 12:30:25 +0000 (08:30 -0400)]
Reducing the number of refcount changes for ActivityImpl
Adrien Gougeon [Mon, 2 Oct 2023 14:22:11 +0000 (16:22 +0200)]
remove unused variable
Adrien Gougeon [Mon, 2 Oct 2023 14:12:28 +0000 (16:12 +0200)]
remove unused variable
Adrien Gougeon [Mon, 2 Oct 2023 14:03:23 +0000 (16:03 +0200)]
fix all Task examples to support the new Task format with dispatcher and collector
Adrien Gougeon [Thu, 28 Sep 2023 08:26:02 +0000 (10:26 +0200)]
add battery-chiller-solar example.
Fred Suter [Wed, 27 Sep 2023 13:14:24 +0000 (09:14 -0400)]
simplify and remove silly debug
Fred Suter [Tue, 26 Sep 2023 21:04:27 +0000 (17:04 -0400)]
prefer returning a NetZone than a pair of NetPoints and adapt callbacks for fancy topologies accordingly
Adrien Gougeon [Mon, 25 Sep 2023 10:04:10 +0000 (12:04 +0200)]
add possibility to dispatch tasks (work in progress)
Fred Suter [Sun, 24 Sep 2023 19:23:51 +0000 (15:23 -0400)]
further progress towards deprecation of complex add_route
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
Fred Suter [Fri, 22 Sep 2023 03:07:25 +0000 (23:07 -0400)]
simplify routing_cluster.cpp
Fred Suter [Fri, 22 Sep 2023 02:51:48 +0000 (22:51 -0400)]
simplify supernode.cpp
Fred Suter [Fri, 22 Sep 2023 02:43:26 +0000 (22:43 -0400)]
simplify griffon.cpp
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
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)
Fred Suter [Thu, 21 Sep 2023 15:39:29 +0000 (11:39 -0400)]
Explicitely create, store, and expose NetZone gateway(s)
Fred Suter [Thu, 21 Sep 2023 13:18:46 +0000 (09:18 -0400)]
we don't do AS anymore
Adrien Gougeon [Thu, 21 Sep 2023 13:30:29 +0000 (15:30 +0200)]
add doc about parallel tasks. fix some warning in plugins doc
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
Adrien [Thu, 21 Sep 2023 07:38:24 +0000 (07:38 +0000)]
Undo changelog modification. add new entry on top instead
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
Adrien Gougeon [Mon, 18 Sep 2023 16:07:51 +0000 (18:07 +0200)]
undo changelog modification
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
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
Adrien Gougeon [Mon, 18 Sep 2023 12:33:48 +0000 (14:33 +0200)]
werror reorder
Adrien Gougeon [Mon, 18 Sep 2023 12:26:14 +0000 (14:26 +0200)]
add chiller plugin with doc and an example
Adrien Gougeon [Fri, 15 Sep 2023 07:29:10 +0000 (09:29 +0200)]
remove deprecated include
Adrien Gougeon [Thu, 14 Sep 2023 14:51:21 +0000 (16:51 +0200)]
clang-format
Adrien Gougeon [Thu, 14 Sep 2023 14:47:43 +0000 (16:47 +0200)]
add keyword horizontal scaling to doc
Adrien Gougeon [Thu, 14 Sep 2023 14:40:14 +0000 (16:40 +0200)]
photovoltaic plugin revamp, now called solar panel
Adrien Gougeon [Thu, 14 Sep 2023 11:48:15 +0000 (13:48 +0200)]
add the possibility to increase the parallelism degree of Tasks
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
Martin Quinson [Wed, 13 Sep 2023 13:46:28 +0000 (15:46 +0200)]
Document recent change
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
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'
Martin Quinson [Tue, 25 Jul 2023 18:59:15 +0000 (20:59 +0200)]
fix pip builds
Martin Quinson [Tue, 25 Jul 2023 18:55:25 +0000 (20:55 +0200)]
Also deprecate Activity::waitany/waitall/testany
Martin Quinson [Tue, 25 Jul 2023 18:31:02 +0000 (20:31 +0200)]
Deprecate/remove Comm::wait_any and Comm::wait_any_for
Martin Quinson [Tue, 25 Jul 2023 18:07:15 +0000 (20:07 +0200)]
Stop using comm-waitany in a test which contains NetworkFailures
Martin Quinson [Tue, 25 Jul 2023 17:01:00 +0000 (19:01 +0200)]
remove Comm::testany()
Martin Quinson [Tue, 25 Jul 2023 16:45:01 +0000 (18:45 +0200)]
Deprecate 2 C functions
Martin Quinson [Tue, 25 Jul 2023 16:27:49 +0000 (18:27 +0200)]
Deprecate/remove Io::waitany() and waitanyfor()
Martin Quinson [Tue, 25 Jul 2023 15:47:12 +0000 (17:47 +0200)]
Deprecate sg_comm_wait_all in C
Martin Quinson [Mon, 24 Jul 2023 23:10:38 +0000 (01:10 +0200)]
Kill an unused variable
Martin Quinson [Mon, 24 Jul 2023 22:53:44 +0000 (00:53 +0200)]
Fix make distcheck
Martin Quinson [Mon, 24 Jul 2023 22:51:36 +0000 (00:51 +0200)]
Comm::waitallfor() is gone too
Martin Quinson [Mon, 24 Jul 2023 22:30:54 +0000 (00:30 +0200)]
Deprecate Comm::wait_all(). Remove it in python
Martin Quinson [Mon, 24 Jul 2023 22:10:04 +0000 (00:10 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid
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.
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
Martin Quinson [Fri, 21 Jul 2023 23:03:03 +0000 (01:03 +0200)]
C bindings of ActivitySet, along with 4 examples
Fred Suter [Fri, 21 Jul 2023 21:08:46 +0000 (17:08 -0400)]
explicitely sealing zones (by precaution
Martin Quinson [Fri, 21 Jul 2023 21:03:18 +0000 (23:03 +0200)]
fix pip builds
Fred Suter [Fri, 21 Jul 2023 20:16:23 +0000 (16:16 -0400)]
avoid usage of Comm::wait_all() in examples
Martin Quinson [Fri, 21 Jul 2023 19:37:13 +0000 (21:37 +0200)]
cosmetics
Adrien Gougeon [Fri, 21 Jul 2023 18:23:47 +0000 (20:23 +0200)]
add nominal charge and discharge power to batteries
Martin Quinson [Fri, 21 Jul 2023 18:09:21 +0000 (20:09 +0200)]
Complete the other activityset examples in python
Martin Quinson [Fri, 21 Jul 2023 16:56:39 +0000 (18:56 +0200)]
Python bindings of the ActivitySet, and add one example
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
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 :(
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
Fred Suter [Thu, 20 Jul 2023 17:24:34 +0000 (13:24 -0400)]
move example
Fred Suter [Thu, 20 Jul 2023 16:44:03 +0000 (12:44 -0400)]
Merge branch 'master' into jbod
Fred Suter [Thu, 20 Jul 2023 16:41:32 +0000 (12:41 -0400)]
small rewrites [no-ci]
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
Martin Quinson [Thu, 20 Jul 2023 09:46:04 +0000 (11:46 +0200)]
Introduce SMPI_app_instance_join()
Martin Quinson [Wed, 19 Jul 2023 23:54:23 +0000 (01:54 +0200)]
Add a add_route with s4u::Link instead of LinkInRoute
Martin Quinson [Wed, 19 Jul 2023 22:47:38 +0000 (00:47 +0200)]
The 'tests' target got renamed recently
Martin Quinson [Wed, 19 Jul 2023 22:10:08 +0000 (00:10 +0200)]
Add a add_route for hosts, without gateways
Martin Quinson [Tue, 18 Jul 2023 13:39:14 +0000 (15:39 +0200)]
typo [no-ci]
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'
Fred Suter [Mon, 17 Jul 2023 20:36:39 +0000 (16:36 -0400)]
use shared pointers in these examples
Fred Suter [Mon, 17 Jul 2023 19:47:48 +0000 (15:47 -0400)]
use ActivitySet when we call wait_any in examples
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
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.
Adrien Gougeon [Thu, 13 Jul 2023 09:40:20 +0000 (11:40 +0200)]
remove parameter depth of discharge from battery instanciation
Arnaud Giersch [Wed, 12 Jul 2023 07:47:31 +0000 (09:47 +0200)]
Fix misleading indentation.
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.
Adrien Gougeon [Tue, 11 Jul 2023 10:50:10 +0000 (12:50 +0200)]
remove battery_platform.xml from DefinePackage
Adrien Gougeon [Tue, 11 Jul 2023 10:28:48 +0000 (12:28 +0200)]
remove unused battery parameters
Adrien Gougeon [Tue, 11 Jul 2023 09:36:04 +0000 (11:36 +0200)]
add new battery plugin doc
Adrien Gougeon [Wed, 28 Jun 2023 16:05:39 +0000 (18:05 +0200)]
try to fix initializer order
Adrien Gougeon [Wed, 28 Jun 2023 15:32:58 +0000 (17:32 +0200)]
Complete revamp of battery plugin
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.
Arnaud Giersch [Tue, 11 Jul 2023 09:44:23 +0000 (11:44 +0200)]
Remove statement with no effect.
Arnaud Giersch [Tue, 11 Jul 2023 08:36:08 +0000 (10:36 +0200)]
Complete commit
afc02b7104 (Use std::string_view).
Fred Suter [Mon, 10 Jul 2023 14:38:46 +0000 (10:38 -0400)]
Merge remote-tracking branch 'origin/master' into jbod
Fred Suter [Mon, 3 Jul 2023 18:56:53 +0000 (14:56 -0400)]
adding a JBOD concept
Martin Quinson [Mon, 10 Jul 2023 13:11:42 +0000 (15:11 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 10 Jul 2023 12:24:55 +0000 (14:24 +0200)]
New example: activityset-waitallfor
Adrien Gougeon [Mon, 10 Jul 2023 10:51:24 +0000 (12:51 +0200)]
update comm status BEFORE sending signals
Arnaud Giersch [Mon, 10 Jul 2023 09:44:21 +0000 (11:44 +0200)]
Missing includes (for gcc-14?)
Arnaud Giersch [Mon, 10 Jul 2023 09:32:53 +0000 (11:32 +0200)]
Cosmetics (codefactor.io).
Arnaud Giersch [Mon, 10 Jul 2023 08:59:27 +0000 (10:59 +0200)]
Use std::string_view.