Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
14 months ago[doc] spacing cosmetics
Millian Poquet [Mon, 26 Nov 2018 14:14:57 +0000 (15:14 +0100)]
[doc] spacing cosmetics

14 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)

14 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)

14 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

14 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

14 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 ...

14 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

14 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'

14 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.

14 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

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

14 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.

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

14 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)

14 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)

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

14 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

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

14 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

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

14 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

14 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.

14 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.

14 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.

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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).

14 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

14 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>
14 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>
14 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

14 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.

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

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

14 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.

14 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)

14 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

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

14 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

14 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

14 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).

14 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".

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

14 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>.

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

14 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

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

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

14 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

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

14 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

14 months agotiny factorizations and doc improvements
Martin Quinson [Sun, 11 Nov 2018 03:23:03 +0000 (04:23 +0100)]
tiny factorizations and doc improvements

14 months agoremove the argc/argv version of simcall_process_create
Martin Quinson [Sun, 11 Nov 2018 02:54:30 +0000 (03:54 +0100)]
remove the argc/argv version of simcall_process_create

14 months agoMSG: kill the MSG_process_create_from_stdfunc() pimple
Martin Quinson [Sun, 11 Nov 2018 01:49:31 +0000 (02:49 +0100)]
MSG: kill the MSG_process_create_from_stdfunc() pimple

14 months agojava: stop using MSG_process_create_from_stdfunc
Martin Quinson [Sun, 11 Nov 2018 00:31:57 +0000 (01:31 +0100)]
java: stop using MSG_process_create_from_stdfunc

Use simcall_process_create directly instead. This code would be better
if smx_actor were a real class.

14 months agojava process creation: this was already binded by java_main_jprocess()
Martin Quinson [Sat, 10 Nov 2018 23:54:05 +0000 (00:54 +0100)]
java process creation: this was already binded by java_main_jprocess()

14 months agoeclipse config file: there is some Java in this project
Martin Quinson [Sat, 10 Nov 2018 23:12:30 +0000 (00:12 +0100)]
eclipse config file: there is some Java in this project

14 months agodoc: say that set_receiver() adds a silly ref to the actor
Martin Quinson [Sat, 10 Nov 2018 21:33:19 +0000 (22:33 +0100)]
doc: say that set_receiver() adds a silly ref to the actor

I tried hard to fix it instead, but I don't manage for now.

14 months agoApple renamed all their OSes
Martin Quinson [Tue, 6 Nov 2018 06:19:42 +0000 (07:19 +0100)]
Apple renamed all their OSes

https://www.engadget.com/2016/06/13/os-x-is-now-macos/

14 months agoplease sonar: kill an unused type and reduce the visibility of another one
Martin Quinson [Sun, 4 Nov 2018 11:54:44 +0000 (12:54 +0100)]
please sonar: kill an unused type and reduce the visibility of another one

14 months agoFix distcheck.
Arnaud Giersch [Wed, 7 Nov 2018 21:11:04 +0000 (22:11 +0100)]
Fix distcheck.

14 months agoCosmetics.
Arnaud Giersch [Fri, 2 Nov 2018 20:21:47 +0000 (21:21 +0100)]
Cosmetics.

14 months agoMerge pull request #309 from mpoquet/generate-pkg-config
Martin Quinson [Wed, 7 Nov 2018 19:51:31 +0000 (20:51 +0100)]
Merge pull request #309 from mpoquet/generate-pkg-config

Provide a pkg-config file for SimGrid

14 months ago[cmake] generate/install a pkg-config simgrid.pc
Millian Poquet [Wed, 7 Nov 2018 18:09:02 +0000 (19:09 +0100)]
[cmake] generate/install a pkg-config simgrid.pc

14 months agofix gcc 9 warnings. Have to check if the std::move removal is harmful
Augustin Degomme [Tue, 6 Nov 2018 17:06:05 +0000 (18:06 +0100)]
fix gcc 9 warnings. Have to check if the std::move removal is harmful

14 months agothese archaic callbacks are not used anymore, so kill them
Martin Quinson [Sun, 4 Nov 2018 04:33:09 +0000 (05:33 +0100)]
these archaic callbacks are not used anymore, so kill them

14 months agosimplify MSG process creation/destruction
Martin Quinson [Sun, 4 Nov 2018 04:04:55 +0000 (05:04 +0100)]
simplify MSG process creation/destruction

Use a proper callback to cleanup things, and somehow, we don't need
anything special anymore when creating a MSG process, so stop making
things complicated for no reason.

14 months agoNote that this easy task is actually impssible as is
Martin Quinson [Sun, 4 Nov 2018 03:50:03 +0000 (04:50 +0100)]
Note that this easy task is actually impssible as is

14 months agoDeprecate the C API of parallel_execute
Martin Quinson [Sat, 27 Oct 2018 14:31:49 +0000 (16:31 +0200)]
Deprecate the C API of parallel_execute

14 months agoplug a memleak
Martin Quinson [Sun, 4 Nov 2018 00:45:07 +0000 (01:45 +0100)]
plug a memleak

14 months agotry to have mc work with freebsd 12 and flang
Augustin Degomme [Sat, 3 Nov 2018 14:57:58 +0000 (14:57 +0000)]
try to have mc work with freebsd 12 and flang

14 months agofinish objectifying the backtraces
Martin Quinson [Fri, 2 Nov 2018 21:49:24 +0000 (22:49 +0100)]
finish objectifying the backtraces

14 months agoUse $() instead of backticks and remove useless use of grep.
Arnaud Giersch [Fri, 2 Nov 2018 17:01:20 +0000 (18:01 +0100)]
Use $() instead of backticks and remove useless use of grep.

14 months agoCopy constructor and assignment operators are implicitely deleted anyway (dixit clang 8).
Arnaud Giersch [Fri, 2 Nov 2018 16:48:27 +0000 (17:48 +0100)]
Copy constructor and assignment operators are implicitely deleted anyway (dixit clang 8).

14 months agoUse libunwind-generic instead of specific libunwind-PLAT.
Arnaud Giersch [Thu, 1 Nov 2018 20:18:23 +0000 (21:18 +0100)]
Use libunwind-generic instead of specific libunwind-PLAT.

It's the way to go according to libunwind-ptrace(3), and libunwind-generic
seems to point to the correct libunwind-PLAT anyway.

14 months agoFix build without stacktrace_backtrace
Martin Quinson [Mon, 29 Oct 2018 20:01:15 +0000 (21:01 +0100)]
Fix build without stacktrace_backtrace

15 months agoreplace our own crude code with Boost.stacktrace
Martin Quinson [Mon, 29 Oct 2018 15:51:45 +0000 (16:51 +0100)]
replace our own crude code with Boost.stacktrace

15 months agoadd libboost_stacktrace_backtrace to excludes
Augustin Degomme [Mon, 29 Oct 2018 12:25:59 +0000 (13:25 +0100)]
add libboost_stacktrace_backtrace to excludes

15 months agoprovide a backtrace implementation that uses boost.stacktrace
Martin Quinson [Sun, 28 Oct 2018 23:13:08 +0000 (00:13 +0100)]
provide a backtrace implementation that uses boost.stacktrace

15 months agoHide the backtrace implementation in a private pimpl
Martin Quinson [Sun, 28 Oct 2018 21:30:38 +0000 (22:30 +0100)]
Hide the backtrace implementation in a private pimpl

This opens the path to an implementation with Boost.Stacktrace when found

15 months agoBuildSimGrid.sh: Try to install the lib if possible
Martin Quinson [Sun, 28 Oct 2018 20:58:57 +0000 (21:58 +0100)]
BuildSimGrid.sh: Try to install the lib if possible

15 months agocmake: rewrite the detection of boost optional components, look for stacktrace
Martin Quinson [Sun, 28 Oct 2018 16:40:51 +0000 (17:40 +0100)]
cmake: rewrite the detection of boost optional components, look for stacktrace

15 months agoWorkaround bug in Intel-C.cmake.
Arnaud Giersch [Sun, 28 Oct 2018 22:00:16 +0000 (23:00 +0100)]
Workaround bug in Intel-C.cmake.

See:
https://gitlab.kitware.com/cmake/cmake/issues/18166
https://gitlab.kitware.com/cmake/cmake/commit/735e69f4458850cc335710af36d1382b891cbb5e

15 months agoAvoid bleeding edge ‘for’ loop initial declarations.
Arnaud Giersch [Sun, 28 Oct 2018 20:20:04 +0000 (21:20 +0100)]
Avoid bleeding edge ‘for’ loop initial declarations.

I suspect Travis to fail because cmake doesn't use -std=c11 with try_run.

15 months agoKill obsolete config test programs.
Arnaud Giersch [Sun, 28 Oct 2018 20:10:16 +0000 (21:10 +0100)]
Kill obsolete config test programs.

15 months agoRemove obsolete exclusions.
Arnaud Giersch [Sat, 27 Oct 2018 19:43:55 +0000 (21:43 +0200)]
Remove obsolete exclusions.

15 months agoUdpate .mailmap.
Arnaud Giersch [Fri, 26 Oct 2018 12:38:40 +0000 (14:38 +0200)]
Udpate .mailmap.

15 months agotravis: this format is hard to read and I'm stupid. The perfect match
Martin Quinson [Sun, 28 Oct 2018 08:34:44 +0000 (09:34 +0100)]
travis: this format is hard to read and I'm stupid. The perfect match

15 months agotravis: Display full cmake logs on error
Martin Quinson [Sun, 28 Oct 2018 08:25:49 +0000 (09:25 +0100)]
travis: Display full cmake logs on error

15 months agoHide the content of a simgrid::xbt::Backtrace and inline a function
Martin Quinson [Sat, 27 Oct 2018 20:22:21 +0000 (22:22 +0200)]
Hide the content of a simgrid::xbt::Backtrace and inline a function

15 months agoSimplify how we check for C++11 and friends
Martin Quinson [Sat, 27 Oct 2018 20:06:53 +0000 (22:06 +0200)]
Simplify how we check for C++11 and friends

15 months agoFindSimGrid: Make sure our headers are compiled with C++11 at least
Martin Quinson [Sat, 27 Oct 2018 20:03:16 +0000 (22:03 +0200)]
FindSimGrid: Make sure our headers are compiled with C++11 at least

15 months agotry to please sonar on this ugly code
Martin Quinson [Sat, 27 Oct 2018 20:02:36 +0000 (22:02 +0200)]
try to please sonar on this ugly code

15 months agobacktrace: factorize the function headers between the portability layers
Martin Quinson [Sat, 27 Oct 2018 19:18:38 +0000 (21:18 +0200)]
backtrace: factorize the function headers between the portability layers

15 months agodocs: fix all examples of git clone to use https
Martin Quinson [Sat, 27 Oct 2018 17:44:47 +0000 (19:44 +0200)]
docs: fix all examples of git clone to use https