Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
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>

2 years agoAdd bugfix in changelog
Bruno Donassolo [Fri, 24 Dec 2021 22:20:56 +0000 (23:20 +0100)]
Add bugfix in changelog

2 years agoFix make distcheck, as usual...
Bruno Donassolo [Fri, 24 Dec 2021 19:09:46 +0000 (20:09 +0100)]
Fix make distcheck, as usual...

2 years agoFix test (no timing changes)
Bruno Donassolo [Fri, 24 Dec 2021 18:36:11 +0000 (19:36 +0100)]
Fix test (no timing changes)

2 years agoFix multicore ptask with communications
Bruno Donassolo [Fri, 24 Dec 2021 18:28:52 +0000 (19:28 +0100)]
Fix multicore ptask with communications

Unify CPU and network bound calculation for ptask in L07Action::updateBound function.

Fix issue #95 (contd).

2 years agoadd the tesh file with expected behavior of unit test for issue #95
Mael Madon [Fri, 17 Sep 2021 14:41:35 +0000 (16:41 +0200)]
add the tesh file with expected behavior of unit test for issue #95

2 years agoExtend 1 unit test and add 1 other for multicore ptast exec. Both don't pass right...
Mael Madon [Fri, 17 Sep 2021 14:23:44 +0000 (16:23 +0200)]
Extend 1 unit test and add 1 other for multicore ptast exec. Both don't pass right now but should. Related to #95

2 years agofix too loose assert for changing pstate
Mael Madon [Thu, 16 Sep 2021 10:13:02 +0000 (12:13 +0200)]
fix too loose assert for changing pstate

2 years agocorrect computation time after changing pstate. Fix issue #95
Mael Madon [Thu, 16 Sep 2021 09:57:28 +0000 (11:57 +0200)]
correct computation time after changing pstate. Fix issue #95

2 years agoFix MC builds on 32bits
Martin Quinson [Fri, 24 Dec 2021 14:49:49 +0000 (15:49 +0100)]
Fix MC builds on 32bits

2 years agoReword the Platform::routing documentation
Martin Quinson [Fri, 24 Dec 2021 13:40:50 +0000 (14:40 +0100)]
Reword the Platform::routing documentation

I start to like the result, actually.

2 years agoSmall improvements to the doc
Martin Quinson [Thu, 23 Dec 2021 21:19:54 +0000 (22:19 +0100)]
Small improvements to the doc

2 years ago[sonar] bunch of const
SUTER Frederic [Fri, 24 Dec 2021 11:16:48 +0000 (12:16 +0100)]
[sonar] bunch of const

2 years agoremove old dot loader
SUTER Frederic [Fri, 24 Dec 2021 11:04:54 +0000 (12:04 +0100)]
remove old dot loader

2 years agoremove depredecated dag-dotload example
SUTER Frederic [Fri, 24 Dec 2021 11:01:16 +0000 (12:01 +0100)]
remove depredecated dag-dotload example

2 years agomodernize cycle detection in DAGs
SUTER Frederic [Fri, 24 Dec 2021 10:52:10 +0000 (11:52 +0100)]
modernize cycle detection in DAGs

2 years agojust keep cycle detection in dag-dotload example
SUTER Frederic [Fri, 24 Dec 2021 09:05:53 +0000 (10:05 +0100)]
just keep cycle detection in dag-dotload example

2 years agoremove deprecated simdag test example
SUTER Frederic [Fri, 24 Dec 2021 09:00:14 +0000 (10:00 +0100)]
remove deprecated simdag test example

2 years agoremove deprecated schedule-dotload example
SUTER Frederic [Fri, 24 Dec 2021 08:52:31 +0000 (09:52 +0100)]
remove deprecated schedule-dotload example

2 years agoremove deperecated ptg-dotload example
SUTER Frederic [Fri, 24 Dec 2021 08:46:03 +0000 (09:46 +0100)]
remove deperecated ptg-dotload example

2 years agoFurther cmake factorization
Martin Quinson [Thu, 23 Dec 2021 20:30:32 +0000 (21:30 +0100)]
Further cmake factorization

2 years agofix non-graphviz builds
Martin Quinson [Thu, 23 Dec 2021 19:31:49 +0000 (20:31 +0100)]
fix non-graphviz builds

2 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 23 Dec 2021 17:56:39 +0000 (18:56 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

2 years agoFactorize CMakeLists
Martin Quinson [Thu, 23 Dec 2021 16:36:07 +0000 (17:36 +0100)]
Factorize CMakeLists

2 years agoTentative NEWS file
Martin Quinson [Thu, 23 Dec 2021 16:10:51 +0000 (17:10 +0100)]
Tentative NEWS file

2 years agoRemove an obsolete example
Martin Quinson [Thu, 23 Dec 2021 15:49:57 +0000 (16:49 +0100)]
Remove an obsolete example

2 years agoreturn all dependencies and successors and let the user deal with them
SUTER Frederic [Thu, 23 Dec 2021 15:35:34 +0000 (16:35 +0100)]
return all dependencies and successors and let the user deal with them

2 years agos/_/-/
Martin Quinson [Thu, 23 Dec 2021 15:40:16 +0000 (16:40 +0100)]
s/_/-/

2 years agoupdate tests and examples after recent changes
SUTER Frederic [Thu, 23 Dec 2021 15:02:27 +0000 (16:02 +0100)]
update tests and examples after recent changes

2 years agoallow to retrieve the source and destination of a host-to-host Comm
SUTER Frederic [Thu, 23 Dec 2021 14:49:45 +0000 (15:49 +0100)]
allow to retrieve the source and destination of a host-to-host Comm

2 years agoMight be interesting to have start and finish time for Comm, Exec, and Io activities
SUTER Frederic [Thu, 23 Dec 2021 14:37:35 +0000 (15:37 +0100)]
Might be interesting to have start and finish time for Comm, Exec, and Io activities

2 years agooops
SUTER Frederic [Thu, 23 Dec 2021 13:11:59 +0000 (14:11 +0100)]
oops

2 years agostupid typo that breaks everything
SUTER Frederic [Thu, 23 Dec 2021 12:54:17 +0000 (13:54 +0100)]
stupid typo that breaks everything

2 years agofirst attempt to a DAG loader for s4u. To be improved and polished before release
SUTER Frederic [Thu, 23 Dec 2021 12:50:56 +0000 (13:50 +0100)]
first attempt to a DAG loader for s4u. To be improved and polished before release

2 years agogive access to first dependency and first successor of an activity
SUTER Frederic [Thu, 23 Dec 2021 12:47:58 +0000 (13:47 +0100)]
give access to first dependency and first successor of an activity

2 years agoadd a function to know how many successors an activity has
SUTER Frederic [Thu, 23 Dec 2021 10:09:48 +0000 (11:09 +0100)]
add a function to know how many successors an activity has

2 years agoFix make distcheck
Martin Quinson [Wed, 22 Dec 2021 22:34:31 +0000 (23:34 +0100)]
Fix make distcheck

2 years agoExtend the platf-failure example to show how to create an host with its trace program...
Martin Quinson [Wed, 22 Dec 2021 22:15:53 +0000 (23:15 +0100)]
Extend the platf-failure example to show how to create an host with its trace programatically

2 years agoShow how to programatically attach a state profile to an XML host in the relevant...
Martin Quinson [Wed, 22 Dec 2021 21:09:25 +0000 (22:09 +0100)]
Show how to programatically attach a state profile to an XML host in the relevant example

2 years agoconvert a simdag test to s4u DAGs
SUTER Frederic [Wed, 22 Dec 2021 16:36:30 +0000 (17:36 +0100)]
convert a simdag test to s4u DAGs

2 years agoimprove dag-comm example
SUTER Frederic [Wed, 22 Dec 2021 13:44:30 +0000 (14:44 +0100)]
improve dag-comm example

2 years agoenable sendto_init()->set_from(h1)->set_to(h2)
SUTER Frederic [Wed, 22 Dec 2021 13:43:49 +0000 (14:43 +0100)]
enable sendto_init()->set_from(h1)->set_to(h2)

2 years agoadd new exemple of dag with comm
SUTER Frederic [Wed, 22 Dec 2021 12:32:06 +0000 (13:32 +0100)]
add new exemple of dag with comm

2 years agofix performance issue in simdag tests
SUTER Frederic [Wed, 22 Dec 2021 11:57:30 +0000 (12:57 +0100)]
fix performance issue in simdag tests

2 years agofactor call to complete for done activities
SUTER Frederic [Wed, 22 Dec 2021 10:50:40 +0000 (11:50 +0100)]
factor call to complete for done activities

2 years agoCI: debian:testing now needs an entry point too
Martin Quinson [Wed, 22 Dec 2021 10:50:07 +0000 (11:50 +0100)]
CI: debian:testing now needs an entry point too

2 years agoActivity refactoring
SUTER Frederic [Wed, 22 Dec 2021 10:18:22 +0000 (11:18 +0100)]
Activity refactoring

Move on_completion signal, complete method, and actor_ + piface_ field
from Exec/Comm/Io to Actitity.

this implies to modifies all the callbacks on Exec::on_completion to
filter out other types of activities

2 years agoassociate a s4u::Comm to a kernel::activity::CommImpl (partial set for now because...
SUTER Frederic [Wed, 22 Dec 2021 08:11:49 +0000 (09:11 +0100)]
associate a s4u::Comm to a kernel::activity::CommImpl (partial set for now because of old simcalls)

2 years agoTiny simplifications now that we have a ActorImpl::is_maestro
Martin Quinson [Wed, 22 Dec 2021 10:07:30 +0000 (11:07 +0100)]
Tiny simplifications now that we have a ActorImpl::is_maestro

2 years agoInline another function, in EngineImpl::shutdown
Martin Quinson [Wed, 22 Dec 2021 00:43:22 +0000 (01:43 +0100)]
Inline another function, in EngineImpl::shutdown

2 years agoImplement a (cheap) ActorImpl::is_maestro()
Martin Quinson [Wed, 22 Dec 2021 00:39:09 +0000 (01:39 +0100)]
Implement a (cheap) ActorImpl::is_maestro()

2 years agoMC: chop chop chop
Martin Quinson [Tue, 21 Dec 2021 23:15:05 +0000 (00:15 +0100)]
MC: chop chop chop

2 years agomc: inline a function
Martin Quinson [Tue, 21 Dec 2021 22:49:23 +0000 (23:49 +0100)]
mc: inline a function

2 years agomc: Kill dead code
Martin Quinson [Tue, 21 Dec 2021 22:37:57 +0000 (23:37 +0100)]
mc: Kill dead code

2 years agohey pip!
SUTER Frederic [Tue, 21 Dec 2021 16:22:09 +0000 (17:22 +0100)]
hey pip!

2 years agonew example of dag with I/Os
SUTER Frederic [Tue, 21 Dec 2021 16:21:03 +0000 (17:21 +0100)]
new example of dag with I/Os