Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 17 Aug 2018 23:28:19 +0000 (01:28 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoMark actors as auto_restart when recreating them on restart.
Martin Quinson [Fri, 17 Aug 2018 23:21:12 +0000 (01:21 +0200)]
Mark actors as auto_restart when recreating them on restart.

I guess it often works without it because we restart the actors that
are in the actors_at_boot_ vector, and that list is sufficiently
accurate.

But still, several locations of the code actually look if the actor is
marked auto_restart_ without checking the vector, so it's much better
having redundent information source to contain the same data.

4 years agotuto_s4u: add an exercise about the Mailboxes, and improve related doc
Martin Quinson [Fri, 17 Aug 2018 23:20:26 +0000 (01:20 +0200)]
tuto_s4u: add an exercise about the Mailboxes, and improve related doc

4 years agodocs: rename a file to sort things out
Martin Quinson [Thu, 16 Aug 2018 10:50:19 +0000 (12:50 +0200)]
docs: rename a file to sort things out

4 years agomake examples/s4u/app-masterworkers more complex to make simplification exercises...
Martin Quinson [Thu, 16 Aug 2018 10:40:29 +0000 (12:40 +0200)]
make examples/s4u/app-masterworkers more complex to make simplification exercises more interesting in tuto

4 years agoadd minimal signals to trace Comm
Frederic Suter [Thu, 16 Aug 2018 04:35:25 +0000 (06:35 +0200)]
add minimal signals to trace Comm

4 years agobummer
Frederic Suter [Wed, 15 Aug 2018 23:24:28 +0000 (01:24 +0200)]
bummer

4 years agoadd minimal signals on Exec to trace them
Frederic Suter [Wed, 15 Aug 2018 23:06:27 +0000 (01:06 +0200)]
add minimal signals on Exec to trace them

4 years agoDocument fixed bugs
Martin Quinson [Wed, 15 Aug 2018 08:21:50 +0000 (10:21 +0200)]
Document fixed bugs

4 years agoplug leak
Frederic Suter [Wed, 15 Aug 2018 16:17:39 +0000 (18:17 +0200)]
plug leak

4 years agothe host_that_restart global is now useless
Frederic Suter [Wed, 15 Aug 2018 01:35:19 +0000 (03:35 +0200)]
the host_that_restart global is now useless
can close issue #22

4 years agoauto-restart daemons as daemons (untested)
Frederic Suter [Wed, 15 Aug 2018 00:43:37 +0000 (02:43 +0200)]
auto-restart daemons as daemons (untested)

4 years agofurther remove boilerplate around std::bind
Martin Quinson [Wed, 15 Aug 2018 00:10:35 +0000 (02:10 +0200)]
further remove boilerplate around std::bind

4 years agodo not reimplement (poorly) std::bind
Martin Quinson [Tue, 14 Aug 2018 23:58:58 +0000 (01:58 +0200)]
do not reimplement (poorly) std::bind

(and move deprecated symbols by the end of this file)

4 years agothis name is not explicit, thus this type is not helping. Thus removing
Martin Quinson [Tue, 14 Aug 2018 23:49:06 +0000 (01:49 +0200)]
this name is not explicit, thus this type is not helping. Thus removing

4 years agoignore another example's binary
Martin Quinson [Tue, 14 Aug 2018 23:43:11 +0000 (01:43 +0200)]
ignore another example's binary

4 years agotypo
Martin Quinson [Tue, 14 Aug 2018 23:07:13 +0000 (01:07 +0200)]
typo

4 years agomake the code of an s4u::actor copyiable in all cases to fix autorestart
Martin Quinson [Tue, 14 Aug 2018 23:02:20 +0000 (01:02 +0200)]
make the code of an s4u::actor copyiable in all cases to fix autorestart

4 years agodon't bother with paths and copy the XML
Frederic Suter [Tue, 14 Aug 2018 17:16:01 +0000 (19:16 +0200)]
don't bother with paths and copy the XML

4 years agofix example
Frederic Suter [Mon, 13 Aug 2018 18:40:09 +0000 (20:40 +0200)]
fix example
Have to use MSG deployment file that has the on_failure attribute for
workers

4 years agoon actor_restart, add it into the real map, not into a copy of it
Martin Quinson [Mon, 13 Aug 2018 09:08:06 +0000 (11:08 +0200)]
on actor_restart, add it into the real map, not into a copy of it

This does not fix it, but uncovers the next failure :(

4 years agoVariable may be unused.
Arnaud Giersch [Sun, 12 Aug 2018 08:09:45 +0000 (10:09 +0200)]
Variable may be unused.

4 years agofix build
Martin Quinson [Sun, 12 Aug 2018 18:10:48 +0000 (20:10 +0200)]
fix build

4 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Sun, 12 Aug 2018 17:32:33 +0000 (19:32 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 12 Aug 2018 16:34:33 +0000 (18:34 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoMerge branch 'auto_restart' into 'master'
Martin Quinson [Sun, 12 Aug 2018 16:33:39 +0000 (18:33 +0200)]
Merge branch 'auto_restart' into 'master'

Reimplement the auto-restart mechanism, this time right.
Thanks, Fred.

See merge request simgrid/simgrid!2

4 years agoMerge pull request #290 from kovin/master
Martin Quinson [Sun, 12 Aug 2018 15:02:11 +0000 (17:02 +0200)]
Merge pull request #290 from kovin/master

Add method to check if a mailbox has a message ready to be consumed without having to wait

4 years agocosmetics
Martin Quinson [Sun, 12 Aug 2018 14:36:07 +0000 (16:36 +0200)]
cosmetics

4 years agoAdd method to check if a mailbox has a message ready to be consumed without having...
Kevin Piotrkowski [Sat, 11 Aug 2018 22:16:21 +0000 (19:16 -0300)]
Add method to check if a mailbox has a message ready to be consumed without having to wait

4 years agowoops, broken merge
Martin Quinson [Sat, 11 Aug 2018 20:56:27 +0000 (22:56 +0200)]
woops, broken merge

4 years agoMerge branches 'auto_restart' and 'auto_restart' of framagit.org:simgrid/simgrid
Martin Quinson [Sat, 11 Aug 2018 20:49:38 +0000 (22:49 +0200)]
Merge branches 'auto_restart' and 'auto_restart' of framagit.org:simgrid/simgrid

Also, don't run doxygen manually on framagit/gitlab-ci

4 years agoForgot that ifort needs argv to stay alive.
Arnaud Giersch [Fri, 10 Aug 2018 21:14:33 +0000 (23:14 +0200)]
Forgot that ifort needs argv to stay alive.

4 years agoAnother try to fix memory leaks in smpi_run_entry_point.
Arnaud Giersch [Fri, 10 Aug 2018 18:04:40 +0000 (20:04 +0200)]
Another try to fix memory leaks in smpi_run_entry_point.

4 years agoVariables are not used with SMPI_FORT.
Arnaud Giersch [Fri, 10 Aug 2018 14:47:37 +0000 (16:47 +0200)]
Variables are not used with SMPI_FORT.

4 years agoDisable unused copy constructor (cppcheck).
Arnaud Giersch [Fri, 10 Aug 2018 14:38:47 +0000 (16:38 +0200)]
Disable unused copy constructor (cppcheck).

4 years agoFix includes.
Arnaud Giersch [Fri, 10 Aug 2018 14:37:10 +0000 (16:37 +0200)]
Fix includes.

4 years agoAdd include guard.
Arnaud Giersch [Fri, 10 Aug 2018 14:33:53 +0000 (16:33 +0200)]
Add include guard.

4 years agoimprove doxygen comments in s4u
Martin Quinson [Fri, 10 Aug 2018 13:43:04 +0000 (15:43 +0200)]
improve doxygen comments in s4u

4 years agoRevert "try to get rid of linking issue"
Arnaud Giersch [Fri, 10 Aug 2018 12:07:47 +0000 (14:07 +0200)]
Revert "try to get rid of linking issue"

This reverts commit 5256bf5722d6ccd15cfae45d774b5c6e35a4dd3e.

4 years agotuto_s4u: add exo 1
Martin Quinson [Fri, 10 Aug 2018 10:08:48 +0000 (12:08 +0200)]
tuto_s4u: add exo 1

4 years agoFix build without smpi.
Arnaud Giersch [Fri, 10 Aug 2018 09:46:59 +0000 (11:46 +0200)]
Fix build without smpi.

4 years agoMake declarations visible.
Arnaud Giersch [Fri, 10 Aug 2018 09:46:59 +0000 (11:46 +0200)]
Make declarations visible.

4 years agoDead store.
Arnaud Giersch [Fri, 10 Aug 2018 09:46:59 +0000 (11:46 +0200)]
Dead store.

4 years agoUse increased size for snprintf too.
Arnaud Giersch [Fri, 10 Aug 2018 09:46:59 +0000 (11:46 +0200)]
Use increased size for snprintf too.

4 years agotry to get rid of linking issue
Augustin Degomme [Fri, 10 Aug 2018 08:56:31 +0000 (10:56 +0200)]
try to get rid of linking issue

4 years agomake buffers large enough to never trigger semi-bogus warning/error by GCC8
Augustin Degomme [Fri, 10 Aug 2018 08:42:05 +0000 (10:42 +0200)]
make buffers large enough to never trigger semi-bogus warning/error by GCC8

4 years agodocs: split from the existing doxygen project to document s4u only
Martin Quinson [Fri, 10 Aug 2018 08:20:25 +0000 (10:20 +0200)]
docs: split from the existing doxygen project to document s4u only

breathe+exhale are ways too long on the whole include/ dir

4 years agoprefer the C++ API in C++ examples
Martin Quinson [Fri, 10 Aug 2018 08:19:02 +0000 (10:19 +0200)]
prefer the C++ API in C++ examples

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 10 Aug 2018 08:17:37 +0000 (10:17 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agofix make dist (again)
Martin Quinson [Thu, 9 Aug 2018 23:01:28 +0000 (01:01 +0200)]
fix make dist (again)

4 years agostart the DIY part of the S4U tuto
Martin Quinson [Thu, 9 Aug 2018 22:49:45 +0000 (00:49 +0200)]
start the DIY part of the S4U tuto

4 years agosphinx: activate the todos
Martin Quinson [Thu, 9 Aug 2018 22:48:28 +0000 (00:48 +0200)]
sphinx: activate the todos

4 years agofix make dist
Martin Quinson [Thu, 9 Aug 2018 13:31:53 +0000 (15:31 +0200)]
fix make dist

4 years agodoc@framagit: re-increase the verbosity now that we only build the public API
Martin Quinson [Thu, 9 Aug 2018 13:31:16 +0000 (15:31 +0200)]
doc@framagit: re-increase the verbosity now that we only build the public API

4 years agoignore more stuff
Martin Quinson [Thu, 9 Aug 2018 13:23:22 +0000 (15:23 +0200)]
ignore more stuff

4 years agosimplify this example, that is used by the tuto
Martin Quinson [Thu, 9 Aug 2018 13:21:48 +0000 (15:21 +0200)]
simplify this example, that is used by the tuto

4 years agonew version of the masterworkers tuto, with s4u and sphinx
Martin Quinson [Thu, 9 Aug 2018 13:21:20 +0000 (15:21 +0200)]
new version of the masterworkers tuto, with s4u and sphinx

4 years ago[SMPI] Remove TRACE_smpi_send_process_data_in & _out
Christian Heinrich [Thu, 9 Aug 2018 09:23:17 +0000 (11:23 +0200)]
[SMPI] Remove TRACE_smpi_send_process_data_in & _out

These were added by Rafael Keller Tesser in his PR #214,
but I think I integrated this into other functions.

At least we're not using it, and I hope not mistakenly.

4 years ago[SMPI/LB] Require an actor as argument for get_mapping
Christian Heinrich [Thu, 9 Aug 2018 08:12:45 +0000 (10:12 +0200)]
[SMPI/LB] Require an actor as argument for get_mapping

4 years ago[DVFS] Use accessors instead of fields
Christian Heinrich [Wed, 8 Aug 2018 12:42:35 +0000 (14:42 +0200)]
[DVFS] Use accessors instead of fields

4 years ago[DVFS] Make sure pstate is never smaller than minimum
Christian Heinrich [Wed, 8 Aug 2018 12:41:48 +0000 (14:41 +0200)]
[DVFS] Make sure pstate is never smaller than minimum

4 years ago[DVFS] Also allow max_pstate/min_pstate options on per-host basis
Christian Heinrich [Wed, 8 Aug 2018 12:05:11 +0000 (14:05 +0200)]
[DVFS] Also allow max_pstate/min_pstate options on per-host basis

4 years ago[DVFS] Simplify by removing a variable
Christian Heinrich [Wed, 8 Aug 2018 11:59:51 +0000 (13:59 +0200)]
[DVFS] Simplify by removing a variable

4 years ago[DVFS] Support min/max pstate ranges
Christian Heinrich [Wed, 8 Aug 2018 11:59:29 +0000 (13:59 +0200)]
[DVFS] Support min/max pstate ranges

Through the newly introduced plugin/dvfs/min-pstate and
plugin/dvfs/max-pstate config options, it is now possible
to configure a range of pstates which can be used
for dvfs.

This makes it possible to define floprates for startup etc
even though these pstates will never be used during the execution
of a program.

4 years ago[SMPI/LB] Remove trailing spaces
Christian Heinrich [Wed, 8 Aug 2018 11:31:55 +0000 (13:31 +0200)]
[SMPI/LB] Remove trailing spaces

4 years ago[SMPI/LB] Not the object is const, but the pointer
Christian Heinrich [Wed, 8 Aug 2018 11:29:58 +0000 (13:29 +0200)]
[SMPI/LB] Not the object is const, but the pointer

4 years ago[SMPI/DVFS] Add Adagio DVFS
Christian Heinrich [Thu, 2 Aug 2018 19:34:30 +0000 (21:34 +0200)]
[SMPI/DVFS] Add Adagio DVFS

4 years ago[SMPI/LB] Remove commented-out function calls
Christian Heinrich [Wed, 8 Aug 2018 11:24:09 +0000 (13:24 +0200)]
[SMPI/LB] Remove commented-out function calls

4 years ago[DVFS] Assert that get_name() doesn't change the object
Christian Heinrich [Wed, 8 Aug 2018 08:13:24 +0000 (10:13 +0200)]
[DVFS] Assert that get_name() doesn't change the object

4 years ago[SMPI/LB] Add copyright header
Christian Heinrich [Mon, 6 Aug 2018 14:06:37 +0000 (16:06 +0200)]
[SMPI/LB] Add copyright header

4 years agoadd the Storage::read_async and Storage::write_async methods
Frederic Suter [Wed, 8 Aug 2018 07:17:37 +0000 (09:17 +0200)]
add the Storage::read_async and Storage::write_async methods
also add the corresponding io-async example

4 years agoFields are private.
Arnaud Giersch [Tue, 7 Aug 2018 14:14:41 +0000 (16:14 +0200)]
Fields are private.

4 years agoUnused parameters.
Arnaud Giersch [Tue, 7 Aug 2018 14:11:32 +0000 (16:11 +0200)]
Unused parameters.

4 years agoRemove unused files.
Arnaud Giersch [Tue, 7 Aug 2018 14:04:00 +0000 (16:04 +0200)]
Remove unused files.

4 years agoFix dist.
Arnaud Giersch [Tue, 7 Aug 2018 13:43:40 +0000 (15:43 +0200)]
Fix dist.

4 years agoUpdate.
Arnaud Giersch [Thu, 2 Aug 2018 13:42:55 +0000 (15:42 +0200)]
Update.

4 years agodocumentation cleanups
Martin Quinson [Tue, 7 Aug 2018 10:21:28 +0000 (12:21 +0200)]
documentation cleanups

4 years agodoc: only document the public API (for now?)
Martin Quinson [Tue, 7 Aug 2018 09:58:45 +0000 (11:58 +0200)]
doc: only document the public API (for now?)

It takes for ages to parse and produce, and the result is near to useless.

4 years agodoc@framagit: reduce the verbosity of apt to keep under the 500kb limit
Martin Quinson [Tue, 7 Aug 2018 09:22:51 +0000 (11:22 +0200)]
doc@framagit: reduce the verbosity of apt to keep under the 500kb limit

4 years agosplit a function in two and kill it
Frederic Suter [Tue, 7 Aug 2018 09:04:36 +0000 (11:04 +0200)]
split a function in two and kill it

4 years agodoc: current state of the future generation documentation
Martin Quinson [Mon, 6 Aug 2018 16:56:22 +0000 (18:56 +0200)]
doc: current state of the future generation documentation

and try to rebuild it on framagit

4 years agodoxygen: hide XBT_ATTRIB_NORETURN and XBT_ATTRIB_UNUSED that fool sphinx
Martin Quinson [Mon, 6 Aug 2018 08:27:10 +0000 (10:27 +0200)]
doxygen: hide XBT_ATTRIB_NORETURN and XBT_ATTRIB_UNUSED that fool sphinx

4 years agodoc: fix doxygen markup
Martin Quinson [Mon, 6 Aug 2018 02:10:29 +0000 (04:10 +0200)]
doc: fix doxygen markup

This typo was messing up sphinx and breathe quite a bit when reading
the produced xml

4 years agocosmetics in these examples
Martin Quinson [Mon, 6 Aug 2018 00:22:45 +0000 (02:22 +0200)]
cosmetics in these examples

4 years agosplit the s4u-app-masterworkers examples in two
Martin Quinson [Sun, 5 Aug 2018 23:03:44 +0000 (01:03 +0200)]
split the s4u-app-masterworkers examples in two

One written with simple functions, and one written with full-featured
classes. The first one is a better first example while the second
still has some pedagogical advantages for the users wanting to derive
it.

4 years agoAllow to register functions that are void (*code)(std::vector<std::string>)
Martin Quinson [Sun, 5 Aug 2018 23:01:27 +0000 (01:01 +0200)]
Allow to register functions that are void (*code)(std::vector<std::string>)

4 years agoand now commit the requirements file that I use on doc@framagit
Martin Quinson [Tue, 7 Aug 2018 08:11:52 +0000 (10:11 +0200)]
and now commit the requirements file that I use on doc@framagit

4 years agodoc@framagit: use requirement file, don't lose doxygen xml output
Martin Quinson [Tue, 7 Aug 2018 07:55:52 +0000 (09:55 +0200)]
doc@framagit: use requirement file, don't lose doxygen xml output

4 years agocosmetics in doc generation
Martin Quinson [Mon, 6 Aug 2018 21:59:05 +0000 (23:59 +0200)]
cosmetics in doc generation

4 years agodoc: exclude smpi and autogenerated files from doxygen
Martin Quinson [Mon, 6 Aug 2018 21:53:39 +0000 (23:53 +0200)]
doc: exclude smpi and autogenerated files from doxygen

4 years agogit ignore another binary
Martin Quinson [Mon, 6 Aug 2018 21:52:33 +0000 (23:52 +0200)]
git ignore another binary

4 years agovarious doc fixes
Martin Quinson [Mon, 6 Aug 2018 21:52:11 +0000 (23:52 +0200)]
various doc fixes

4 years agodoc: fix a broken link due to the recent file rename
Martin Quinson [Mon, 6 Aug 2018 20:06:02 +0000 (22:06 +0200)]
doc: fix a broken link due to the recent file rename

4 years agodoc on framagit: use pip to install sphinx and friends, not apt
Martin Quinson [Mon, 6 Aug 2018 19:22:00 +0000 (21:22 +0200)]
doc on framagit: use pip to install sphinx and friends, not apt

4 years agodoc on framagit: Install the missing dependency fig2dev
Martin Quinson [Mon, 6 Aug 2018 19:10:25 +0000 (21:10 +0200)]
doc on framagit: Install the missing dependency fig2dev

4 years agodoc on framagit: fix the name of the python3-pip package
Martin Quinson [Mon, 6 Aug 2018 17:47:34 +0000 (19:47 +0200)]
doc on framagit: fix the name of the python3-pip package

4 years agodoc: current state of the future generation documentation
Martin Quinson [Mon, 6 Aug 2018 16:56:22 +0000 (18:56 +0200)]
doc: current state of the future generation documentation

and try to rebuild it on framagit

4 years agodoxygen: hide XBT_ATTRIB_NORETURN and XBT_ATTRIB_UNUSED that fool sphinx
Martin Quinson [Mon, 6 Aug 2018 08:27:10 +0000 (10:27 +0200)]
doxygen: hide XBT_ATTRIB_NORETURN and XBT_ATTRIB_UNUSED that fool sphinx

4 years agomake the XBT_INFO match beetween MSG and S4U
Frederic Suter [Mon, 6 Aug 2018 08:06:01 +0000 (10:06 +0200)]
make the XBT_INFO match beetween MSG and S4U
activating TI makes the test fail

4 years agothis example works \o/
Frederic Suter [Mon, 6 Aug 2018 07:35:22 +0000 (09:35 +0200)]
this example works \o/
Copying the tesh to the msg example should hopefully work too (once
the INFO messages have been changed to display the same information)