Adrien Gougeon [Thu, 2 Nov 2023 16:52:13 +0000 (17:52 +0100)]
add comment about chiller/battery plugins. Fix chiller doc not showing
Martin Quinson [Mon, 30 Oct 2023 04:01:36 +0000 (05:01 +0100)]
Fix make distcheck for Fred :)
Martin Quinson [Mon, 30 Oct 2023 02:59:21 +0000 (02:59 +0000)]
Merge branch 'mq' into 'master'
Message queues
See merge request simgrid/simgrid!176
Martin Quinson [Mon, 30 Oct 2023 02:36:31 +0000 (02:36 +0000)]
Merge branch 'example-battery-chiller-solar' into 'master'
add battery-chiller-solar example.
See merge request simgrid/simgrid!174
Augustin Degomme [Sun, 29 Oct 2023 22:26:53 +0000 (23:26 +0100)]
second part of bigdft fix
Augustin Degomme [Sun, 29 Oct 2023 21:22:20 +0000 (22:22 +0100)]
bigdft - work around issue with ntpoly 3.0.0
Augustin Degomme [Sun, 29 Oct 2023 20:16:04 +0000 (21:16 +0100)]
starpu: oops, uncomment lines [ci-skip]
Augustin Degomme [Sun, 29 Oct 2023 20:04:42 +0000 (21:04 +0100)]
starpu: fix url for 1.3 [ci-skip]
Augustin Degomme [Sun, 29 Oct 2023 19:09:20 +0000 (20:09 +0100)]
starpu: change URL of tarballs... Nothing new was tested since 1year and a half ?
Martin Quinson [Sun, 29 Oct 2023 16:21:23 +0000 (17:21 +0100)]
Ninja verbose build is not like the Makefile ones
Martin Quinson [Sun, 29 Oct 2023 16:15:45 +0000 (17:15 +0100)]
jenkins: use ninja when available as it's a few percent faster
Martin Quinson [Sun, 29 Oct 2023 16:04:06 +0000 (17:04 +0100)]
Change the way we're inserting elements in this map
This is an attempt to work around this segfaut on FreeBSD:
==72834== Invalid read of size 1
==72834== at 0x4A09B22: __is_long (include/c++/v1/string:1445)
==72834== by 0x4A09B22: __get_pointer (include/c++/v1/string:1544)
==72834== by 0x4A09B22: data (include/c++/v1/string:1251)
==72834== by 0x4A09B22: operator basic_string_view (include/c++/v1/string:879)
==72834== by 0x4A09B22: compare (include/c++/v1/string:3845)
==72834== by 0x4A09B22: operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > (include/c++/v1/string:4072)
==72834== by 0x4A09B22: operator()<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > &, const std::__1::basic_string<char, std::__1::char_traits< char>, std::__1::allocator<char> > &> (include/c++/v1/__functional/operations.h:499)
==72834== by 0x4A09B22: operator() (include/c++/v1/map:577)
==72834== by 0x4A09B22: std::__1::__tree_node_base<void*>*& std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::intrusive_ptr<simgrid::kernel::resource::DiskImpl> >, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__ value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::intrusive_ptr<simgrid::kernel::resource::DiskImpl> >, std::__1::less<void>, true>, st d::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::intrusive_ptr<simgrid::kernel::resource::DiskImpl> > > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*&, std::__1::basic_strin g<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (include/c++/v1/__tree:1977)
==72834== by 0x4A091E0: __emplace_unique_key_args<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, const std::__1::piecewise_construct_t &, std::__1: :tuple<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > &>, std::__1::tuple<> > (include/c++/v1/__tree:2093)
==72834== by 0x4A091E0: std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::intrusive_ptr<simgrid::kernel::resource::DiskImpl>, std ::__1::less<void>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, boost::intrusive_ptr<simgrid::kernel::resou rce::DiskImpl> > > >::operator[](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (include/c++/v1/map:1588)
==72834== by 0x498CD41: UnknownInlinedFun (HostImpl.cpp:240)
==72834== by 0x498CD41: operator() (s4u_Host.cpp:356)
==72834== by 0x498CD41: simcall_answered<(lambda at /builds/workspace/SimGrid/build_mode/Debug/node/freebsd/build/simgrid-3.34.1/src/s4u/s4u_Host.cpp:354:42)> (simix.hpp:49)
==72834== by 0x498CD41: simgrid::s4u::Host::create_disk(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, double) (s4u_Host.cpp:354)
==72834== by 0x4AE9A23: simgrid::plugin::Jbod::create_jbod(simgrid::s4u::NetZone*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, double, un signed int, simgrid::plugin::Jbod::RAID, double, double) (jbod.cpp:30)
==72834== by 0x401C2A: main (examples/cpp/plugin-jbod/s4u-plugin-jbod.cpp:43)
==72834== Address 0xffffffff00000023 is not stack'd, malloc'd or (recently) free'd
Martin Quinson [Sun, 29 Oct 2023 15:38:58 +0000 (16:38 +0100)]
tesh: disable the auto-valgrind option in the test running tesh from tesh
Martin Quinson [Sun, 29 Oct 2023 14:05:54 +0000 (15:05 +0100)]
tesh: rerun the command in valgrind if it segfaults
This is particuly useful when experiencing segfaults in our test suite
on some exotic OS that has valgrind (say hello to FreeBSD here)
Martin Quinson [Sun, 29 Oct 2023 13:41:10 +0000 (14:41 +0100)]
tesh: report when the command got signaled in addition to output mismatch
Martin Quinson [Sun, 29 Oct 2023 12:51:14 +0000 (13:51 +0100)]
Fix build with ns3 v3.36+
Martin Quinson [Sat, 28 Oct 2023 21:00:20 +0000 (23:00 +0200)]
project_description: fix the RE catching the ns-3 version number
Martin Quinson [Fri, 27 Oct 2023 15:11:39 +0000 (17:11 +0200)]
Hack to make liveness work on Debian testing
A proper solution would be to make the liveness more robust, and in
particular the state equality mechanism. To that extend, we should
- change the code so that it computes a distance between states
instead of returning a simple boolean "it's different". That way,
we could know which states desserve a deeper debugging to
understand why equality detection is broken, simply by picking the
closest pair of states, that ought to be equal.
- Write a bunch of unit tests where we do 2 controled states and
compare their detected difference.
Maybe, we should trash all this code that is aging (no Dwarf5 support)
and is very complex anyway. A simpler way to get the same effects
could be to go through the compiler, and have clang generate a binary
that is fully introspectable. It sounds like a long and burdensome way
to go, however.
Hopefuly someone will do a library doing it in the future, so that we
just need to use their work.
Fred Suter [Fri, 27 Oct 2023 13:39:18 +0000 (09:39 -0400)]
bug fix in programmatic declaration of routes with regular link vector
Fred Suter [Fri, 27 Oct 2023 12:34:54 +0000 (08:34 -0400)]
Merge branch 'master' into mq
Martin Quinson [Fri, 27 Oct 2023 01:45:45 +0000 (03:45 +0200)]
Fix non-Linux builds
Martin Quinson [Fri, 27 Oct 2023 01:31:27 +0000 (03:31 +0200)]
Missing files, and fix make distcheck
Fred Suter [Thu, 26 Oct 2023 21:24:51 +0000 (17:24 -0400)]
Merge branch 'master' into mq
Fred Suter [Thu, 26 Oct 2023 21:23:51 +0000 (17:23 -0400)]
revalidate
Fred Suter [Thu, 26 Oct 2023 20:42:32 +0000 (16:42 -0400)]
extend example to add message queues
Fred Suter [Thu, 26 Oct 2023 20:30:49 +0000 (16:30 -0400)]
reindent
Fred Suter [Thu, 26 Oct 2023 20:29:23 +0000 (16:29 -0400)]
rework MessImpl
Fred Suter [Thu, 26 Oct 2023 20:26:56 +0000 (16:26 -0400)]
no size for message queue, and no 0-timeout either!
Fred Suter [Thu, 26 Oct 2023 20:20:51 +0000 (16:20 -0400)]
got issues with get_id() while debugging. Add protection
Fred Suter [Thu, 26 Oct 2023 20:19:03 +0000 (16:19 -0400)]
this line cost me a day. pimpl_ is inherited from ActivityImpl
Fred Suter [Thu, 26 Oct 2023 15:14:09 +0000 (11:14 -0400)]
handle Mess in Activity::wait_for
Fred Suter [Thu, 26 Oct 2023 15:12:23 +0000 (11:12 -0400)]
handle Mess in display actor status
Martin Quinson [Thu, 26 Oct 2023 14:26:11 +0000 (16:26 +0200)]
Document recent changes
Martin Quinson [Thu, 26 Oct 2023 04:22:09 +0000 (06:22 +0200)]
Finish up the implementation of recursive mutexes
Martin Quinson [Wed, 25 Oct 2023 17:57:00 +0000 (19:57 +0200)]
sthread: implement recursive mutexes (test broken so far)
The interception is here, but the S4U mutexes cannot be recursive yet.
Martin Quinson [Wed, 25 Oct 2023 17:55:33 +0000 (19:55 +0200)]
Reduce a bit the amount of cores used during tests, as my laptop is aging and MC is hammering hard
Martin Quinson [Wed, 25 Oct 2023 17:54:52 +0000 (19:54 +0200)]
sthread: pthread_mutex_trylock shall return 0 on success
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
Martin Quinson [Wed, 25 Oct 2023 17:49:33 +0000 (19:49 +0200)]
Forward declaration of another class
Martin Quinson [Wed, 25 Oct 2023 17:00:35 +0000 (19:00 +0200)]
Missing copyright headers
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
Martin Quinson [Tue, 24 Oct 2023 23:11:10 +0000 (01:11 +0200)]
Instructive error message
Martin Quinson [Tue, 24 Oct 2023 23:04:05 +0000 (01:04 +0200)]
Document our mutexes
Martin Quinson [Tue, 24 Oct 2023 23:03:10 +0000 (01:03 +0200)]
sthread object tracker: allow recursive object accesses
Fred Suter [Tue, 24 Oct 2023 22:00:52 +0000 (18:00 -0400)]
Merge branch 'master' into mq
Fred Suter [Thu, 19 Oct 2023 20:19:45 +0000 (16:19 -0400)]
add Message queue abstraction
Martin Quinson [Tue, 24 Oct 2023 21:30:11 +0000 (23:30 +0200)]
Document a variable
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
Martin Quinson [Tue, 24 Oct 2023 17:00:02 +0000 (19:00 +0200)]
Allow to disable EIGEN3 even if it's found on disk
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?
Martin Quinson [Mon, 23 Oct 2023 19:28:20 +0000 (21:28 +0200)]
Do install sthread on user's disk
Martin Quinson [Mon, 23 Oct 2023 19:05:54 +0000 (21:05 +0200)]
sthread_access: also take the function name in the access wrappers
Martin Quinson [Mon, 23 Oct 2023 16:11:00 +0000 (18:11 +0200)]
MBI: typo + fix one Sendrecv test
Martin Quinson [Mon, 23 Oct 2023 16:10:31 +0000 (18:10 +0200)]
Correctly check the params of Sendrecv for buffer being 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
Martin Quinson [Mon, 23 Oct 2023 02:25:11 +0000 (04:25 +0200)]
MBI: Fix P2PBuffering tests
Martin Quinson [Sun, 22 Oct 2023 22:31:18 +0000 (00:31 +0200)]
MBI: Adapt to the new InputHazard bugs, and fix them
Martin Quinson [Sat, 21 Oct 2023 13:25:14 +0000 (15:25 +0200)]
Fix the dependency of barrier from the same actor [Mathieu Laurent]
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)
Fred Suter [Thu, 12 Oct 2023 12:12:20 +0000 (15:12 +0300)]
enable use of IO streams with Ptask model
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