Logo AND Algorithmique Numérique Distribuée

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

4 years agostart working on adding dependencies between activities
Frederic Suter [Tue, 10 Dec 2019 18:37:47 +0000 (19:37 +0100)]
start working on adding dependencies between activities

4 years agoattempt to please clang11
Augustin Degomme [Fri, 24 Jan 2020 00:06:18 +0000 (01:06 +0100)]
attempt to please clang11

4 years agoFix on_exit callback for python/actor-lifetime.
Arnaud Giersch [Thu, 23 Jan 2020 10:02:08 +0000 (11:02 +0100)]
Fix on_exit callback for python/actor-lifetime.

The test is still failing.

4 years agoKill unused variable.
Arnaud Giersch [Thu, 23 Jan 2020 09:50:05 +0000 (10:50 +0100)]
Kill unused variable.

4 years agoChain declarations for the 'this_actor' submodule, just like for classes.
Arnaud Giersch [Wed, 22 Jan 2020 20:32:21 +0000 (21:32 +0100)]
Chain declarations for the 'this_actor' submodule, just like for classes.

4 years agoGet rid of superfluous lambdas.
Arnaud Giersch [Wed, 22 Jan 2020 20:24:16 +0000 (21:24 +0100)]
Get rid of superfluous lambdas.

4 years agoRewrite some type casts.
Arnaud Giersch [Wed, 22 Jan 2020 17:22:24 +0000 (18:22 +0100)]
Rewrite some type casts.

4 years agoRemove useless return type for lambdas.
Arnaud Giersch [Wed, 22 Jan 2020 17:13:49 +0000 (18:13 +0100)]
Remove useless return type for lambdas.

4 years agoMinor cosmetic changes.
Arnaud Giersch [Wed, 22 Jan 2020 17:10:32 +0000 (18:10 +0100)]
Minor cosmetic changes.

4 years agoFull reindent for simgrid_python.cpp (no other change).
Arnaud Giersch [Wed, 22 Jan 2020 16:58:15 +0000 (17:58 +0100)]
Full reindent for simgrid_python.cpp (no other change).

4 years agoFix distcheck.
Arnaud Giersch [Tue, 21 Jan 2020 20:41:43 +0000 (21:41 +0100)]
Fix distcheck.

4 years agoCosmetics: make #endif's comment match #ifndef.
Arnaud Giersch [Sun, 19 Jan 2020 20:49:47 +0000 (21:49 +0100)]
Cosmetics: make #endif's comment match #ifndef.

4 years agoAdd fiber annotations for TSan.
Arnaud Giersch [Thu, 9 Jan 2020 21:52:54 +0000 (22:52 +0100)]
Add fiber annotations for TSan.

Close simgrid/simgrid#42.

4 years agoAdd detection for TSan fiber support.
Arnaud Giersch [Thu, 16 Jan 2020 20:35:55 +0000 (21:35 +0100)]
Add detection for TSan fiber support.

4 years agoMove ASan related instructions around context swapping into SwappedContext.
Arnaud Giersch [Thu, 16 Jan 2020 15:31:32 +0000 (16:31 +0100)]
Move ASan related instructions around context swapping into SwappedContext.

* make ASan related fields private
* kill now unused src/kernel/contexts/context_private.h

4 years agoUse smx_ctx_wrapper for boost and raw contexts.
Arnaud Giersch [Thu, 16 Jan 2020 13:22:56 +0000 (14:22 +0100)]
Use smx_ctx_wrapper for boost and raw contexts.

4 years agoMove smx_ctx_wrapper from ContextUnix to ContextSwapped.
Arnaud Giersch [Thu, 16 Jan 2020 13:20:47 +0000 (14:20 +0100)]
Move smx_ctx_wrapper from ContextUnix to ContextSwapped.

The goal is to use it later with the other kinds of SwappedContext (raw and boost).

4 years agoDefine and use SwappedContext::verify_previous_context().
Arnaud Giersch [Thu, 16 Jan 2020 20:07:45 +0000 (21:07 +0100)]
Define and use SwappedContext::verify_previous_context().

It's used by BoostContext to verify that, after a context switch, the
originating context as it is expected.

4 years agoDefine and use ContextSwapped::get_stack_bottom() to get the address for the bottom...
Arnaud Giersch [Thu, 16 Jan 2020 10:25:25 +0000 (11:25 +0100)]
Define and use ContextSwapped::get_stack_bottom() to get the address for the bottom of the stack.

4 years agoIgnore more ASan warnings in mpich3-test/runtests.
Arnaud Giersch [Thu, 16 Jan 2020 15:14:25 +0000 (16:14 +0100)]
Ignore more ASan warnings in mpich3-test/runtests.

4 years agoUpdate list of fixed bugs and merge requests in ChangeLog.
Arnaud Giersch [Thu, 16 Jan 2020 21:30:02 +0000 (22:30 +0100)]
Update list of fixed bugs and merge requests in ChangeLog.

4 years agoExpunge Triva from the documentation too.
Arnaud Giersch [Thu, 16 Jan 2020 14:07:28 +0000 (15:07 +0100)]
Expunge Triva from the documentation too.

4 years agodrop last bits of Viva/Triva (long gone anyway) support
Frederic Suter [Thu, 16 Jan 2020 13:30:38 +0000 (14:30 +0100)]
drop last bits of Viva/Triva (long gone anyway) support

4 years agonamespace cleanups
Frederic Suter [Thu, 16 Jan 2020 13:30:21 +0000 (14:30 +0100)]
namespace cleanups

4 years agoboring meeting commit: cognitive complexity reduction
Frederic Suter [Thu, 16 Jan 2020 09:11:20 +0000 (10:11 +0100)]
boring meeting commit: cognitive complexity reduction

4 years agoMake field 'Context::iwannadie' private.
Arnaud Giersch [Wed, 15 Jan 2020 20:47:05 +0000 (21:47 +0100)]
Make field 'Context::iwannadie' private.

I'm not fond of the names for the new methods, but don't have a better idea.