Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 months agosthread: do not intercept valgrind nor /bin/sh, and be verbose about what we intercept
Martin Quinson [Wed, 25 Oct 2023 17:53:16 +0000 (19:53 +0200)]
sthread: do not intercept valgrind nor /bin/sh, and be verbose about what we intercept

6 months agoForward declaration of another class
Martin Quinson [Wed, 25 Oct 2023 17:49:33 +0000 (19:49 +0200)]
Forward declaration of another class

6 months agoMissing copyright headers
Martin Quinson [Wed, 25 Oct 2023 17:00:35 +0000 (19:00 +0200)]
Missing copyright headers

6 months agosthread/ObjectAccess: bug fix + report when more than one location 'owns' an object
Martin Quinson [Wed, 25 Oct 2023 16:09:42 +0000 (18:09 +0200)]
sthread/ObjectAccess: bug fix + report when more than one location 'owns' an object

6 months agoInstructive error message
Martin Quinson [Tue, 24 Oct 2023 23:11:10 +0000 (01:11 +0200)]
Instructive error message

6 months agoDocument our mutexes
Martin Quinson [Tue, 24 Oct 2023 23:04:05 +0000 (01:04 +0200)]
Document our mutexes

6 months agosthread object tracker: allow recursive object accesses
Martin Quinson [Tue, 24 Oct 2023 23:03:10 +0000 (01:03 +0200)]
sthread object tracker: allow recursive object accesses

6 months agoMerge branch 'master' into mq
Fred Suter [Tue, 24 Oct 2023 22:00:52 +0000 (18:00 -0400)]
Merge branch 'master' into mq

6 months agoadd Message queue abstraction
Fred Suter [Thu, 19 Oct 2023 20:19:45 +0000 (16:19 -0400)]
add Message queue abstraction

6 months agoDocument a variable
Martin Quinson [Tue, 24 Oct 2023 21:30:11 +0000 (23:30 +0200)]
Document a variable

6 months agoThe Dart module is getting removed from cmake. Don't use it
Martin Quinson [Tue, 24 Oct 2023 17:31:16 +0000 (19:31 +0200)]
The Dart module is getting removed from cmake. Don't use it

6 months agoAllow to disable EIGEN3 even if it's found on disk
Martin Quinson [Tue, 24 Oct 2023 17:00:02 +0000 (19:00 +0200)]
Allow to disable EIGEN3 even if it's found on disk

6 months agoTypo + cosmetics in portability helpers
Martin Quinson [Tue, 24 Oct 2023 16:38:58 +0000 (18:38 +0200)]
Typo + cosmetics in portability helpers

Who's using a system without gettimeofday anyway?

6 months agoDo install sthread on user's disk
Martin Quinson [Mon, 23 Oct 2023 19:28:20 +0000 (21:28 +0200)]
Do install sthread on user's disk

6 months agosthread_access: also take the function name in the access wrappers
Martin Quinson [Mon, 23 Oct 2023 19:05:54 +0000 (21:05 +0200)]
sthread_access: also take the function name in the access wrappers

6 months agoMBI: typo + fix one Sendrecv test
Martin Quinson [Mon, 23 Oct 2023 16:11:00 +0000 (18:11 +0200)]
MBI: typo + fix one Sendrecv test

6 months agoCorrectly check the params of Sendrecv for buffer being disjoint
Martin Quinson [Mon, 23 Oct 2023 16:10:31 +0000 (18:10 +0200)]
Correctly check the params of Sendrecv for buffer being disjoint

6 months agoFix a bug found by MBI: Buffers of MPI_Sendrecv() must be disjoint
Martin Quinson [Mon, 23 Oct 2023 02:42:11 +0000 (04:42 +0200)]
Fix a bug found by MBI: Buffers of MPI_Sendrecv() must be disjoint

6 months agoMBI: Fix P2PBuffering tests
Martin Quinson [Mon, 23 Oct 2023 02:25:11 +0000 (04:25 +0200)]
MBI: Fix P2PBuffering tests

6 months agoMBI: Adapt to the new InputHazard bugs, and fix them
Martin Quinson [Sun, 22 Oct 2023 22:31:18 +0000 (00:31 +0200)]
MBI: Adapt to the new InputHazard bugs, and fix them

6 months agoFix the dependency of barrier from the same actor [Mathieu Laurent]
Martin Quinson [Sat, 21 Oct 2023 13:25:14 +0000 (15:25 +0200)]
Fix the dependency of barrier from the same actor [Mathieu Laurent]

6 months agoSMPI - delay allocation of mailboxes to save some memory in case they are not needed...
Augustin Degomme [Tue, 17 Oct 2023 08:19:06 +0000 (10:19 +0200)]
SMPI - delay allocation of mailboxes to save some memory in case they are not needed (when launched actors not really smpi actors)

6 months ago enable use of IO streams with Ptask model
Fred Suter [Thu, 12 Oct 2023 12:12:20 +0000 (15:12 +0300)]
 enable use of IO streams with Ptask model

6 months agoMerge branch 'task-dispatch' into 'master'
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

6 months agoapparently, deque is faster than list in our usecases
Augustin Degomme [Tue, 10 Oct 2023 22:49:31 +0000 (00:49 +0200)]
apparently, deque is faster than list in our usecases

6 months agoMerge branch 'master' into 'task-dispatch'
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

6 months agoupdate doc
Adrien Gougeon [Tue, 10 Oct 2023 14:26:44 +0000 (16:26 +0200)]
update doc

6 months agoadd possibility for a battery to be a simple connector and an example. add power...
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.

6 months agoUse Ptr to store disks of a HostImpl, do not care about cleanup anymore
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

6 months agoReducing the number of refcount changes for ActivityImpl
Fred Suter [Thu, 5 Oct 2023 12:30:25 +0000 (08:30 -0400)]
Reducing the number of refcount changes for ActivityImpl

6 months agoremove unused variable
Adrien Gougeon [Mon, 2 Oct 2023 14:22:11 +0000 (16:22 +0200)]
remove unused variable

6 months agoremove unused variable
Adrien Gougeon [Mon, 2 Oct 2023 14:12:28 +0000 (16:12 +0200)]
remove unused variable

6 months agofix all Task examples to support the new Task format with dispatcher and collector
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

6 months agoadd battery-chiller-solar example.
Adrien Gougeon [Thu, 28 Sep 2023 08:26:02 +0000 (10:26 +0200)]
add battery-chiller-solar example.

6 months agosimplify and remove silly debug
Fred Suter [Wed, 27 Sep 2023 13:14:24 +0000 (09:14 -0400)]
simplify and remove silly debug

7 months agoprefer returning a NetZone than a pair of NetPoints and adapt callbacks for fancy...
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

7 months agoadd possibility to dispatch tasks (work in progress)
Adrien Gougeon [Mon, 25 Sep 2023 10:04:10 +0000 (12:04 +0200)]
add possibility to dispatch tasks (work in progress)

7 months agofurther progress towards deprecation of complex add_route
Fred Suter [Sun, 24 Sep 2023 19:23:51 +0000 (15:23 -0400)]
further progress towards deprecation of complex add_route

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

7 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'