Logo AND Algorithmique Numérique Distribuée

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

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

11 months 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

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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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))

11 months 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

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

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

11 months 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

11 months 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

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

11 months 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

11 months 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.

11 months 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

11 months 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)

11 months 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

11 months 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

11 months 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

11 months 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

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

11 months 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

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

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

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

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

11 months 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

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

11 months 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

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

11 months 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

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

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

12 months 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

12 months 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.

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

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

12 months 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

12 months 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

12 months 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++

12 months 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.

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

12 months 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)

12 months 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)

12 months 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

12 months 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

12 months 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 ...

12 months 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

12 months 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'

12 months 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.

12 months 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

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

12 months 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.

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

12 months 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)

12 months 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)

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

12 months 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

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

12 months 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

12 months ago[misc] spacing cosmetics
Millian Poquet [Tue, 20 Nov 2018 09:08:38 +0000 (10:08 +0100)]
[misc] spacing cosmetics

12 months ago[smpi] replay from `smpirun -replay <tracefile>`
Millian Poquet [Tue, 20 Nov 2018 09:03:15 +0000 (10:03 +0100)]
[smpi] replay from `smpirun -replay <tracefile>`

1. This commit changes the usage of smpirun for replaying traces.
- Removal of the -ext option
- Addition of the -replay <tracefile> option
- Addition of the smpirun ... -replay <tracefile> [program] [popt]
  syntax. It allows replaying without giving a specific replay program,
  but still allows previous behaviour by giving program.

2. This commit also updates the tests that were using the old smpirun
syntax.

3. This commit introduces a new `smpi-replay` test for smpirun -replay without
specifying a program. The old smpi-replay test has been renamed
smpi-replay-override-replayer

12 months agotuto-msg was removed 3 months ago.
Arnaud Giersch [Wed, 21 Nov 2018 16:07:24 +0000 (17:07 +0100)]
tuto-msg was removed 3 months ago.

12 months agoStabilize output by sorting.
Arnaud Giersch [Mon, 19 Nov 2018 14:22:37 +0000 (15:22 +0100)]
Stabilize output by sorting.

Should improve framagit issue simgrid/simgrid#4.

12 months ago[smpi] add smpireplayrun binary
Millian Poquet [Tue, 20 Nov 2018 08:49:05 +0000 (09:49 +0100)]
[smpi] add smpireplayrun binary

This program is a simple variant of the good old smpi-replay example.

The goal here is to generate a dedicated binary in SimGrid's
installation so users can simply use smpirun -replay instead of
compiling and executing a dedicated example.

12 months ago[misc] remove smpimain from libsimgrid
Millian Poquet [Tue, 20 Nov 2018 08:39:08 +0000 (09:39 +0100)]
[misc] remove smpimain from libsimgrid

12 months agoadd include to lift potential ambiguity for std::abs
Augustin Degomme [Wed, 21 Nov 2018 13:05:27 +0000 (14:05 +0100)]
add include to lift potential ambiguity for std::abs

12 months agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Wed, 21 Nov 2018 10:48:36 +0000 (11:48 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

12 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Wed, 21 Nov 2018 10:48:16 +0000 (11:48 +0100)]
Merge branch 'master' of framagit.org:simgrid/simgrid

12 months agodocument recent changes
Martin Quinson [Wed, 21 Nov 2018 10:48:07 +0000 (11:48 +0100)]
document recent changes

12 months agoMerge pull request #316 from bcamus/master
Martin Quinson [Wed, 21 Nov 2018 10:44:42 +0000 (11:44 +0100)]
Merge pull request #316 from bcamus/master

fix a bug related to the CPU utilization of multi-core VM

12 months agoMerge pull request #314 from simgrid/smpi-args-cleanup
Martin Quinson [Wed, 21 Nov 2018 10:43:13 +0000 (11:43 +0100)]
Merge pull request #314 from simgrid/smpi-args-cleanup

SMPI args cleanup

12 months ago[smpi args cleanup] remove load-balancer-replay
Millian Poquet [Fri, 16 Nov 2018 15:55:09 +0000 (16:55 +0100)]
[smpi args cleanup] remove load-balancer-replay

The example was partly deactivated.
This commit removes the files from the repo (for now).

12 months ago[smpi args cleanup] adapt replay examples
Millian Poquet [Fri, 16 Nov 2018 15:54:36 +0000 (16:54 +0100)]
[smpi args cleanup] adapt replay examples

12 months agoUpdate teshsuite/s4u/cloud-sharing/cloud-sharing.cpp
Martin Quinson [Wed, 21 Nov 2018 08:09:01 +0000 (09:09 +0100)]
Update teshsuite/s4u/cloud-sharing/cloud-sharing.cpp

Co-Authored-By: bcamus <benjamin.camus@inria.fr>
12 months agoUpdate src/plugins/vm/VirtualMachineImpl.cpp
Martin Quinson [Tue, 20 Nov 2018 19:44:22 +0000 (20:44 +0100)]
Update src/plugins/vm/VirtualMachineImpl.cpp

Co-Authored-By: bcamus <benjamin.camus@inria.fr>
12 months agofix a bug related to the CPU utilization of multi-core VM
bcamus [Tue, 30 Oct 2018 13:26:04 +0000 (14:26 +0100)]
fix a bug related to the CPU utilization of multi-core VM
+ update of the cloud-sharing test accordingly
+ the cloud-sharing test is now written in s4u

12 months agoSonar is currently failing, try to upgrade sonar-scanner.
Arnaud Giersch [Sun, 18 Nov 2018 14:20:27 +0000 (15:20 +0100)]
Sonar is currently failing, try to upgrade sonar-scanner.

12 months agoforgot java too
Frederic Suter [Sat, 17 Nov 2018 20:58:01 +0000 (21:58 +0100)]
forgot java too

12 months agoretry with warnings activated
Frederic Suter [Sat, 17 Nov 2018 20:21:57 +0000 (21:21 +0100)]
retry with warnings activated

12 months agoback to business!
Frederic Suter [Sat, 17 Nov 2018 19:40:23 +0000 (20:40 +0100)]
back to business!
MSG semaphores become legacy as they are now implemented through S4U.

12 months ago[smpi args cleanup] internal changes for clean-up
Millian Poquet [Fri, 16 Nov 2018 15:24:07 +0000 (16:24 +0100)]
[smpi args cleanup] internal changes for clean-up

- use actor properties instead of args for instance_id and rank
- remove argc/argv from several functions
  - either by making the desired arguments explicit (replay/offline)
  - or by using the actor properties (online)

12 months ago[smpi args cleanup] xbt_replay args
Millian Poquet [Fri, 16 Nov 2018 15:15:15 +0000 (16:15 +0100)]
[smpi args cleanup] xbt_replay args

12 months agoMerge commit 'c619e9d16'
Millian Poquet [Fri, 16 Nov 2018 15:11:10 +0000 (16:11 +0100)]
Merge commit 'c619e9d16'

12 months ago[misc] fix deprecation msg for Actor::setProperty
Millian Poquet [Thu, 15 Nov 2018 18:15:17 +0000 (19:15 +0100)]
[misc] fix deprecation msg for Actor::setProperty

12 months agohandle MPI_ANY_SOURCE in recv replay
Augustin Degomme [Thu, 15 Nov 2018 10:02:33 +0000 (11:02 +0100)]
handle MPI_ANY_SOURCE in recv replay

12 months agoMacro is always defined (by cmakedefine01).
Arnaud Giersch [Thu, 15 Nov 2018 08:56:19 +0000 (09:56 +0100)]
Macro is always defined (by cmakedefine01).

12 months agoAdd a comment explaining the "ifndef".
Arnaud Giersch [Thu, 15 Nov 2018 08:54:18 +0000 (09:54 +0100)]
Add a comment explaining the "ifndef".

12 months agoInclude seems useless.
Arnaud Giersch [Thu, 15 Nov 2018 08:35:53 +0000 (09:35 +0100)]
Include seems useless.

12 months agoSIMGRID_HAVE_MC is already defined in <simgrid/config.h>.
Arnaud Giersch [Thu, 15 Nov 2018 08:02:28 +0000 (09:02 +0100)]
SIMGRID_HAVE_MC is already defined in <simgrid/config.h>.

12 months agoFix comments.
Arnaud Giersch [Thu, 15 Nov 2018 07:54:07 +0000 (08:54 +0100)]
Fix comments.

12 months agodocs improvements
Martin Quinson [Thu, 15 Nov 2018 06:34:24 +0000 (07:34 +0100)]
docs improvements

- some words about trace replay, mostly stolen from tuto. Ways more should be said.
- A warning about remainings of previous cmake configuration
- A word on VM in the 10000ft view of S4U

13 months agofix clang build
Martin Quinson [Mon, 12 Nov 2018 05:14:01 +0000 (06:14 +0100)]
fix clang build

13 months agosmall doc improvement
Martin Quinson [Mon, 12 Nov 2018 04:12:37 +0000 (05:12 +0100)]
small doc improvement

13 months agoContext creation: Fix one OOP design issue
Martin Quinson [Mon, 12 Nov 2018 03:49:39 +0000 (04:49 +0100)]
Context creation: Fix one OOP design issue

13 months agoimprove a comment
Martin Quinson [Sun, 11 Nov 2018 05:17:17 +0000 (06:17 +0100)]
improve a comment

13 months agoFactorize code between the calling sites of the ActorImpl ctor
Martin Quinson [Sun, 11 Nov 2018 04:39:11 +0000 (05:39 +0100)]
Factorize code between the calling sites of the ActorImpl ctor