Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agonew attempt
adegomme [Mon, 24 Jan 2022 13:58:20 +0000 (13:58 +0000)]
new attempt

2 years agobigdft - fix fortran compiler for ntpoly
adegomme [Mon, 24 Jan 2022 10:20:04 +0000 (10:20 +0000)]
bigdft - fix fortran compiler for ntpoly

2 years agoEnable python in the stable and unstable docker images
Martin Quinson [Mon, 24 Jan 2022 10:20:16 +0000 (11:20 +0100)]
Enable python in the stable and unstable docker images

2 years agoThis docker is now based on simgrid/unstable so it should be rebuilt each week-end
Martin Quinson [Mon, 24 Jan 2022 09:55:24 +0000 (10:55 +0100)]
This docker is now based on simgrid/unstable so it should be rebuilt each week-end

[no-ci]

2 years agoadd fortran bindings for smpi_file_get/set_size
Your Name [Mon, 24 Jan 2022 09:19:38 +0000 (09:19 +0000)]
add fortran bindings for smpi_file_get/set_size

2 years agoupdate bigdft rcfile for ntpoly
Your Name [Mon, 24 Jan 2022 09:19:05 +0000 (09:19 +0000)]
update bigdft rcfile for ntpoly

2 years agoPython: Add platform-failures example, and extend Py to make it work
Martin Quinson [Sun, 23 Jan 2022 09:38:18 +0000 (10:38 +0100)]
Python: Add platform-failures example, and extend Py to make it work

2 years agoImplement the last (?) Python functions needed for the tutorial
Martin Quinson [Sun, 23 Jan 2022 01:19:43 +0000 (02:19 +0100)]
Implement the last (?) Python functions needed for the tutorial

2 years agoExtend the python bindings and cosmetics
Martin Quinson [Sat, 22 Jan 2022 23:46:39 +0000 (00:46 +0100)]
Extend the python bindings and cosmetics

2 years agoReally tiny optimization when the communication is failed already
Martin Quinson [Sat, 22 Jan 2022 23:44:53 +0000 (00:44 +0100)]
Really tiny optimization when the communication is failed already

2 years agoExtend a test to use Host::route_to
Martin Quinson [Sat, 22 Jan 2022 22:37:37 +0000 (23:37 +0100)]
Extend a test to use Host::route_to

2 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Sat, 22 Jan 2022 15:39:29 +0000 (16:39 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

2 years agoFurther fixups and cosmetics in the doc
Martin Quinson [Sat, 22 Jan 2022 15:33:23 +0000 (16:33 +0100)]
Further fixups and cosmetics in the doc

2 years agoMake Activity::on_completion take a const&, just like Comm::on_completion
Martin Quinson [Sat, 22 Jan 2022 14:32:31 +0000 (15:32 +0100)]
Make Activity::on_completion take a const&, just like Comm::on_completion

I think it's dangerous to have a static function of the same name and
differing prototype in a subclass, even more if the only difference is
the parameter const-ness.

2 years agoMany tiny documentation improvements
Martin Quinson [Sat, 22 Jan 2022 13:44:51 +0000 (14:44 +0100)]
Many tiny documentation improvements

- Fix links now that signals are hidden but *_cb functions provided
- Add some links from functions to examples
- Reference some previously unreferenced examples
- Fix some Doxygen errors

2 years agoChange how examples are presented: from itemize to subsections
Martin Quinson [Sat, 22 Jan 2022 12:12:55 +0000 (13:12 +0100)]
Change how examples are presented: from itemize to subsections

This will allow to point links to specific examples.

2 years ago[sonar] parameter check to avoid potential division by zero
SUTER Frederic [Fri, 21 Jan 2022 21:19:10 +0000 (22:19 +0100)]
[sonar] parameter check to avoid potential division by zero

2 years agofix java tesh files with new log category names
SUTER Frederic [Fri, 21 Jan 2022 08:55:03 +0000 (09:55 +0100)]
fix java tesh files with new log category names

2 years agoFix some more problems in the doc + cosmetics + extend python a bit
Martin Quinson [Fri, 21 Jan 2022 16:02:55 +0000 (17:02 +0100)]
Fix some more problems in the doc + cosmetics + extend python a bit

2 years agoDocker: syntax error
Martin Quinson [Fri, 21 Jan 2022 14:22:05 +0000 (15:22 +0100)]
Docker: syntax error

2 years agoDocument simgrid.Engine.instance in Python
Martin Quinson [Fri, 21 Jan 2022 14:14:03 +0000 (15:14 +0100)]
Document simgrid.Engine.instance in Python

+ fix some doc issues

2 years agogh action: allow tuto-s4u to build on unstable, as I wish
Martin Quinson [Fri, 21 Jan 2022 14:10:21 +0000 (15:10 +0100)]
gh action: allow tuto-s4u to build on unstable, as I wish

2 years agoDocker: remove borken cruft to switch the user from Dockerfile
Martin Quinson [Fri, 21 Jan 2022 14:08:03 +0000 (15:08 +0100)]
Docker: remove borken cruft to switch the user from Dockerfile

2 years agoUpdate the action name
Martin Quinson [Fri, 21 Jan 2022 13:58:30 +0000 (14:58 +0100)]
Update the action name

2 years agosplit the action to build the s4u tuto docker image
Martin Quinson [Fri, 21 Jan 2022 13:54:16 +0000 (14:54 +0100)]
split the action to build the s4u tuto docker image

2 years agotutorials: run the dockers as a user
Martin Quinson [Fri, 21 Jan 2022 13:48:48 +0000 (14:48 +0100)]
tutorials: run the dockers as a user

2 years agoThe python tuto needs the unstable version of simgrid
Martin Quinson [Fri, 21 Jan 2022 14:32:05 +0000 (15:32 +0100)]
The python tuto needs the unstable version of simgrid

2 years agoPort the Algorithm tutorial to python
Martin Quinson [Fri, 21 Jan 2022 00:57:07 +0000 (01:57 +0100)]
Port the Algorithm tutorial to python

2 years agoFix makedistcheck
Martin Quinson [Thu, 20 Jan 2022 17:20:13 +0000 (18:20 +0100)]
Fix makedistcheck

2 years agoConvert the MasterWorker to python, in preparation to the tutorial PyConvertion
Martin Quinson [Thu, 20 Jan 2022 17:15:52 +0000 (18:15 +0100)]
Convert the MasterWorker to python, in preparation to the tutorial PyConvertion

2 years agoThe tuto will soon need python3
Martin Quinson [Thu, 20 Jan 2022 16:07:54 +0000 (17:07 +0100)]
The tuto will soon need python3

2 years agodoc: don't include files that were removed earlier
Martin Quinson [Thu, 20 Jan 2022 16:07:08 +0000 (17:07 +0100)]
doc: don't include files that were removed earlier

2 years agorework an example. less XML more programmatic
SUTER Frederic [Thu, 20 Jan 2022 16:06:03 +0000 (17:06 +0100)]
rework an example. less XML more programmatic

2 years agoforgot one
SUTER Frederic [Thu, 20 Jan 2022 14:46:47 +0000 (15:46 +0100)]
forgot one

2 years agofix java tesh files with new log category names
SUTER Frederic [Thu, 20 Jan 2022 14:45:47 +0000 (15:45 +0100)]
fix java tesh files with new log category names

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