Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years agosome useless s/process/actor/ in the source code
Martin Quinson [Fri, 4 Jan 2019 21:05:49 +0000 (22:05 +0100)]
some useless s/process/actor/ in the source code

5 years agosonar: ignore another rule as we don't have real security concerns
Martin Quinson [Fri, 4 Jan 2019 21:03:18 +0000 (22:03 +0100)]
sonar: ignore another rule as we don't have real security concerns

5 years agouse strncpy instead of strcpy to please sonar
Martin Quinson [Fri, 4 Jan 2019 16:43:22 +0000 (17:43 +0100)]
use strncpy instead of strcpy to please sonar

5 years agotravis: don't run the tests before the sonar analysis
Martin Quinson [Fri, 4 Jan 2019 13:51:45 +0000 (14:51 +0100)]
travis: don't run the tests before the sonar analysis

We exeed the 40mn timeframe on travis with those tests.
Too bad, we gonna lose the coverage information...

5 years agopy: try to fix MC builds
Martin Quinson [Fri, 4 Jan 2019 13:43:57 +0000 (14:43 +0100)]
py: try to fix MC builds

5 years agosonar: we do have a process to remove deprecated code
Martin Quinson [Fri, 4 Jan 2019 10:58:35 +0000 (11:58 +0100)]
sonar: we do have a process to remove deprecated code

5 years agotypo in comments
Martin Quinson [Fri, 4 Jan 2019 10:13:42 +0000 (11:13 +0100)]
typo in comments

5 years agocmake: mark some variables as advanced to hide them
Martin Quinson [Fri, 4 Jan 2019 10:12:47 +0000 (11:12 +0100)]
cmake: mark some variables as advanced to hide them

5 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 3 Jan 2019 22:23:38 +0000 (23:23 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

5 years agoyet another example: actor-suspend.py
Martin Quinson [Thu, 3 Jan 2019 22:07:16 +0000 (23:07 +0100)]
yet another example: actor-suspend.py

5 years agogitlab-ci: don't build with sonar, as it does not work
Martin Quinson [Thu, 3 Jan 2019 21:54:27 +0000 (22:54 +0100)]
gitlab-ci: don't build with sonar, as it does not work

5 years agorename an example to stick to the function name
Martin Quinson [Thu, 3 Jan 2019 21:42:58 +0000 (22:42 +0100)]
rename an example to stick to the function name

5 years agopy: another example: actor-join
Martin Quinson [Thu, 3 Jan 2019 21:37:56 +0000 (22:37 +0100)]
py: another example: actor-join

5 years agoPython: many improvements; add a new example (actor-migration)
Martin Quinson [Thu, 3 Jan 2019 20:37:12 +0000 (21:37 +0100)]
Python: many improvements; add a new example (actor-migration)

Also, improve a bit the C++ documentation

5 years agosphinx autodoc needs the package to be built before the doc
Martin Quinson [Thu, 3 Jan 2019 18:27:46 +0000 (19:27 +0100)]
sphinx autodoc needs the package to be built before the doc

5 years agoInstall unzip to get sonar on framagit
Martin Quinson [Thu, 3 Jan 2019 15:37:58 +0000 (16:37 +0100)]
Install unzip to get sonar on framagit

5 years agoInstall curl to get sonar on framagit
Martin Quinson [Thu, 3 Jan 2019 15:36:53 +0000 (16:36 +0100)]
Install curl to get sonar on framagit

5 years agotry to activate sonar on framagit
Martin Quinson [Thu, 3 Jan 2019 15:27:23 +0000 (16:27 +0100)]
try to activate sonar on framagit

5 years agopy: Try to add properties to the Host class
Martin Quinson [Thu, 3 Jan 2019 10:34:53 +0000 (11:34 +0100)]
py: Try to add properties to the Host class

5 years agoDocument recent pyton examples
Martin Quinson [Thu, 3 Jan 2019 10:34:21 +0000 (11:34 +0100)]
Document recent pyton examples

5 years agotravis: more parallelism (extend previous commit).
Arnaud Giersch [Wed, 2 Jan 2019 20:33:07 +0000 (21:33 +0100)]
travis: more parallelism (extend previous commit).

5 years agotypo
Martin Quinson [Wed, 2 Jan 2019 15:38:34 +0000 (16:38 +0100)]
typo

5 years agopy: document the this_actor submodule
Martin Quinson [Wed, 2 Jan 2019 15:20:07 +0000 (16:20 +0100)]
py: document the this_actor submodule

5 years agotravis: increase the build paralelism
Martin Quinson [Wed, 2 Jan 2019 00:51:12 +0000 (01:51 +0100)]
travis: increase the build paralelism

5 years agotravis: pybind11 is not in xenial either
Martin Quinson [Tue, 1 Jan 2019 22:16:20 +0000 (23:16 +0100)]
travis: pybind11 is not in xenial either

5 years agotravis: don't specify the boost version we need, to get the latest
Martin Quinson [Tue, 1 Jan 2019 22:11:40 +0000 (23:11 +0100)]
travis: don't specify the boost version we need, to get the latest

5 years agotravis: try to activate xenial images
Martin Quinson [Tue, 1 Jan 2019 22:02:05 +0000 (23:02 +0100)]
travis: try to activate xenial images

5 years agoRevert "try to hide a bug in tesh"
Martin Quinson [Tue, 1 Jan 2019 21:57:11 +0000 (22:57 +0100)]
Revert "try to hide a bug in tesh"

This reverts commit 2e7d753e6a256c3561db39a22aa5e2a5f502400a.

5 years agoAdd a missing file in the archive
Martin Quinson [Tue, 1 Jan 2019 21:56:56 +0000 (22:56 +0100)]
Add a missing file in the archive

5 years agotry to hide a bug in tesh
Martin Quinson [Tue, 1 Jan 2019 18:59:54 +0000 (19:59 +0100)]
try to hide a bug in tesh

It seems to lose the CWD for some reasons. Here is a log example:

[Tesh/INFO] change directory to /builds/workspace/SimGrid/build_mode/ModelChecker/node/simgrid-ubuntu-xenial-32/build/SimGrid-3.21.90/examples/python/actor-create
[...]
[actor-create.tesh:3] python3 /builds/workspace/SimGrid/build_mode/ModelChecker/node/simgrid-ubuntu-xenial-32/build/SimGrid-3.21.90/examples/python/actor-create/actor-create.py
[...]
+[...]  [xbt/CRITICAL] Unable to open 'actor-create_d.xml' from '/builds/workspace/SimGrid/build_mode/ModelChecker/node/simgrid-ubuntu-xenial-32/build/SimGrid-3.21.90/examples/python'

5 years agouse named parameters instead of overloads for py::execute
Martin Quinson [Tue, 1 Jan 2019 10:57:24 +0000 (11:57 +0100)]
use named parameters instead of overloads for py::execute

5 years agotesh: try harder to not loose the cwd between threads
Martin Quinson [Tue, 1 Jan 2019 10:22:21 +0000 (11:22 +0100)]
tesh: try harder to not loose the cwd between threads

5 years agoxbt::Path: do not ignore the return value of getcwd
Martin Quinson [Mon, 31 Dec 2018 18:22:00 +0000 (19:22 +0100)]
xbt::Path: do not ignore the return value of getcwd

5 years agoimprove an error message when a file cannot be open
Martin Quinson [Mon, 31 Dec 2018 17:38:16 +0000 (18:38 +0100)]
improve an error message when a file cannot be open

5 years agoNew function: xbt::Path() gets the CWD
Martin Quinson [Mon, 31 Dec 2018 17:37:41 +0000 (18:37 +0100)]
New function: xbt::Path() gets the CWD

5 years agopython: reorg to allow 'from simgrid import *' in scripts
Martin Quinson [Mon, 31 Dec 2018 14:59:55 +0000 (15:59 +0100)]
python: reorg to allow 'from simgrid import *' in scripts

5 years ago[travis] Add -j2 here too.
Arnaud Giersch [Mon, 31 Dec 2018 14:40:35 +0000 (15:40 +0100)]
[travis] Add -j2 here too.

5 years ago[travis] Try to improve running time with parallel executions.
Arnaud Giersch [Mon, 31 Dec 2018 14:16:31 +0000 (15:16 +0100)]
[travis] Try to improve running time with parallel executions.

5 years ago[sonar] Remove deprecated properties.
Arnaud Giersch [Mon, 31 Dec 2018 14:11:38 +0000 (15:11 +0100)]
[sonar] Remove deprecated properties.

5 years agodisable python on travis, as Trusty is too old
Martin Quinson [Mon, 31 Dec 2018 01:59:16 +0000 (02:59 +0100)]
disable python on travis, as Trusty is too old

5 years agotrailing spaces
Martin Quinson [Mon, 31 Dec 2018 01:56:39 +0000 (02:56 +0100)]
trailing spaces

5 years agopy: fix out of tree build testing
Martin Quinson [Mon, 31 Dec 2018 01:48:41 +0000 (02:48 +0100)]
py: fix out of tree build testing

5 years agopython: two more examples, the basics are here
Martin Quinson [Mon, 31 Dec 2018 01:31:47 +0000 (02:31 +0100)]
python: two more examples, the basics are here

5 years agopython: rename register_function into register_actor as it takes classes too
Martin Quinson [Mon, 31 Dec 2018 01:28:37 +0000 (02:28 +0100)]
python: rename register_function into register_actor as it takes classes too

5 years agopython: fix register_function when passed a class
Martin Quinson [Mon, 31 Dec 2018 01:26:07 +0000 (02:26 +0100)]
python: fix register_function when passed a class

5 years agopython: extend the bindings
Martin Quinson [Mon, 31 Dec 2018 00:33:57 +0000 (01:33 +0100)]
python: extend the bindings

WORKING:

- Mailbox::put and Mailbox::get
- simgrid.Actor.create("name", Fafard, callable)
  (with callable being either a function or an object implementing __call__(self)
- simgrid.Actor.create("name", Fafard, callable, param1, param2)
  (with callable taking 2 parameters)
- e.register_function("name", fun)
  (with fun being a function taking a tuple parameter)

NOT WORKING
- e.register_function("name", class)
  (with class being a class name implementing __init__(self, *args))

5 years agoemission does not seem to be the correct word here
Martin Quinson [Mon, 31 Dec 2018 00:32:55 +0000 (01:32 +0100)]
emission does not seem to be the correct word here

5 years agopython: improve the documentation
Martin Quinson [Fri, 28 Dec 2018 00:32:10 +0000 (01:32 +0100)]
python: improve the documentation

5 years agocosmetics.
Augustin Degomme [Fri, 28 Dec 2018 17:09:36 +0000 (18:09 +0100)]
cosmetics.

5 years agoupdate description of SImgrid ci job with NS3 and Python
Augustin Degomme [Fri, 28 Dec 2018 11:26:54 +0000 (12:26 +0100)]
update description of SImgrid ci job with NS3 and Python

5 years agocompile simgrid_python with c++14
Martin Quinson [Thu, 27 Dec 2018 20:26:22 +0000 (21:26 +0100)]
compile simgrid_python with c++14

- Was with gnu++14, but icc does not seem to love it.
- Also remove -Wno-attributes now that the problematic templates are gone

5 years agofix out of tree builds
Martin Quinson [Thu, 27 Dec 2018 19:42:38 +0000 (20:42 +0100)]
fix out of tree builds

5 years agoOld pybind11 cannot be used
Martin Quinson [Thu, 27 Dec 2018 19:39:04 +0000 (20:39 +0100)]
Old pybind11 cannot be used

We need PYBIND11_MODULE, that do not seem usable before v2.2.0

5 years agowe cannot use PYBIND11 without PYTHONLIBS
Martin Quinson [Thu, 27 Dec 2018 18:29:03 +0000 (19:29 +0100)]
we cannot use PYBIND11 without PYTHONLIBS

No idea why pybind11 does not do it automatically. Maybe they think
that pybind11 can work (ie generate code) even if that code cannot be
compiled, but that's a bit ... strange.

5 years agokill deprecated templates that don't compile in C++14
Martin Quinson [Thu, 27 Dec 2018 18:10:55 +0000 (19:10 +0100)]
kill deprecated templates that don't compile in C++14

5 years agoDrop sg_cmdline. Please use xbt_cmdline instead (+include reduction)
Martin Quinson [Thu, 27 Dec 2018 10:32:03 +0000 (11:32 +0100)]
Drop sg_cmdline. Please use xbt_cmdline instead (+include reduction)

5 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 27 Dec 2018 09:27:51 +0000 (10:27 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

5 years agoOnly test python bindings if they are enabled
Martin Quinson [Thu, 27 Dec 2018 09:19:34 +0000 (10:19 +0100)]
Only test python bindings if they are enabled

But still include their files in the archive in all cases

5 years agoactually include the python examples in the archive
Martin Quinson [Thu, 27 Dec 2018 09:03:44 +0000 (10:03 +0100)]
actually include the python examples in the archive

5 years agoa host and not an host
Frederic Suter [Thu, 27 Dec 2018 08:46:28 +0000 (09:46 +0100)]
a host and not an host

5 years agofix make dist
Martin Quinson [Thu, 27 Dec 2018 00:39:16 +0000 (01:39 +0100)]
fix make dist

5 years agons3: comment asserts that fail on clusters
Martin Quinson [Thu, 27 Dec 2018 00:32:53 +0000 (01:32 +0100)]
ns3: comment asserts that fail on clusters

5 years agopython: First working example
Martin Quinson [Wed, 26 Dec 2018 23:46:44 +0000 (00:46 +0100)]
python: First working example

5 years agoeven more ignorable cruft
Martin Quinson [Wed, 26 Dec 2018 23:46:18 +0000 (00:46 +0100)]
even more ignorable cruft

5 years agofix make dist
Martin Quinson [Wed, 26 Dec 2018 23:00:15 +0000 (00:00 +0100)]
fix make dist

5 years agopython: add the docstrings
Martin Quinson [Wed, 26 Dec 2018 22:59:05 +0000 (23:59 +0100)]
python: add the docstrings

5 years agoinitial support for pybind11: Python bindings of S4U are underway
Martin Quinson [Wed, 26 Dec 2018 22:25:27 +0000 (23:25 +0100)]
initial support for pybind11: Python bindings of S4U are underway

5 years agoIgnore more stuff
Martin Quinson [Wed, 26 Dec 2018 22:12:23 +0000 (23:12 +0100)]
Ignore more stuff

5 years agos4u.hpp: add a missing include file
Martin Quinson [Tue, 25 Dec 2018 18:10:23 +0000 (19:10 +0100)]
s4u.hpp: add a missing include file

5 years agohide deprecated methods from doxygen
Martin Quinson [Tue, 25 Dec 2018 17:52:08 +0000 (18:52 +0100)]
hide deprecated methods from doxygen

5 years agons3: assert that the sent amount is as expected
Martin Quinson [Tue, 25 Dec 2018 16:27:19 +0000 (17:27 +0100)]
ns3: assert that the sent amount is as expected

5 years agoignore another example
Martin Quinson [Wed, 19 Dec 2018 10:32:45 +0000 (11:32 +0100)]
ignore another example

5 years agoKill unused static function.
Arnaud Giersch [Tue, 18 Dec 2018 15:08:52 +0000 (16:08 +0100)]
Kill unused static function.

5 years agocorrect cmake version for this fix
Martin Quinson [Fri, 30 Nov 2018 10:40:49 +0000 (11:40 +0100)]
correct cmake version for this fix

5 years agolink_energy: make sure that the watts ranges are always inited correctly
Martin Quinson [Thu, 29 Nov 2018 15:15:17 +0000 (16:15 +0100)]
link_energy: make sure that the watts ranges are always inited correctly

Thanks to Loic for the report and debug of this issue.

5 years agoDoc polishing
Martin Quinson [Wed, 28 Nov 2018 21:57:07 +0000 (22:57 +0100)]
Doc polishing

5 years agoTiny doc improvement
Martin Quinson [Tue, 27 Nov 2018 19:34:14 +0000 (20:34 +0100)]
Tiny doc improvement

5 years ago[smpi] smpi::Host ext init: smpi_main -> SMPI_init
Millian Poquet [Wed, 28 Nov 2018 18:29:36 +0000 (19:29 +0100)]
[smpi] smpi::Host ext init: smpi_main -> SMPI_init

5 years ago[examples] smpi-replay-mm: trace w/ collectives
Millian Poquet [Tue, 27 Nov 2018 17:45:55 +0000 (18:45 +0100)]
[examples] smpi-replay-mm: trace w/ collectives

5 years ago[doc] tuto MPI: fix smpirun cmd, verbosity++
Millian Poquet [Mon, 26 Nov 2018 16:22:55 +0000 (17:22 +0100)]
[doc] tuto MPI: fix smpirun cmd, verbosity++

5 years ago[docs] tuto MPI: update smpirun replay syntax
Millian Poquet [Mon, 26 Nov 2018 15:06:01 +0000 (16:06 +0100)]
[docs] tuto MPI: update smpirun replay syntax

Did not work on my machine due to missing hostfile,
but I think it was already failing for the same reason.

5 years ago[doc] spacing cosmetics
Millian Poquet [Mon, 26 Nov 2018 14:14:57 +0000 (15:14 +0100)]
[doc] spacing cosmetics

5 years agorevalidate tesh files with correct ranks (starting at 0)
Frederic Suter [Mon, 26 Nov 2018 10:25:29 +0000 (11:25 +0100)]
revalidate tesh files with correct ranks (starting at 0)

5 years agocrude hack to display the "right" rank in Paje traces (#318)
Frederic Suter [Mon, 26 Nov 2018 10:20:46 +0000 (11:20 +0100)]
crude hack to display the "right" rank in Paje traces (#318)

5 years agolimit the conversion trick for non-replayable types to replay
Frederic Suter [Mon, 26 Nov 2018 08:54:02 +0000 (09:54 +0100)]
limit the conversion trick for non-replayable types to replay

5 years ago(#318) should please pj_dump
Frederic Suter [Fri, 23 Nov 2018 17:45:50 +0000 (18:45 +0100)]
(#318) should please pj_dump
still have to correct some of the displayed information

5 years agobetter to save file before commit and push ...
Frederic Suter [Fri, 23 Nov 2018 16:06:53 +0000 (17:06 +0100)]
better to save file before commit and push ...

5 years agofix #318: return "NA" when no size can be displayed
Frederic Suter [Fri, 23 Nov 2018 15:55:19 +0000 (16:55 +0100)]
fix #318: return "NA" when no size can be displayed

5 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Thu, 22 Nov 2018 15:43:38 +0000 (16:43 +0100)]
Merge remote-tracking branch 'github/master'

5 years agoFix vector access out of range.
Arnaud Giersch [Thu, 22 Nov 2018 15:39:11 +0000 (16:39 +0100)]
Fix vector access out of range.

5 years agomake ugly regexp a bit more robust to corner cases
Augustin Degomme [Thu, 22 Nov 2018 15:39:56 +0000 (16:39 +0100)]
make ugly regexp a bit more robust to corner cases

5 years agohopefully last one
Augustin Degomme [Thu, 22 Nov 2018 14:46:19 +0000 (15:46 +0100)]
hopefully last one

5 years agoyet another attempt at a trivial thing.
Augustin Degomme [Thu, 22 Nov 2018 14:24:02 +0000 (15:24 +0100)]
yet another attempt at a trivial thing.

5 years ago-=
Augustin Degomme [Thu, 22 Nov 2018 13:42:40 +0000 (14:42 +0100)]
-=

5 years agoMerge pull request #315 from simgrid/smpirun-replay
Martin Quinson [Thu, 22 Nov 2018 13:22:52 +0000 (14:22 +0100)]
Merge pull request #315 from simgrid/smpirun-replay

replay from smpirun (without a dedicated replayer program)

5 years agoonly install when branch is master (avoid installing PRs)
Augustin Degomme [Thu, 22 Nov 2018 12:17:12 +0000 (13:17 +0100)]
only install when branch is master (avoid installing PRs)

5 years agotest some tracing options
Augustin Degomme [Thu, 22 Nov 2018 10:07:39 +0000 (11:07 +0100)]
test some tracing options

5 years agofix crash with tracing/smpi/display-sizes:yes
Augustin Degomme [Thu, 22 Nov 2018 10:02:01 +0000 (11:02 +0100)]
fix crash with tracing/smpi/display-sizes:yes

5 years agotiny doc improvement
Martin Quinson [Wed, 21 Nov 2018 21:08:04 +0000 (22:08 +0100)]
tiny doc improvement

5 years agoDocker: one rule to regenerate them all
Martin Quinson [Wed, 21 Nov 2018 20:58:30 +0000 (21:58 +0100)]
Docker: one rule to regenerate them all