Martin Quinson [Thu, 30 Jan 2020 22:12:01 +0000 (23:12 +0100)]
Jenkins: don't fail when Java/no MSG
Martin Quinson [Thu, 30 Jan 2020 22:10:54 +0000 (23:10 +0100)]
jenkins: Add MSG/NOMSG to the Flags job alternative
Martin Quinson [Thu, 30 Jan 2020 20:12:43 +0000 (21:12 +0100)]
fix make distcheck
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.
Martin Quinson [Thu, 30 Jan 2020 19:49:28 +0000 (20:49 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 30 Jan 2020 19:49:18 +0000 (20:49 +0100)]
Add a cmake flag to not compile MSG at all
Augustin Degomme [Thu, 30 Jan 2020 15:26:13 +0000 (16:26 +0100)]
add smpi_execute_flops_benched call
Martin Quinson [Thu, 30 Jan 2020 11:00:58 +0000 (12:00 +0100)]
implement generic ActivityPtr
Martin Quinson [Thu, 30 Jan 2020 10:42:41 +0000 (11:42 +0100)]
small cleanups in the s4u::Activities
Martin Quinson [Thu, 30 Jan 2020 10:29:57 +0000 (11:29 +0100)]
fix a FIXME
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.
Martin Quinson [Sun, 26 Jan 2020 10:07:16 +0000 (11:07 +0100)]
cosmetics in CMakeLists.txt
Martin Quinson [Tue, 21 Jan 2020 15:08:14 +0000 (16:08 +0100)]
MC: more specific doc in the user API
Martin Quinson [Tue, 21 Jan 2020 14:48:30 +0000 (15:48 +0100)]
MC: various cleanups done while debugging something
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
Martin Quinson [Sun, 12 Jan 2020 14:32:50 +0000 (15:32 +0100)]
start documenting Hosts in the new way
Martin Quinson [Sat, 11 Jan 2020 17:27:09 +0000 (18:27 +0100)]
Document disks in the new way
Martin Quinson [Fri, 10 Jan 2020 10:57:31 +0000 (11:57 +0100)]
fiddle with the doc of actors
Augustin Degomme [Wed, 29 Jan 2020 13:54:43 +0000 (14:54 +0100)]
add some fortran bindings, useful for bigdft
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.
Arnaud Giersch [Tue, 28 Jan 2020 10:07:26 +0000 (11:07 +0100)]
Kill obsolete TODO.
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
Arnaud Giersch [Mon, 27 Jan 2020 15:08:36 +0000 (16:08 +0100)]
Disable python tests with valgrind.
That's too much inexplicable noise.
Arnaud Giersch [Mon, 27 Jan 2020 10:11:03 +0000 (11:11 +0100)]
Put only the declaration between SG_{BEGIN,END}_DECL.
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.
Arnaud Giersch [Sat, 25 Jan 2020 10:29:25 +0000 (11:29 +0100)]
Please Sonar (duplicated string literals...).
Arnaud Giersch [Sat, 25 Jan 2020 10:24:12 +0000 (11:24 +0100)]
Sonar is picky about function names.
Arnaud Giersch [Fri, 24 Jan 2020 21:34:53 +0000 (22:34 +0100)]
Update ChangeLog.
Fixed simgrid/simgrid#9 on Framagit.
Arnaud Giersch [Fri, 24 Jan 2020 22:54:52 +0000 (23:54 +0100)]
Increase required version for pybind11.
Arnaud Giersch [Fri, 24 Jan 2020 22:23:55 +0000 (23:23 +0100)]
Cmake: print pybind11 version.
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.
Arnaud Giersch [Fri, 24 Jan 2020 21:48:15 +0000 (22:48 +0100)]
Enable Python for Travis/windows too.
Arnaud Giersch [Fri, 24 Jan 2020 21:22:31 +0000 (22:22 +0100)]
Please Python linters.
Arnaud Giersch [Fri, 24 Jan 2020 11:33:11 +0000 (12:33 +0100)]
Re-enable python on appveyor.
Arnaud Giersch [Wed, 22 Jan 2020 22:17:43 +0000 (23:17 +0100)]
Don't decrease reference count here. WHY?
Fixed: python-actor-create.
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.
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.
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.
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...
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).
Arnaud Giersch [Tue, 21 Jan 2020 20:33:06 +0000 (21:33 +0100)]
Add tests for FG bug simgrid/simgrid#9.
Arnaud Giersch [Tue, 21 Jan 2020 20:03:24 +0000 (21:03 +0100)]
Re-enable test: python-actor-lifetime.
Arnaud Giersch [Tue, 21 Jan 2020 20:11:10 +0000 (21:11 +0100)]
Test python with multiple context factories.
Augustin Degomme [Fri, 24 Jan 2020 00:06:18 +0000 (01:06 +0100)]
attempt to please clang11
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.
Arnaud Giersch [Thu, 23 Jan 2020 09:50:05 +0000 (10:50 +0100)]
Kill unused variable.
Arnaud Giersch [Wed, 22 Jan 2020 20:32:21 +0000 (21:32 +0100)]
Chain declarations for the 'this_actor' submodule, just like for classes.
Arnaud Giersch [Wed, 22 Jan 2020 20:24:16 +0000 (21:24 +0100)]
Get rid of superfluous lambdas.
Arnaud Giersch [Wed, 22 Jan 2020 17:22:24 +0000 (18:22 +0100)]
Rewrite some type casts.
Arnaud Giersch [Wed, 22 Jan 2020 17:13:49 +0000 (18:13 +0100)]
Remove useless return type for lambdas.
Arnaud Giersch [Wed, 22 Jan 2020 17:10:32 +0000 (18:10 +0100)]
Minor cosmetic changes.
Arnaud Giersch [Wed, 22 Jan 2020 16:58:15 +0000 (17:58 +0100)]
Full reindent for simgrid_python.cpp (no other change).
Arnaud Giersch [Tue, 21 Jan 2020 20:41:43 +0000 (21:41 +0100)]
Fix distcheck.
Arnaud Giersch [Sun, 19 Jan 2020 20:49:47 +0000 (21:49 +0100)]
Cosmetics: make #endif's comment match #ifndef.
Arnaud Giersch [Thu, 9 Jan 2020 21:52:54 +0000 (22:52 +0100)]
Add fiber annotations for TSan.
Close simgrid/simgrid#42.
Arnaud Giersch [Thu, 16 Jan 2020 20:35:55 +0000 (21:35 +0100)]
Add detection for TSan fiber support.
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
Arnaud Giersch [Thu, 16 Jan 2020 13:22:56 +0000 (14:22 +0100)]
Use smx_ctx_wrapper for boost and raw contexts.
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).
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.
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.
Arnaud Giersch [Thu, 16 Jan 2020 15:14:25 +0000 (16:14 +0100)]
Ignore more ASan warnings in mpich3-test/runtests.
Arnaud Giersch [Thu, 16 Jan 2020 21:30:02 +0000 (22:30 +0100)]
Update list of fixed bugs and merge requests in ChangeLog.
Arnaud Giersch [Thu, 16 Jan 2020 14:07:28 +0000 (15:07 +0100)]
Expunge Triva from the documentation too.
Frederic Suter [Thu, 16 Jan 2020 13:30:38 +0000 (14:30 +0100)]
drop last bits of Viva/Triva (long gone anyway) support
Frederic Suter [Thu, 16 Jan 2020 13:30:21 +0000 (14:30 +0100)]
namespace cleanups
Frederic Suter [Thu, 16 Jan 2020 09:11:20 +0000 (10:11 +0100)]
boring meeting commit: cognitive complexity reduction
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.
Arnaud Giersch [Wed, 15 Jan 2020 20:23:10 +0000 (21:23 +0100)]
Make field 'SwappedContext::worker_context_' private.
Arnaud Giersch [Wed, 15 Jan 2020 20:22:22 +0000 (21:22 +0100)]
Field 'SwappedContext::factory_' becomes a reference.
Arnaud Giersch [Thu, 16 Jan 2020 08:35:40 +0000 (09:35 +0100)]
Using extern "C" does not prevent name mangling for static functions.
See
https://en.cppreference.com/w/cpp/language/language_linkage
Arnaud Giersch [Wed, 15 Jan 2020 10:31:38 +0000 (11:31 +0100)]
[sonar] Add const qualifier.
Frederic Suter [Wed, 15 Jan 2020 12:15:54 +0000 (13:15 +0100)]
Seems to works now
Frederic Suter [Wed, 15 Jan 2020 11:40:08 +0000 (12:40 +0100)]
simplification commit
* Class methods do not need tu use accessor to own class field
* Prefer model->is_update_lazy() to
model->get_update_algorithm == Model::UpdateAlgo::LAZY
Frederic Suter [Wed, 15 Jan 2020 10:01:16 +0000 (11:01 +0100)]
cleanups
Frederic Suter [Wed, 15 Jan 2020 10:00:57 +0000 (11:00 +0100)]
fixedme
Frederic Suter [Tue, 14 Jan 2020 10:16:34 +0000 (11:16 +0100)]
plug leak
pimpl_->storage was directly accessed before without simcall and
adding one generate copies and leaks. Storage must die anyway ...
Frederic Suter [Mon, 13 Jan 2020 13:44:04 +0000 (14:44 +0100)]
namespace cosmetics
Frederic Suter [Mon, 13 Jan 2020 09:49:57 +0000 (10:49 +0100)]
[sonar] Don't mix public/private data members
Augustin Degomme [Fri, 10 Jan 2020 10:31:52 +0000 (11:31 +0100)]
oops
Martin Quinson [Fri, 10 Jan 2020 10:28:32 +0000 (11:28 +0100)]
document a recent change
Martin Quinson [Fri, 10 Jan 2020 10:26:44 +0000 (11:26 +0100)]
document Mailboxes in the new way
Martin Quinson [Thu, 9 Jan 2020 14:36:36 +0000 (15:36 +0100)]
document the this_actor namespace in the new way
Martin Quinson [Wed, 8 Jan 2020 23:20:37 +0000 (00:20 +0100)]
Kill a meaningless function: this_actor::resume()
How could the current actor resume itself if it's suspended in the
first place??
Martin Quinson [Wed, 8 Jan 2020 22:46:54 +0000 (23:46 +0100)]
Teach autodoxy about namespaces
Martin Quinson [Tue, 7 Jan 2020 21:40:15 +0000 (22:40 +0100)]
Improve docs/find-missing
- automatically extend PYTHONPATH on need. The python lib is searched
in the ../lib directory. If it's not there, add a symlink
- ignore some autodoxy symbols. Just add them in find-missing.ignore
Martin Quinson [Mon, 6 Jan 2020 21:41:17 +0000 (22:41 +0100)]
briefly document some more C types
Augustin Degomme [Fri, 10 Jan 2020 10:17:12 +0000 (11:17 +0100)]
update OS detection, fix openindiana, improve wsl detection to cover more than just ubuntu.
Augustin Degomme [Fri, 10 Jan 2020 09:35:34 +0000 (10:35 +0100)]
add missing links in dragonfly fig gh #335
Arnaud Giersch [Thu, 9 Jan 2020 14:33:21 +0000 (15:33 +0100)]
A simcall on Actor destruction doesn't make much sense.
This fixes Asan errors on s4u-actor-kill.
Arnaud Giersch [Thu, 9 Jan 2020 10:41:07 +0000 (11:41 +0100)]
Noreturn annotations in contexts.
Arnaud Giersch [Thu, 9 Jan 2020 07:38:13 +0000 (08:38 +0100)]
Pass large parameter by address.
Arnaud Giersch [Thu, 9 Jan 2020 07:32:19 +0000 (08:32 +0100)]
One import less.
Arnaud Giersch [Thu, 9 Jan 2020 07:31:00 +0000 (08:31 +0100)]
Use implicit string conversion.
It's strange to have different type on both sides of :
Arnaud Giersch [Wed, 8 Jan 2020 20:21:16 +0000 (21:21 +0100)]
Put the loop right (easier to read and more efficient when building string).
Frederic Suter [Wed, 8 Jan 2020 12:17:26 +0000 (13:17 +0100)]
[sonar] Don't mix public and private data members for ptasks
Frederic Suter [Wed, 8 Jan 2020 10:32:09 +0000 (11:32 +0100)]
[sonar] Don't mix public and private data members (easy ones)
Arnaud Giersch [Wed, 8 Jan 2020 17:29:28 +0000 (18:29 +0100)]
Use initialization list.
Arnaud Giersch [Wed, 8 Jan 2020 16:32:37 +0000 (17:32 +0100)]
[sonar] asks for std::forward.
Arnaud Giersch [Wed, 8 Jan 2020 16:13:40 +0000 (17:13 +0100)]
[sonar] Use std::move with rvalue references.