Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoCleanup in log categories
SUTER Frederic [Thu, 20 Jan 2022 13:25:02 +0000 (14:25 +0100)]
Cleanup in log categories

2 years agoglitch
SUTER Frederic [Thu, 20 Jan 2022 12:47:31 +0000 (13:47 +0100)]
glitch

2 years agomore XML cleanup
SUTER Frederic [Thu, 20 Jan 2022 10:16:49 +0000 (11:16 +0100)]
more XML cleanup

2 years agoadd an example for Comm::test_any (mimic that from umpire
SUTER Frederic [Thu, 20 Jan 2022 09:05:46 +0000 (10:05 +0100)]
add an example for Comm::test_any (mimic that from umpire

2 years agoremove 2 avoidable deployment files
SUTER Frederic [Thu, 20 Jan 2022 08:11:03 +0000 (09:11 +0100)]
remove 2 avoidable deployment files

2 years agoCurrent XBT_ATTRIB_DEPRECATED is v334. Fix last changes.
Arnaud Giersch [Mon, 17 Jan 2022 14:49:14 +0000 (15:49 +0100)]
Current XBT_ATTRIB_DEPRECATED is v334. Fix last changes.

2 years agoDeprecate functions unused after removal of SimDag.
Arnaud Giersch [Mon, 17 Jan 2022 14:37:06 +0000 (15:37 +0100)]
Deprecate functions unused after removal of SimDag.

2 years agoRename method, and make it return a boolean.
Arnaud Giersch [Mon, 17 Jan 2022 14:37:06 +0000 (15:37 +0100)]
Rename method, and make it return a boolean.

2 years agoOption -Wtsan is not recognized by older gcc.
Arnaud Giersch [Mon, 17 Jan 2022 08:52:24 +0000 (09:52 +0100)]
Option -Wtsan is not recognized by older gcc.

2 years ago'virtual' looks superfluous here.
Arnaud Giersch [Mon, 3 Jan 2022 12:34:30 +0000 (13:34 +0100)]
'virtual' looks superfluous here.

2 years agoDon't turn tsan compilation warnings into errors.
Arnaud Giersch [Wed, 12 Jan 2022 20:42:30 +0000 (21:42 +0100)]
Don't turn tsan compilation warnings into errors.

Recent gcc gives lots of warning: 'atomic_thread_fence' is not supported with '-fsanitize=thread'

2 years agoMake signals private in s4u::Actor.
Arnaud Giersch [Fri, 7 Jan 2022 10:36:53 +0000 (11:36 +0100)]
Make signals private in s4u::Actor.

Declarations from namespace s4u::this_actor are moved before declaration for s4u::Actor
to permit the "friend" declarations.

2 years agoRemove references to ancient functions.
Arnaud Giersch [Tue, 11 Jan 2022 12:50:44 +0000 (13:50 +0100)]
Remove references to ancient functions.

2 years agoPrefer std algorithms.
Arnaud Giersch [Mon, 10 Jan 2022 13:36:17 +0000 (14:36 +0100)]
Prefer std algorithms.

2 years agoPointer-to-const.
Arnaud Giersch [Mon, 10 Jan 2022 13:02:26 +0000 (14:02 +0100)]
Pointer-to-const.

2 years agoFix ccpcheck warning: Possible null pointer dereference: gateway.
Arnaud Giersch [Mon, 10 Jan 2022 12:57:28 +0000 (13:57 +0100)]
Fix ccpcheck warning: Possible null pointer dereference: gateway.

2 years agoforgot to build MC
SUTER Frederic [Thu, 13 Jan 2022 10:11:01 +0000 (11:11 +0100)]
forgot to build MC

2 years agoadd a blurb about SimDag/Jedule
SUTER Frederic [Thu, 13 Jan 2022 09:42:51 +0000 (10:42 +0100)]
add a blurb about SimDag/Jedule

2 years agomake more ActivityImpl fields private
SUTER Frederic [Thu, 13 Jan 2022 08:25:39 +0000 (09:25 +0100)]
make more ActivityImpl fields private

2 years agomake all VM signals private
SUTER Frederic [Wed, 12 Jan 2022 08:22:02 +0000 (09:22 +0100)]
make all VM signals private

2 years agoplease opensuse
SUTER Frederic [Tue, 11 Jan 2022 17:48:23 +0000 (18:48 +0100)]
please opensuse

2 years agocontinue the deprecation of instrumentation C interface
SUTER Frederic [Tue, 11 Jan 2022 14:36:35 +0000 (15:36 +0100)]
continue the deprecation of instrumentation C interface

Revert some previous changes as they caused many too conversions
(object->name->object->name) in the Java world even though the old Java
MSG interface is next on the chopping list ;)

2 years agopublic functions in header + fix deprecation info
SUTER Frederic [Tue, 11 Jan 2022 12:34:08 +0000 (13:34 +0100)]
public functions in header + fix deprecation info

2 years ago[sonar] const
SUTER Frederic [Tue, 11 Jan 2022 09:57:14 +0000 (10:57 +0100)]
[sonar] const

2 years agosimplify access to netponts
SUTER Frederic [Tue, 11 Jan 2022 09:51:44 +0000 (10:51 +0100)]
simplify access to netponts

2 years agodeprecate a large part of the old C tracing API
SUTER Frederic [Tue, 11 Jan 2022 09:19:31 +0000 (10:19 +0100)]
deprecate a large part of the old C tracing API

2 years agofix build. no nullptr with std::string
SUTER Frederic [Mon, 10 Jan 2022 13:16:22 +0000 (14:16 +0100)]
fix build. no nullptr with std::string

2 years agoc++-ify interface to instr
SUTER Frederic [Mon, 10 Jan 2022 12:41:22 +0000 (13:41 +0100)]
c++-ify interface to instr

2 years agofix conflict
SUTER Frederic [Mon, 10 Jan 2022 12:49:24 +0000 (13:49 +0100)]
fix conflict

2 years agocosmetics
SUTER Frederic [Mon, 10 Jan 2022 06:53:26 +0000 (07:53 +0100)]
cosmetics

2 years agoTry to switch the docker image we use for the pip job
Martin Quinson [Sat, 8 Jan 2022 15:39:26 +0000 (16:39 +0100)]
Try to switch the docker image we use for the pip job

2 years agoDon't hide pointer type.
Arnaud Giersch [Fri, 7 Jan 2022 15:12:07 +0000 (16:12 +0100)]
Don't hide pointer type.

Also avoid to use reserved identifier (starting with an underscore).

2 years agoUse distinct name for different variables.
Arnaud Giersch [Fri, 7 Jan 2022 10:26:05 +0000 (11:26 +0100)]
Use distinct name for different variables.

2 years agoPlease Sonar (constexpr for global constants; explicit cast).
Arnaud Giersch [Fri, 7 Jan 2022 09:29:40 +0000 (10:29 +0100)]
Please Sonar (constexpr for global constants; explicit cast).

2 years ago[sonar] bunch of smells
SUTER Frederic [Fri, 7 Jan 2022 17:37:35 +0000 (18:37 +0100)]
[sonar] bunch of smells

2 years agomerge functions
SUTER Frederic [Fri, 7 Jan 2022 09:08:28 +0000 (10:08 +0100)]
merge functions

2 years agoRevert "Blind guess to fix failing job "pip" on framagit/ci."
Arnaud Giersch [Thu, 6 Jan 2022 20:39:27 +0000 (21:39 +0100)]
Revert "Blind guess to fix failing job "pip" on framagit/ci."

This reverts commit 7faa87f1b9a3ca62a01c1c37f3258553b9ac1741.

[ci-skip]

2 years agoBlind guess to fix failing job "pip" on framagit/ci.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Blind guess to fix failing job "pip" on framagit/ci.

2 years agoRemove last bits of Lua bindings.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Remove last bits of Lua bindings.

2 years agoRemove last mentions of SimDAG in docs.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Remove last mentions of SimDAG in docs.

2 years agoTypo + whitespace cleanup.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Typo + whitespace cleanup.

2 years agoUse more efficient greedy quantifier in RE.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Use more efficient greedy quantifier in RE.

This is Sonar rule python:S6019
https://sonarcloud.io/organizations/simgrid/rules?open=python:S6019&rule_key=python:S6019

2 years agoCosmetics to please codefactor.io.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Cosmetics to please codefactor.io.

2 years agoUpdate copyright lines for 2022.
Arnaud Giersch [Thu, 6 Jan 2022 20:11:00 +0000 (21:11 +0100)]
Update copyright lines for 2022.

2 years ago[ci-skip] Flags job in jenkins: cleanup more agressively.
Augustin Degomme [Thu, 6 Jan 2022 17:19:29 +0000 (17:19 +0000)]
[ci-skip] Flags job in jenkins: cleanup more agressively.

2 years agoplug leak
SUTER Frederic [Thu, 6 Jan 2022 15:40:27 +0000 (16:40 +0100)]
plug leak

2 years agoMerge branch 'appveyor' of github.com:simgrid/simgrid
Martin Quinson [Thu, 6 Jan 2022 12:30:45 +0000 (13:30 +0100)]
Merge branch 'appveyor' of github.com:simgrid/simgrid

2 years agoremove now unused variables
SUTER Frederic [Thu, 6 Jan 2022 11:13:19 +0000 (12:13 +0100)]
remove now unused variables

2 years agodrop the old Lua bindings for programmatic platform creation
SUTER Frederic [Thu, 6 Jan 2022 10:57:26 +0000 (11:57 +0100)]
drop the old Lua bindings for programmatic platform creation

2 years agoFix java/win32 tests.
Arnaud Giersch [Thu, 6 Jan 2022 10:48:32 +0000 (11:48 +0100)]
Fix java/win32 tests.

2 years agofix lua build
SUTER Frederic [Thu, 6 Jan 2022 09:26:34 +0000 (10:26 +0100)]
fix lua build

2 years agocosmetics [no-ci]
Martin Quinson [Wed, 5 Jan 2022 22:11:41 +0000 (23:11 +0100)]
cosmetics [no-ci]

2 years agoreorganize *LinkImpl stuff
SUTER Frederic [Wed, 5 Jan 2022 14:56:37 +0000 (15:56 +0100)]
reorganize *LinkImpl stuff

2 years agoFix cover-evaluate-get-route-time test
Bruno Donassolo [Wed, 5 Jan 2022 16:21:21 +0000 (17:21 +0100)]
Fix cover-evaluate-get-route-time test

2 years agoMerge branch 'issue95' into 'master'
Bruno Donassolo [Wed, 5 Jan 2022 15:58:26 +0000 (15:58 +0000)]
Merge branch 'issue95' into 'master'

Fix issue#95 (multicore and ptask)

Closes #95

See merge request simgrid/simgrid!73

2 years agoMerge remote-tracking branch 'upstream/master' into issue95
Bruno Donassolo [Wed, 5 Jan 2022 14:41:42 +0000 (15:41 +0100)]
Merge remote-tracking branch 'upstream/master' into issue95

2 years agoFix MR74, workaround for s4u-network-ns3-wifi
Bruno Donassolo [Wed, 5 Jan 2022 14:32:04 +0000 (15:32 +0100)]
Fix MR74, workaround for s4u-network-ns3-wifi

Fix error in NS3 introduced at merge request #74.

Rebuild the routing table at each netzone seal.
In theory, this could be done once at the seal of the platform.
However, our current platform_created signal is called when the XML
parsing has finished. The seal occurs only later at the Engine::run.

2 years agoremove a bunch of dumb deployment files + simplify some examples
SUTER Frederic [Wed, 5 Jan 2022 12:16:15 +0000 (13:16 +0100)]
remove a bunch of dumb deployment files + simplify some examples

2 years agoremove last MSG example
SUTER Frederic [Wed, 5 Jan 2022 11:24:18 +0000 (12:24 +0100)]
remove last MSG example

2 years agoconvert MSG MC test to cpp
SUTER Frederic [Wed, 5 Jan 2022 10:04:05 +0000 (11:04 +0100)]
convert MSG MC test to cpp

2 years agoIntroduce on_???_cb functions to shield the signals
Martin Quinson [Wed, 5 Jan 2022 00:28:52 +0000 (01:28 +0100)]
Introduce on_???_cb functions to shield the signals

2 years agoMerge branch 'issue99' into 'master'
Bruno Donassolo [Tue, 4 Jan 2022 14:11:10 +0000 (14:11 +0000)]
Merge branch 'issue99' into 'master'

Mix XML and C++ platforms

Closes #99

See merge request simgrid/simgrid!74

2 years ago[no-ci] document removal of SimDag and Jedule
SUTER Frederic [Tue, 4 Jan 2022 08:02:34 +0000 (09:02 +0100)]
[no-ci] document removal of SimDag and Jedule

2 years agoMix XML and C++ platforms
Bruno Donassolo [Mon, 3 Jan 2022 18:12:47 +0000 (19:12 +0100)]
Mix XML and C++ platforms

Fixes https://framagit.org/simgrid/simgrid/-/issues/99

Main changes:
- Allows adding resources to a netzone after loading the XML platform.
- Disallows adding resources to a sealed netzone.
- Move the seal of resources from s4u::Engine:run to EngineImpl::run.
- Remove seal from load_platform (to permit adding resources to netzones)

2 years agoremove Jedule related stuff + fix SIMDAG_SRC->DAG_SRC issue
SUTER Frederic [Mon, 3 Jan 2022 09:46:58 +0000 (10:46 +0100)]
remove Jedule related stuff + fix SIMDAG_SRC->DAG_SRC issue

2 years ago[sonar] fix smells
SUTER Frederic [Mon, 3 Jan 2022 09:15:43 +0000 (10:15 +0100)]
[sonar] fix smells

2 years agorename src/simdag to src/dag and update other files accordingly
SUTER Frederic [Mon, 3 Jan 2022 08:36:25 +0000 (09:36 +0100)]
rename src/simdag to src/dag and update other files accordingly

2 years agoSecond attempt at fixing appveyor
Martin Quinson [Mon, 3 Jan 2022 08:25:34 +0000 (09:25 +0100)]
Second attempt at fixing appveyor

2 years agoforgot that in making Activities extendable. Should please Asan
SUTER Frederic [Mon, 3 Jan 2022 08:06:31 +0000 (09:06 +0100)]
forgot that in making Activities extendable. Should please Asan

2 years agoFix Java builds on native windows
Martin Quinson [Sun, 2 Jan 2022 23:53:09 +0000 (00:53 +0100)]
Fix Java builds on native windows

2 years agono more simdag in here
SUTER Frederic [Sun, 2 Jan 2022 19:13:52 +0000 (20:13 +0100)]
no more simdag in here

2 years agomove platforms and flatifier to teshsuite/platforms
SUTER Frederic [Sun, 2 Jan 2022 19:09:42 +0000 (20:09 +0100)]
move platforms and flatifier to teshsuite/platforms

2 years agoFix non-graphviz builds
Martin Quinson [Sun, 2 Jan 2022 17:05:56 +0000 (18:05 +0100)]
Fix non-graphviz builds

2 years agomerge dag parsers into a single file
SUTER Frederic [Sun, 2 Jan 2022 15:43:58 +0000 (16:43 +0100)]
merge dag parsers into a single file

2 years agoupdate
SUTER Frederic [Sun, 2 Jan 2022 15:15:49 +0000 (16:15 +0100)]
update

2 years agoKill both SimDag and Jedule bindings. Cleanups will follow
SUTER Frederic [Sun, 2 Jan 2022 14:41:17 +0000 (15:41 +0100)]
Kill both SimDag and Jedule bindings. Cleanups will follow

2 years agoadd missing include
SUTER Frederic [Sun, 2 Jan 2022 13:44:24 +0000 (14:44 +0100)]
add missing include

2 years ago[sonar] cleanup some recent smells
SUTER Frederic [Sun, 2 Jan 2022 13:24:14 +0000 (14:24 +0100)]
[sonar] cleanup some recent smells

2 years agoconvert the last two simdag examples. Simdag can die
SUTER Frederic [Sun, 2 Jan 2022 13:14:26 +0000 (14:14 +0100)]
convert the last two simdag examples. Simdag can die

2 years agoimplement Activity::destroy when you want to clean up things
SUTER Frederic [Wed, 29 Dec 2021 17:15:07 +0000 (18:15 +0100)]
implement Activity::destroy when you want to clean up things

2 years agoreplay: add an explicit message if an action is not found in the replay engine
Augustin Degomme [Wed, 29 Dec 2021 15:24:35 +0000 (16:24 +0100)]
replay: add an explicit message if an action is not found in the replay engine

2 years agoTI tracing. Fix source/destination rank in trace, in case the communicator is not...
Augustin Degomme [Wed, 29 Dec 2021 15:23:52 +0000 (16:23 +0100)]
TI tracing. Fix source/destination rank in trace, in case the communicator is not COMM_WORLD.
Print comm_world rank of the process, and not the rank in the other communicator, which is unknown at replay time.
todo: look everywhere if it's not needed elsewhere

2 years agocosmetics in java implem
Martin Quinson [Mon, 27 Dec 2021 21:43:34 +0000 (22:43 +0100)]
cosmetics in java implem

2 years agojava: setup a RAII wrapper to properly deal with GetStringUTFChars/ReleaseStringUTFChar
Martin Quinson [Mon, 27 Dec 2021 21:32:36 +0000 (22:32 +0100)]
java: setup a RAII wrapper to properly deal with GetStringUTFChars/ReleaseStringUTFChar

2 years agoMake lib_in_jar useful to work on Java
Martin Quinson [Mon, 27 Dec 2021 19:28:35 +0000 (20:28 +0100)]
Make lib_in_jar useful to work on Java

2 years agoFix java examples after reverting one of the 2 commits
Martin Quinson [Mon, 27 Dec 2021 18:17:59 +0000 (19:17 +0100)]
Fix java examples after reverting one of the 2 commits

2 years agoRevert "Only recompile the jar file when something changed"
Martin Quinson [Mon, 27 Dec 2021 18:14:30 +0000 (19:14 +0100)]
Revert "Only recompile the jar file when something changed"

This reverts commit a86468e9064dc2b625e6aef03e4ddd5b53700612.

2 years agoSimplify the cmake around java examples
Martin Quinson [Mon, 27 Dec 2021 16:38:15 +0000 (17:38 +0100)]
Simplify the cmake around java examples

2 years agoOnly recompile the jar file when something changed
Martin Quinson [Mon, 27 Dec 2021 15:33:24 +0000 (16:33 +0100)]
Only recompile the jar file when something changed

2 years ago[CR] Minor improvement.
Bruno Donassolo [Mon, 27 Dec 2021 12:17:51 +0000 (13:17 +0100)]
[CR] Minor improvement.

2 years agodoc: split the calibration sections in their own file
Martin Quinson [Sat, 25 Dec 2021 18:48:18 +0000 (19:48 +0100)]
doc: split the calibration sections in their own file

2 years agodoc: Change the TOC. 'Models' become a full section (plus many cosmetics all around)
Martin Quinson [Sat, 25 Dec 2021 18:09:56 +0000 (19:09 +0100)]
doc: Change the TOC. 'Models' become a full section (plus many cosmetics all around)

also fix make distcheck on the way

2 years agopartially plug leak. Do not see why one remains :-/
SUTER Frederic [Sun, 26 Dec 2021 11:35:51 +0000 (12:35 +0100)]
partially plug leak. Do not see why one remains :-/

2 years agobe sure the Exec is assigned before getting its host
SUTER Frederic [Sun, 26 Dec 2021 11:06:42 +0000 (12:06 +0100)]
be sure the Exec is assigned before getting its host

2 years agoDocument the last missing XML tag
Martin Quinson [Sat, 25 Dec 2021 11:45:32 +0000 (12:45 +0100)]
Document the last missing XML tag

2 years agoDocument <backbone> and cosmetics in the platform doc
Martin Quinson [Sat, 25 Dec 2021 11:29:31 +0000 (12:29 +0100)]
Document <backbone> and cosmetics in the platform doc

2 years agoDocument bypassRoute (and cosmetics)
Martin Quinson [Sat, 25 Dec 2021 00:14:11 +0000 (01:14 +0100)]
Document bypassRoute (and cosmetics)

2 years agoKill more deprecated content from the old doc
Martin Quinson [Fri, 24 Dec 2021 23:48:36 +0000 (00:48 +0100)]
Kill more deprecated content from the old doc

2 years agoImprove and unify the doc of <cluster>
Martin Quinson [Fri, 24 Dec 2021 23:01:03 +0000 (00:01 +0100)]
Improve and unify the doc of <cluster>

Also, kill the parts of the doxygen doc that are now covered by the
new version.

2 years agoMark in the DTD which tags are deprecated, and deprecate <model_prop>
Martin Quinson [Fri, 24 Dec 2021 15:21:11 +0000 (16:21 +0100)]
Mark in the DTD which tags are deprecated, and deprecate <model_prop>