Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agofinish the API under the new format
Martin Quinson [Sat, 1 Feb 2020 23:46:50 +0000 (00:46 +0100)]
finish the API under the new format

- Add some 'const' method decorators on my way
- We cannot drop the breathe extension of sphinx yet because autodoxy
  does not parse typedef (nor enums) yet so we use breathe for that
- Other bugs surfaced in autodoxy, but I'm short on time so I worked
  around them. See find-missing.ignore for a list of weird things.

4 years agoautodoxy: Don't ignore const-ness discrepencies in prototype
Martin Quinson [Sat, 1 Feb 2020 21:47:48 +0000 (22:47 +0100)]
autodoxy: Don't ignore const-ness discrepencies in prototype

It is fragile and makes the code less readable. Fixing the doc
actually works (I was conserned that the extra space could break
something), so there is no point.

4 years agono need to link the python doc to the C++ one with the new formating
Martin Quinson [Sat, 1 Feb 2020 20:40:23 +0000 (21:40 +0100)]
no need to link the python doc to the C++ one with the new formating

4 years agoAdd suppressions for TSan.
Arnaud Giersch [Sat, 1 Feb 2020 16:29:35 +0000 (17:29 +0100)]
Add suppressions for TSan.

4 years agoRename ASAN suppressions file.
Arnaud Giersch [Sat, 1 Feb 2020 13:14:50 +0000 (14:14 +0100)]
Rename ASAN suppressions file.

Existing suppressions seem useless nowadays, comment them.

4 years ago[sonar] const++
Arnaud Giersch [Sat, 1 Feb 2020 13:11:52 +0000 (14:11 +0100)]
[sonar] const++

4 years agodocument Virtual machines
Martin Quinson [Sat, 1 Feb 2020 15:25:52 +0000 (16:25 +0100)]
document Virtual machines

Even if I hate to document code that should change. Here, we should
kill the fact that s4u::VirtualMachine extends s4u::Host, as it only
complicates things for nothing. It probably requires that we
dupplicate the methods this_actor::exec() and Actor::set_host() to add
a variant taking a VM instead of the host, but that would still be an
improvement.

Also, the zone C type should probably be renamed into netzone for
consistency.

4 years agodocument netzones
Martin Quinson [Sat, 1 Feb 2020 14:40:49 +0000 (15:40 +0100)]
document netzones

4 years agodoc: fixes and document Link in the new way
Martin Quinson [Sat, 1 Feb 2020 11:54:15 +0000 (12:54 +0100)]
doc: fixes and document Link in the new way

4 years agoautodoxy: don't complain if the provided prototype is missing 'const'
Martin Quinson [Sat, 1 Feb 2020 11:53:34 +0000 (12:53 +0100)]
autodoxy: don't complain if the provided prototype is missing 'const'

4 years agofinish the doc under the new format for Host
Martin Quinson [Sat, 1 Feb 2020 01:12:42 +0000 (02:12 +0100)]
finish the doc under the new format for Host

4 years agoignore MSG and friends on sonar
Martin Quinson [Fri, 31 Jan 2020 16:56:27 +0000 (17:56 +0100)]
ignore MSG and friends on sonar

4 years agoFix test mc/mutex-handling.
Arnaud Giersch [Fri, 31 Jan 2020 14:18:16 +0000 (15:18 +0100)]
Fix test mc/mutex-handling.

It runs correctly now, but I'm not sure of its results.

In particular, it seems to find a counter-example correclty, contrarily of what
is written in leading comments.

4 years agoCosmetics: use std::vector, so that it's automatically initialized and free'd.
Arnaud Giersch [Fri, 31 Jan 2020 13:47:27 +0000 (14:47 +0100)]
Cosmetics: use std::vector, so that it's automatically initialized and free'd.

4 years agoadd std=legacy flags for f77/f90 codes that don't compile anymore with gfortran ...
Augustin Degomme [Fri, 31 Jan 2020 12:23:08 +0000 (13:23 +0100)]
add std=legacy flags for f77/f90 codes that don't compile anymore with gfortran >= 10

4 years agotry to get the mpich3 tests to compile with gfortran 10
Martin Quinson [Fri, 31 Jan 2020 11:24:01 +0000 (12:24 +0100)]
try to get the mpich3 tests to compile with gfortran 10

4 years agodocs/installing: improve the python part
Martin Quinson [Fri, 31 Jan 2020 11:20:46 +0000 (12:20 +0100)]
docs/installing: improve the python part

4 years agodocument the enable_msg build-time flag
Martin Quinson [Fri, 31 Jan 2020 09:08:30 +0000 (10:08 +0100)]
document the enable_msg build-time flag

4 years agolower-case -Denable_msg and improve changelog
Martin Quinson [Fri, 31 Jan 2020 09:03:13 +0000 (10:03 +0100)]
lower-case -Denable_msg and improve changelog

4 years agoFinally disable deprecated options (Java and MSG) for Coverage.
Arnaud Giersch [Fri, 31 Jan 2020 10:05:47 +0000 (11:05 +0100)]
Finally disable deprecated options (Java and MSG) for Coverage.

4 years agoForgot a newline.
Arnaud Giersch [Fri, 31 Jan 2020 10:03:25 +0000 (11:03 +0100)]
Forgot a newline.

4 years agoCosmetics: consistently add an empty line between versions.
Arnaud Giersch [Fri, 31 Jan 2020 09:56:05 +0000 (10:56 +0100)]
Cosmetics: consistently add an empty line between versions.

4 years agoCosmetics: fix "Malformed whitespace in C++" spotted by codefactor.io.
Arnaud Giersch [Fri, 31 Jan 2020 09:49:53 +0000 (10:49 +0100)]
Cosmetics: fix "Malformed whitespace in C++" spotted by codefactor.io.

4 years agoTrailing semicolons are not needed (codefactor.io/lintr).
Arnaud Giersch [Fri, 31 Jan 2020 09:32:35 +0000 (10:32 +0100)]
Trailing semicolons are not needed (codefactor.io/lintr).

4 years agoPlease codefactor.io/ShellCheck.
Arnaud Giersch [Fri, 31 Jan 2020 09:28:38 +0000 (10:28 +0100)]
Please codefactor.io/ShellCheck.

4 years agoEnable MSG for Coverage builds.
Arnaud Giersch [Fri, 31 Jan 2020 09:24:39 +0000 (10:24 +0100)]
Enable MSG for Coverage builds.

4 years agoRemove old workaround.
Arnaud Giersch [Thu, 30 Jan 2020 20:57:16 +0000 (21:57 +0100)]
Remove old workaround.

4 years agoonly install the msg header if MSG was compiled in
Martin Quinson [Fri, 31 Jan 2020 08:46:13 +0000 (09:46 +0100)]
only install the msg header if MSG was compiled in

4 years agoAdd some parallel tests in S4U too
Martin Quinson [Fri, 31 Jan 2020 08:39:03 +0000 (09:39 +0100)]
Add some parallel tests in S4U too

4 years agofix tests when building lua w/o MSG
Martin Quinson [Fri, 31 Jan 2020 08:27:30 +0000 (09:27 +0100)]
fix tests when building lua w/o MSG

4 years agofix pip builds
Martin Quinson [Thu, 30 Jan 2020 23:52:51 +0000 (00:52 +0100)]
fix pip builds

4 years agorevalidate a python tesh after the merge of SimDAG++
Martin Quinson [Thu, 30 Jan 2020 23:37:41 +0000 (00:37 +0100)]
revalidate a python tesh after the merge of SimDAG++

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 30 Jan 2020 23:34:18 +0000 (00:34 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years agotravis: windows needs java+MSG
Martin Quinson [Thu, 30 Jan 2020 23:29:36 +0000 (00:29 +0100)]
travis: windows needs java+MSG

4 years agobe coherent on building Java/MSG on gitlab-ci, too
Martin Quinson [Thu, 30 Jan 2020 23:09:23 +0000 (00:09 +0100)]
be coherent on building Java/MSG on gitlab-ci, too

4 years agobe coherent on Java vs. MSG on travis, circleci and appveyor
Martin Quinson [Thu, 30 Jan 2020 22:36:08 +0000 (23:36 +0100)]
be coherent on Java vs. MSG on travis, circleci and appveyor

4 years agoMerge branch 'depencencies' into 'master'
Martin Quinson [Thu, 30 Jan 2020 22:33:36 +0000 (23:33 +0100)]
Merge branch 'depencencies' into 'master'

Dependencies: First working PoC of SimDAG++

See merge request simgrid/simgrid!27

4 years agobummer
Martin Quinson [Thu, 30 Jan 2020 22:14:37 +0000 (23:14 +0100)]
bummer

4 years agoJenkins: don't fail when Java/no MSG
Martin Quinson [Thu, 30 Jan 2020 22:12:01 +0000 (23:12 +0100)]
Jenkins: don't fail when Java/no MSG

4 years agojenkins: Add MSG/NOMSG to the Flags job alternative
Martin Quinson [Thu, 30 Jan 2020 22:10:54 +0000 (23:10 +0100)]
jenkins: Add MSG/NOMSG to the Flags job alternative

4 years agofix make distcheck
Martin Quinson [Thu, 30 Jan 2020 20:12:43 +0000 (21:12 +0100)]
fix make distcheck

4 years agojenkins: turn Java and MSG off on non-MC builds
Martin Quinson [Thu, 30 Jan 2020 19:56:12 +0000 (20:56 +0100)]
jenkins: turn Java and MSG off on non-MC builds

We should probably disable it all together at some point, but keep
them for now. Since some MC tests are not ported to s4u yet, it will
be MC that keeps MSG for now.

4 years agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 30 Jan 2020 19:49:28 +0000 (20:49 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

4 years agoAdd a cmake flag to not compile MSG at all
Martin Quinson [Thu, 30 Jan 2020 19:49:18 +0000 (20:49 +0100)]
Add a cmake flag to not compile MSG at all

4 years agoplug leak and check received payload
Frederic Suter [Thu, 30 Jan 2020 17:05:06 +0000 (18:05 +0100)]
plug leak and check received payload

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Thu, 30 Jan 2020 16:43:06 +0000 (17:43 +0100)]
Merge branch 'master' into depencencies

4 years agotest dependencies with Comm too
Frederic Suter [Thu, 30 Jan 2020 16:38:42 +0000 (17:38 +0100)]
test dependencies with Comm too

4 years agoadd smpi_execute_flops_benched call
Augustin Degomme [Thu, 30 Jan 2020 15:26:13 +0000 (16:26 +0100)]
add smpi_execute_flops_benched call

4 years agoallow for chaining of add_successor
Frederic Suter [Thu, 30 Jan 2020 14:37:40 +0000 (15:37 +0100)]
allow for chaining of add_successor

4 years agosimplify dependencies stuff (less accessors)
Frederic Suter [Thu, 30 Jan 2020 12:53:59 +0000 (13:53 +0100)]
simplify dependencies stuff (less accessors)

4 years agodependencies support for Comm (needs testing)
Frederic Suter [Thu, 30 Jan 2020 10:53:13 +0000 (11:53 +0100)]
dependencies support for Comm (needs testing)

4 years agoimplement generic ActivityPtr
Martin Quinson [Thu, 30 Jan 2020 11:00:58 +0000 (12:00 +0100)]
implement generic ActivityPtr

4 years agosmall cleanups in the s4u::Activities
Martin Quinson [Thu, 30 Jan 2020 10:42:41 +0000 (11:42 +0100)]
small cleanups in the s4u::Activities

4 years agofix a FIXME
Martin Quinson [Thu, 30 Jan 2020 10:29:57 +0000 (11:29 +0100)]
fix a FIXME

4 years agouse ActivityPtr
Frederic Suter [Thu, 30 Jan 2020 10:20:23 +0000 (11:20 +0100)]
use ActivityPtr

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Thu, 30 Jan 2020 10:06:01 +0000 (11:06 +0100)]
Merge branch 'master' into depencencies

4 years agoPrepare the upcoming release.
Martin Quinson [Wed, 29 Jan 2020 23:01:52 +0000 (00:01 +0100)]
Prepare the upcoming release.

- The documentation is not completely reorganized yet
- The dependencies branch still needs some love to be merged

But we still plan for a 3.25 release this week-end, if luck permits.

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Wed, 29 Jan 2020 20:21:15 +0000 (21:21 +0100)]
Merge branch 'master' into depencencies

4 years agocosmetics in CMakeLists.txt
Martin Quinson [Sun, 26 Jan 2020 10:07:16 +0000 (11:07 +0100)]
cosmetics in CMakeLists.txt

4 years agoMC: more specific doc in the user API
Martin Quinson [Tue, 21 Jan 2020 15:08:14 +0000 (16:08 +0100)]
MC: more specific doc in the user API

4 years agoMC: various cleanups done while debugging something
Martin Quinson [Tue, 21 Jan 2020 14:48:30 +0000 (15:48 +0100)]
MC: various cleanups done while debugging something

4 years agoMC: when exec()ing the app, first pass any parameters passed to the MC
Martin Quinson [Tue, 21 Jan 2020 11:12:17 +0000 (12:12 +0100)]
MC: when exec()ing the app, first pass any parameters passed to the MC

4 years agostart documenting Hosts in the new way
Martin Quinson [Sun, 12 Jan 2020 14:32:50 +0000 (15:32 +0100)]
start documenting Hosts in the new way

4 years agoDocument disks in the new way
Martin Quinson [Sat, 11 Jan 2020 17:27:09 +0000 (18:27 +0100)]
Document disks in the new way

4 years agofiddle with the doc of actors
Martin Quinson [Fri, 10 Jan 2020 10:57:31 +0000 (11:57 +0100)]
fiddle with the doc of actors

4 years agoadd some fortran bindings, useful for bigdft
Augustin Degomme [Wed, 29 Jan 2020 13:54:43 +0000 (14:54 +0100)]
add some fortran bindings, useful for bigdft

4 years agoEmit a warning when a link's latency is smaller than surf/precision.
Arnaud Giersch [Tue, 28 Jan 2020 13:33:40 +0000 (14:33 +0100)]
Emit a warning when a link's latency is smaller than surf/precision.

Contributes to FG issue simgrid/simgrid#46.

4 years agoKill obsolete TODO.
Arnaud Giersch [Tue, 28 Jan 2020 10:07:26 +0000 (11:07 +0100)]
Kill obsolete TODO.

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Tue, 28 Jan 2020 11:21:47 +0000 (12:21 +0100)]
Merge branch 'master' into depencencies

4 years agokeep quiet for valgrind tests on ci to avoid false positives with tesh
Augustin Degomme [Tue, 28 Jan 2020 10:14:25 +0000 (11:14 +0100)]
keep quiet for valgrind tests on ci to avoid false positives with tesh

4 years agoDisable python tests with valgrind.
Arnaud Giersch [Mon, 27 Jan 2020 15:08:36 +0000 (16:08 +0100)]
Disable python tests with valgrind.

That's too much inexplicable noise.

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Mon, 27 Jan 2020 10:16:41 +0000 (11:16 +0100)]
Merge branch 'master' into depencencies

4 years agoPut only the declaration between SG_{BEGIN,END}_DECL.
Arnaud Giersch [Mon, 27 Jan 2020 10:11:03 +0000 (11:11 +0100)]
Put only the declaration between SG_{BEGIN,END}_DECL.

4 years agodeal with dependencies for Io too
Frederic Suter [Mon, 27 Jan 2020 08:50:15 +0000 (09:50 +0100)]
deal with dependencies for Io too
add an example that chains Exec and Io

4 years agorelease dependencies when test completes an activity too
Frederic Suter [Mon, 27 Jan 2020 08:49:14 +0000 (09:49 +0100)]
release dependencies when test completes an activity too

4 years agoenable dependencies between activities of different kind
Frederic Suter [Mon, 27 Jan 2020 08:48:19 +0000 (09:48 +0100)]
enable dependencies between activities of different kind

4 years agoMerge branch 'master' into depencencies
Frederic Suter [Sun, 26 Jan 2020 14:25:56 +0000 (15:25 +0100)]
Merge branch 'master' into depencencies

4 years agoRevert "Lame attempt to hide problems on Jenkins."
Arnaud Giersch [Sat, 25 Jan 2020 23:22:29 +0000 (00:22 +0100)]
Revert "Lame attempt to hide problems on Jenkins."

This reverts commit 9c4576b88a62b128692436b70a3e7b2e48b1a396.

4 years agoPlease Sonar (duplicated string literals...).
Arnaud Giersch [Sat, 25 Jan 2020 10:29:25 +0000 (11:29 +0100)]
Please Sonar (duplicated string literals...).

4 years agoSonar is picky about function names.
Arnaud Giersch [Sat, 25 Jan 2020 10:24:12 +0000 (11:24 +0100)]
Sonar is picky about function names.

4 years agoUpdate ChangeLog.
Arnaud Giersch [Fri, 24 Jan 2020 21:34:53 +0000 (22:34 +0100)]
Update ChangeLog.

Fixed simgrid/simgrid#9 on Framagit.

4 years agoIncrease required version for pybind11.
Arnaud Giersch [Fri, 24 Jan 2020 22:54:52 +0000 (23:54 +0100)]
Increase required version for pybind11.

4 years agoCmake: print pybind11 version.
Arnaud Giersch [Fri, 24 Jan 2020 22:23:55 +0000 (23:23 +0100)]
Cmake: print pybind11 version.

4 years agoTravis/windows doesn't like python.
Arnaud Giersch [Fri, 24 Jan 2020 22:18:30 +0000 (23:18 +0100)]
Travis/windows doesn't like python.

ImportError: DLL load failed while importing simgrid: The specified module could not be found.

4 years agoEnable Python for Travis/windows too.
Arnaud Giersch [Fri, 24 Jan 2020 21:48:15 +0000 (22:48 +0100)]
Enable Python for Travis/windows too.

4 years agoPlease Python linters.
Arnaud Giersch [Fri, 24 Jan 2020 21:22:31 +0000 (22:22 +0100)]
Please Python linters.

4 years agoRe-enable python on appveyor.
Arnaud Giersch [Fri, 24 Jan 2020 11:33:11 +0000 (12:33 +0100)]
Re-enable python on appveyor.

4 years agoDon't decrease reference count here. WHY?
Arnaud Giersch [Wed, 22 Jan 2020 22:17:43 +0000 (23:17 +0100)]
Don't decrease reference count here.  WHY?

Fixed: python-actor-create.

4 years agoIncreasing reference count seems to help. WHY?
Arnaud Giersch [Wed, 22 Jan 2020 21:53:37 +0000 (22:53 +0100)]
Increasing reference count seems to help.  WHY?

Fixed: python-actor-migrate, python-exec-async, python-exec-dvfs, python-exec-remote.

4 years agoUse GilScopedRelease when a simmcall can occur.
Arnaud Giersch [Wed, 22 Jan 2020 21:07:19 +0000 (22:07 +0100)]
Use GilScopedRelease when a simmcall can occur.

Tests still failing:
        python-actor-create
        python-actor-migrate
        python-exec-async
        python-exec-dvfs
        python-exec-remote

Fixed: python-exec-basic.

4 years agoUse GilScopedAcquire to create a new Python thread state when an actor is started.
Arnaud Giersch [Wed, 22 Jan 2020 20:54:30 +0000 (21:54 +0100)]
Use GilScopedAcquire to create a new Python thread state when an actor is started.

The call to py_context.reset() is here to avoid deadlocks seen later with
SwappedContexts.

py::error_already_set::~error_already_set() uses py::gil_scoped_acquire which
does not play well with our GilScopedAcquire.

4 years agoRelease the GIL when calling Engine::run.
Arnaud Giersch [Wed, 22 Jan 2020 20:49:03 +0000 (21:49 +0100)]
Release the GIL when calling Engine::run.

All tests are broken from now on...

4 years agoDefine GilScopedAcquire and GilScopedRelease.
Arnaud Giersch [Wed, 22 Jan 2020 20:40:58 +0000 (21:40 +0100)]
Define GilScopedAcquire and GilScopedRelease.

They have the same purpose as py::gil_scoped_acquire and py::gil_scoped_release.

The main difference is that we avoid to use thread-local storage (TLS).

4 years agoMerge branch 'depencencies' of https://framagit.org/simgrid/simgrid into depencencies
Frederic Suter [Fri, 24 Jan 2020 17:42:07 +0000 (18:42 +0100)]
Merge branch 'depencencies' of https://framagit.org/simgrid/simgrid into depencencies

4 years agoImprove handling of dependencies, debug and example
Frederic Suter [Fri, 24 Jan 2020 16:26:34 +0000 (17:26 +0100)]
Improve handling of dependencies, debug and example

4 years agoAdd tests for FG bug simgrid/simgrid#9.
Arnaud Giersch [Tue, 21 Jan 2020 20:33:06 +0000 (21:33 +0100)]
Add tests for FG bug simgrid/simgrid#9.

4 years agoRe-enable test: python-actor-lifetime.
Arnaud Giersch [Tue, 21 Jan 2020 20:03:24 +0000 (21:03 +0100)]
Re-enable test: python-actor-lifetime.

4 years agoTest python with multiple context factories.
Arnaud Giersch [Tue, 21 Jan 2020 20:11:10 +0000 (21:11 +0100)]
Test python with multiple context factories.

4 years agocleanups
Frederic Suter [Wed, 11 Dec 2019 14:32:45 +0000 (15:32 +0100)]
cleanups

4 years agoworking version
Frederic Suter [Wed, 11 Dec 2019 14:08:11 +0000 (15:08 +0100)]
working version