Martin Quinson [Sun, 22 Jan 2023 09:30:19 +0000 (10:30 +0100)]
extend example exec-failure to demonstrate state profiles
Martin Quinson [Sat, 21 Jan 2023 21:53:41 +0000 (22:53 +0100)]
Add a section on errors and exceptions to the API documentation
Martin Quinson [Sat, 21 Jan 2023 21:22:26 +0000 (22:22 +0100)]
Yet another example integrated in the doc
Martin Quinson [Sat, 21 Jan 2023 20:34:28 +0000 (21:34 +0100)]
Add another example to the doc
Martin Quinson [Sat, 21 Jan 2023 20:25:46 +0000 (21:25 +0100)]
Cosmetics in an example and integrate it to the doc
Martin Quinson [Sat, 21 Jan 2023 19:22:02 +0000 (20:22 +0100)]
Use debian:11 as a basis for the simgrid/build-deps docker image
This is an attempt to have the python module and the pages task of
gitlab ci using the same glibc version, so that the python doc gets
properly built.
Martin Quinson [Sat, 21 Jan 2023 17:04:34 +0000 (18:04 +0100)]
Move an example to the right section, and document it
It was called comm-serialize, but it's more about using
Link::set_concurrency_limit() so it's now called platform-comm-serialize
Also document another example (was supposed to be in previous commit
but anyway)
Martin Quinson [Sat, 21 Jan 2023 16:24:38 +0000 (17:24 +0100)]
Various fixups and cosmetics in the doc
Martin Quinson [Sat, 21 Jan 2023 08:43:24 +0000 (09:43 +0100)]
Make the test output easier to understand
Martin Quinson [Fri, 20 Jan 2023 22:59:52 +0000 (23:59 +0100)]
fix warnings :(
Martin Quinson [Fri, 20 Jan 2023 22:49:24 +0000 (23:49 +0100)]
Please the paranoid compilers that we love
Martin Quinson [Fri, 20 Jan 2023 22:34:50 +0000 (23:34 +0100)]
Add a test of CM02 timings with TCP-gamma (and fix the doc :sweat_smile:)
Martin Quinson [Fri, 20 Jan 2023 16:10:34 +0000 (17:10 +0100)]
Cosmetics in the messages of this test; no timing change
Martin Quinson [Fri, 20 Jan 2023 15:57:53 +0000 (16:57 +0100)]
Allow to disable the TCP windowing modeling by setting network/TCP-gamma to 0
Martin Quinson [Fri, 20 Jan 2023 14:26:29 +0000 (15:26 +0100)]
Move a tiny bit of surf to xbt
Augustin Degomme [Wed, 18 Jan 2023 13:03:51 +0000 (13:03 +0000)]
Merge branch 'master' into 'master'
add link to simgrid-fmi doc in sphinx doc
See merge request simgrid/simgrid!125
Adrien [Wed, 18 Jan 2023 13:03:50 +0000 (13:03 +0000)]
add link to simgrid-fmi doc in sphinx doc
Augustin Degomme [Tue, 17 Jan 2023 13:55:22 +0000 (13:55 +0000)]
Merge branch 'master' into 'master'
fix doc typo
See merge request simgrid/simgrid!124
Adrien Gougeon [Tue, 17 Jan 2023 13:41:49 +0000 (14:41 +0100)]
fix doc typo
Martin Quinson [Sun, 15 Jan 2023 23:47:52 +0000 (00:47 +0100)]
Kill a useless function, and rename another one
Martin Quinson [Sun, 15 Jan 2023 23:40:35 +0000 (00:40 +0100)]
another useless cleanup
Martin Quinson [Sun, 15 Jan 2023 23:25:58 +0000 (00:25 +0100)]
Kill a parameter that was always nullptr
Martin Quinson [Sun, 15 Jan 2023 23:18:07 +0000 (00:18 +0100)]
Move two generic functions from surf to xbt
Martin Quinson [Sun, 15 Jan 2023 23:08:34 +0000 (00:08 +0100)]
useless cleanups
Martin Quinson [Sun, 15 Jan 2023 22:23:15 +0000 (23:23 +0100)]
Kill another bunch of files in doc/ and move their content to docs/
Martin Quinson [Sun, 15 Jan 2023 18:57:17 +0000 (19:57 +0100)]
Don't clutter the archive with python notebooks [no-ci]
Martin Quinson [Sun, 15 Jan 2023 16:23:39 +0000 (17:23 +0100)]
Convert some insider doc to sphinx, and remove obsolete bits from doxygen sources
Martin Quinson [Sun, 15 Jan 2023 11:07:05 +0000 (12:07 +0100)]
doc: Remove one dupplicated image and a 10 years old unused graph that I don't understand anymore
Arnaud Giersch [Sun, 15 Jan 2023 13:49:37 +0000 (14:49 +0100)]
The colorize(simgrid-colorizer) utility does not exist anymore.
[ci-skip]
Martin Quinson [Sun, 15 Jan 2023 10:19:16 +0000 (11:19 +0100)]
Integrate a bit of the old FAQ in the modern doc, and reword Models.rst
The integrated part was about the CM02 network model, which
complements nicely the exiting doc about the TCP models, as it only
described LV08 so far.
While at it, I reworded and reorganized this documentation chapter. In
particular, I moved made the page sectionning easier to navigate, and
I moved the links to the non-performance models (routing and MC
compute model) as an annex of this page instead of having them
breaking the flow of the chapter introduction.
Arnaud Giersch [Sat, 14 Jan 2023 14:27:20 +0000 (15:27 +0100)]
Remove more references to MSG in documentation.
[ci-skip]
Arnaud Giersch [Sat, 14 Jan 2023 10:58:41 +0000 (11:58 +0100)]
Polish the polishing.
[ci-skip]
Arnaud Giersch [Sat, 14 Jan 2023 10:22:41 +0000 (11:22 +0100)]
Polish jenkins scripts without MSG.
Arnaud Giersch [Sat, 14 Jan 2023 10:19:07 +0000 (11:19 +0100)]
The right mode is FATAL_ERROR.
Martin Quinson [Sat, 14 Jan 2023 00:12:12 +0000 (01:12 +0100)]
Remove MSG. Its EOL was scheduled for 2020
Martin Quinson [Fri, 13 Jan 2023 19:58:31 +0000 (20:58 +0100)]
Java was removed
Fixes https://framagit.org/simgrid/simgrid/-/issues/18
Arnaud Giersch [Fri, 13 Jan 2023 16:17:34 +0000 (17:17 +0100)]
Fix MC+sthread+coverage.
Arnaud Giersch [Fri, 13 Jan 2023 15:39:38 +0000 (16:39 +0100)]
[smpi] Flush output streams after the run too.
Arnaud Giersch [Fri, 13 Jan 2023 14:52:59 +0000 (15:52 +0100)]
Directory "examples/deprecated/" vanished.
[ci-skip]
Arnaud Giersch [Fri, 13 Jan 2023 12:14:52 +0000 (13:14 +0100)]
Install SIGSEGV handler unconditionally.
Arnaud Giersch [Fri, 13 Jan 2023 10:21:04 +0000 (11:21 +0100)]
No need to compute coverage for Java anymore.
[ci-skip]
Arnaud Giersch [Fri, 13 Jan 2023 08:57:30 +0000 (09:57 +0100)]
Update scripts for Jenkins, now that Java is gone.
Arnaud Giersch [Fri, 13 Jan 2023 08:48:05 +0000 (09:48 +0100)]
I guess that this line was not meant to be removed.
Arnaud Giersch [Fri, 13 Jan 2023 08:35:59 +0000 (09:35 +0100)]
No need to install Java-related packages anymore.
Arnaud Giersch [Fri, 13 Jan 2023 08:33:40 +0000 (09:33 +0100)]
Minor cleanups.
Arnaud Giersch [Fri, 13 Jan 2023 08:29:14 +0000 (09:29 +0100)]
Typos.
Martin Quinson [Thu, 12 Jan 2023 23:43:59 +0000 (00:43 +0100)]
Fix the pages job on gitlab CI
Martin Quinson [Thu, 12 Jan 2023 11:13:37 +0000 (12:13 +0100)]
Remove Java bindings. They are not updated since maybe 10 years
We want to remove MSG and slowly transition to SimGrid 4.
Martin Quinson [Wed, 11 Jan 2023 14:05:32 +0000 (15:05 +0100)]
pthreads are not used anymore. Standard C++ ones are
Arnaud Giersch [Thu, 12 Jan 2023 09:04:19 +0000 (10:04 +0100)]
Kill remaining traces of win32 support.
Arnaud Giersch [Wed, 11 Jan 2023 08:38:10 +0000 (09:38 +0100)]
Remove ancient hack.
Arnaud Giersch [Fri, 6 Jan 2023 07:53:19 +0000 (08:53 +0100)]
Cosmetics: align with other similar declarations.
Martin Quinson [Tue, 10 Jan 2023 21:58:12 +0000 (22:58 +0100)]
Fix make distcheck
Martin Quinson [Sat, 7 Jan 2023 20:54:21 +0000 (21:54 +0100)]
Stop trying to build on native WIN32, it's broken anyway
Arnaud Giersch [Thu, 5 Jan 2023 15:44:08 +0000 (16:44 +0100)]
Fix tests built with PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF.
There was more (hidden) calls to inc_ref/dec_ref while the GIL was not held.
All of them are lambdas used as callbacks with a captured py::object.
As a workaround, the reference counter is increased before releasing the GIL,
and the lambda simply captures the raw pointers.
For more details, see the release notes for pybind11 versions 2.10.2, 2.10.3,
and the future 2.11.
Arnaud Giersch [Thu, 5 Jan 2023 13:54:39 +0000 (14:54 +0100)]
Ensure that the GIL is held when using inc_ref/dec_ref.
Arnaud Giersch [Wed, 4 Jan 2023 15:20:31 +0000 (16:20 +0100)]
Use C++ string for argument.
Arnaud Giersch [Wed, 4 Jan 2023 15:08:23 +0000 (16:08 +0100)]
Superfluous py::call_guard.
Arnaud Giersch [Thu, 5 Jan 2023 13:49:36 +0000 (14:49 +0100)]
Reindent.
Arnaud Giersch [Sun, 1 Jan 2023 10:55:08 +0000 (11:55 +0100)]
Update copyright lines for 2023.
Arnaud Giersch [Tue, 10 May 2022 13:45:07 +0000 (15:45 +0200)]
Use std::byte for bye-oriented data manipulation (sonar).
Arnaud Giersch [Fri, 16 Dec 2022 15:49:38 +0000 (16:49 +0100)]
Really exclude MBI scripts from Sonar analysis.
[ci-skip]
Arnaud Giersch [Fri, 9 Dec 2022 13:51:00 +0000 (14:51 +0100)]
LGTM.com will be shut down in the next days.
[ci-skip]
Arnaud Giersch [Thu, 8 Dec 2022 09:49:32 +0000 (10:49 +0100)]
Pointer to const++ (sonar).
[ci-skip]
Arnaud Giersch [Tue, 22 Nov 2022 12:43:36 +0000 (13:43 +0100)]
Use pointer-to-const when possible (Sonar).
Arnaud Giersch [Wed, 7 Dec 2022 09:58:58 +0000 (10:58 +0100)]
Redundant cast.
Arnaud Giersch [Tue, 6 Dec 2022 16:03:08 +0000 (17:03 +0100)]
Kill unimplemented declarations.
Arnaud Giersch [Tue, 6 Dec 2022 16:02:40 +0000 (17:02 +0100)]
Make the definition match the declaration in dtypes.h.
Arnaud Giersch [Tue, 6 Dec 2022 16:00:44 +0000 (17:00 +0100)]
Kill unused file.
Arnaud Giersch [Mon, 5 Dec 2022 14:56:30 +0000 (15:56 +0100)]
Reduce duplication of compiler flags for warnings.
Arnaud Giersch [Tue, 6 Dec 2022 10:46:01 +0000 (11:46 +0100)]
Add -Wextra to CFLAGS too.
... and fix associated warnings.
Arnaud Giersch [Mon, 5 Dec 2022 13:56:56 +0000 (14:56 +0100)]
Merge "else" branches.
Martin Quinson [Thu, 1 Dec 2022 21:25:32 +0000 (22:25 +0100)]
Document recent change [noci]
Martin Quinson [Wed, 30 Nov 2022 21:57:27 +0000 (22:57 +0100)]
Big fat error message when trying to enable MC on not supported archs
The previous message was ways too easy to miss [no-ci].
Augustin Degomme [Thu, 1 Dec 2022 17:56:23 +0000 (17:56 +0000)]
Merge branch 'faster_activity_removal' into 'master'
Replaced std::list by std::set to keep track of activities
See merge request simgrid/simgrid!123
Henri Casanova [Thu, 1 Dec 2022 17:33:13 +0000 (07:33 -1000)]
Replaced std::list by std::set to keep track of activities
Arnaud Giersch [Wed, 23 Nov 2022 16:12:52 +0000 (17:12 +0100)]
Cosmetics.
* use existing functions sthread_enable/disable
* useless casts
* static variables are already zero initialized
Arnaud Giersch [Wed, 23 Nov 2022 14:48:27 +0000 (15:48 +0100)]
Use C++ string_view.
Arnaud Giersch [Wed, 23 Nov 2022 14:29:39 +0000 (15:29 +0100)]
Replace static function by a lambda.
Arnaud Giersch [Tue, 22 Nov 2022 10:43:28 +0000 (11:43 +0100)]
Fix doc.
Fred Suter [Mon, 21 Nov 2022 17:03:00 +0000 (12:03 -0500)]
better failure handling for streams
Arnaud Giersch [Mon, 21 Nov 2022 14:36:37 +0000 (15:36 +0100)]
Address misc Sonar issues.
Arnaud Giersch [Mon, 21 Nov 2022 13:11:00 +0000 (14:11 +0100)]
Cosmetics: "transfert" -> "transfer".
Arnaud Giersch [Thu, 17 Nov 2022 15:19:56 +0000 (16:19 +0100)]
Kill useless computation.
Arnaud Giersch [Thu, 17 Nov 2022 15:18:40 +0000 (16:18 +0100)]
Check bounds.
Fred Suter [Thu, 10 Nov 2022 19:29:10 +0000 (14:29 -0500)]
[ci skip] some release notes about the I/O streams
Fred Suter [Wed, 9 Nov 2022 22:43:12 +0000 (17:43 -0500)]
Completely revise the way to deal with Streamed I/Os
Do not implement a new funky HostModel but handle the io_stream call
in CLM03. Basic idea (thx alegrand): start from a regular
NetworkAction and add some extra constraints if it is an I/O stream.
+ Pros: easy to implement and inherit of all the complexity of the
network part. This would have been too much work and redundancy with a
new model. No extra flag, just a new type of I/Os (similar to the
Comm::sendto spirit)
+ Cons: had to cheat a bit to NOT inherit some of the network model
(LV08) complexity for the I/O part (bandwidth factor). Still has to
find a way to not pay the network latency if the stream starts from a
disk. Had to add a little hack to reserve more space in communicate
for the extra constraints.
This new type of I/O is tested in teshsuite/s4u/io-stream (with the
basic CM02 model without crosstraffic to verify if bottlenecks are
correctly handled, and then with the default config)
Fred Suter [Tue, 8 Nov 2022 20:06:29 +0000 (15:06 -0500)]
this belongs to the Impl not a specific model
Fred Suter [Tue, 8 Nov 2022 19:24:03 +0000 (14:24 -0500)]
further simplification/cleanups
Arnaud Giersch [Tue, 8 Nov 2022 14:43:05 +0000 (15:43 +0100)]
Reduce the number of lambdas involved for python bindings.
Arnaud Giersch [Tue, 8 Nov 2022 09:59:41 +0000 (10:59 +0100)]
Try to fix build by installing binutils.
Arnaud Giersch [Mon, 7 Nov 2022 15:03:13 +0000 (16:03 +0100)]
Remove explicit conversion to std::string when it's not required.
Some of them were redundant.
Some of them became optional after the removal of xbt::string.
Arnaud Giersch [Fri, 4 Nov 2022 17:47:40 +0000 (18:47 +0100)]
Typo.
Arnaud Giersch [Thu, 3 Nov 2022 17:36:30 +0000 (18:36 +0100)]
Keep integer operations.
Arnaud Giersch [Thu, 3 Nov 2022 16:22:52 +0000 (17:22 +0100)]
Use boolean value.
Arnaud Giersch [Thu, 3 Nov 2022 13:46:07 +0000 (14:46 +0100)]
Mark "override" (Sonar).
Arnaud Giersch [Thu, 3 Nov 2022 13:39:48 +0000 (14:39 +0100)]
Cosmetics.
Fred Suter [Mon, 7 Nov 2022 21:25:24 +0000 (16:25 -0500)]
simplify the I/O stream thing A LOT. Might be plunged in CLM03 afterall
Martin Quinson [Sun, 6 Nov 2022 10:39:24 +0000 (11:39 +0100)]
Also ignore the brand new python 3.11 on appveyor
Martin Quinson [Sun, 6 Nov 2022 10:33:57 +0000 (11:33 +0100)]
Remove a work around for a 2017 bug in Python + Windows