Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Fri, 5 Oct 2018 21:16:36 +0000 (23:16 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agostart the dev of v3.22
Martin Quinson [Fri, 5 Oct 2018 21:16:31 +0000 (23:16 +0200)]
start the dev of v3.22

2 years agodoc: update the procedure to release a version
Martin Quinson [Fri, 5 Oct 2018 21:09:31 +0000 (23:09 +0200)]
doc: update the procedure to release a version

2 years agodocker: the stable version is enough now that we released
Martin Quinson [Fri, 5 Oct 2018 21:00:50 +0000 (23:00 +0200)]
docker: the stable version is enough now that we released

2 years agosupport ns3.29 in cmake (todo: try to use wildcards in this file?)
Augustin Degomme [Fri, 5 Oct 2018 06:40:22 +0000 (08:40 +0200)]
support ns3.29 in cmake (todo: try to use wildcards in this file?)

2 years agoRestore "sudo: required", for mc/ptrace.
Arnaud Giersch [Wed, 3 Oct 2018 11:25:06 +0000 (13:25 +0200)]
Restore "sudo: required", for mc/ptrace.

2 years agoDisplay errno on error.
Arnaud Giersch [Wed, 3 Oct 2018 07:45:19 +0000 (09:45 +0200)]
Display errno on error.

2 years agoFix dist.
Arnaud Giersch [Tue, 2 Oct 2018 20:44:28 +0000 (22:44 +0200)]
Fix dist.

2 years agoRelease v3.21 v3_21
Martin Quinson [Wed, 3 Oct 2018 05:40:43 +0000 (07:40 +0200)]
Release v3.21

2 years agofix dist after Martin
Augustin Degomme [Tue, 2 Oct 2018 21:57:24 +0000 (23:57 +0200)]
fix dist after Martin

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Tue, 2 Oct 2018 20:26:17 +0000 (22:26 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 2 Oct 2018 20:26:09 +0000 (22:26 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agodocs: more links to the MSG doc
Martin Quinson [Tue, 2 Oct 2018 20:16:11 +0000 (22:16 +0200)]
docs: more links to the MSG doc

2 years agoInformative message if a newcomer launches BuildSimGrid before cmake
Martin Quinson [Tue, 2 Oct 2018 20:15:47 +0000 (22:15 +0200)]
Informative message if a newcomer launches BuildSimGrid before cmake

2 years agoReplace README.git by a badge stating that we welcome PRs
Martin Quinson [Tue, 2 Oct 2018 20:11:32 +0000 (22:11 +0200)]
Replace README.git by a badge stating that we welcome PRs

The badge is also linking on a tutorial on how to do PRs.

2 years agoKill duplicate #include.
Arnaud Giersch [Tue, 2 Oct 2018 15:12:21 +0000 (17:12 +0200)]
Kill duplicate #include.

2 years ago[SMPI/DVFS] Make sure Adagio is guarded by #if HAVE_SMPI
Christian Heinrich [Mon, 20 Aug 2018 12:11:21 +0000 (14:11 +0200)]
[SMPI/DVFS] Make sure Adagio is guarded by #if HAVE_SMPI

The include was necessary to define HAVE_SMPI in the first place

2 years ago[DVFS] Add two comments
Christian Heinrich [Mon, 13 Aug 2018 15:47:14 +0000 (17:47 +0200)]
[DVFS] Add two comments

2 years ago[SMPI/LB] Normalize load + notify heap of changes
Christian Heinrich [Fri, 10 Aug 2018 09:38:24 +0000 (11:38 +0200)]
[SMPI/LB] Normalize load + notify heap of changes

2 years ago[SMPI/LB] Add a XBT_DEBUG statement
Christian Heinrich [Mon, 10 Sep 2018 11:35:04 +0000 (13:35 +0200)]
[SMPI/LB] Add a XBT_DEBUG statement

2 years ago[SMPI] Add comments to explain variables
Christian Heinrich [Mon, 20 Aug 2018 12:23:12 +0000 (14:23 +0200)]
[SMPI] Add comments to explain variables

2 years ago[ENERGY] Add getter for idle consumption
Christian Heinrich [Tue, 2 Oct 2018 13:22:22 +0000 (15:22 +0200)]
[ENERGY] Add getter for idle consumption

We currently still have one idle value per pstate, however this
should change soon. For this reason, this implementation
only uses the value from pstate 0 and will move towards the
next syntax.

Doing this allows us to avoid changing the signature of the
function (as the pstate will then be no longer required).

2 years ago[SMPI/LB] Intercept realloc and calloc calls for memory consumption
Christian Heinrich [Tue, 18 Sep 2018 07:32:20 +0000 (09:32 +0200)]
[SMPI/LB] Intercept realloc and calloc calls for memory consumption

Thanks Rafael Keller Tesser for the implementation

2 years ago[ENERGY] Change behavior on 1-core machines
Christian Heinrich [Tue, 11 Sep 2018 08:33:04 +0000 (10:33 +0200)]
[ENERGY] Change behavior on 1-core machines

In fc45b14055d16a944771ccf34cd94f5511e6fb24 the behavior was modified
when a machine specifies the Idle:OneCore:AllCores energy consumption
but only has a single core.

Using the AllCores consumption does make more sense in this case as
it allows users more easily to model full load with MPI+OpenMP applications:
All cores are actually used with OpenMP but only one process uses MPI.

Hence changing the behavior to use the AllCores value instead.

2 years ago[S(A)MPI] Add/modify include guards
Christian Heinrich [Fri, 10 Aug 2018 09:37:35 +0000 (11:37 +0200)]
[S(A)MPI] Add/modify include guards

2 years ago[S(A)MPI] Add copyright header
Christian Heinrich [Fri, 10 Aug 2018 09:36:55 +0000 (11:36 +0200)]
[S(A)MPI] Add copyright header

2 years agoMark unused parameters.
Arnaud Giersch [Tue, 2 Oct 2018 12:01:26 +0000 (14:01 +0200)]
Mark unused parameters.

2 years agoSonar cosmetics.
Arnaud Giersch [Tue, 2 Oct 2018 11:47:27 +0000 (13:47 +0200)]
Sonar cosmetics.

2 years agoActually use given parameters.
Arnaud Giersch [Tue, 2 Oct 2018 11:47:12 +0000 (13:47 +0200)]
Actually use given parameters.

2 years agoMerge nested try blocks (Sonar).
Arnaud Giersch [Tue, 2 Oct 2018 08:57:51 +0000 (10:57 +0200)]
Merge nested try blocks (Sonar).

2 years agoReplace "switch" statement by "if" (Sonar).
Arnaud Giersch [Tue, 2 Oct 2018 08:57:22 +0000 (10:57 +0200)]
Replace "switch" statement by "if" (Sonar).

2 years agoremove some obsolete files
Martin Quinson [Mon, 1 Oct 2018 23:50:32 +0000 (01:50 +0200)]
remove some obsolete files

2 years agodocs: don't fail when files to clean don't exist
Martin Quinson [Mon, 1 Oct 2018 21:20:21 +0000 (23:20 +0200)]
docs: don't fail when files to clean don't exist

2 years agotry to improve SVGs
Augustin Degomme [Mon, 1 Oct 2018 21:45:43 +0000 (23:45 +0200)]
try to improve SVGs

2 years agodocs: add a link to the cited paper
Martin Quinson [Mon, 1 Oct 2018 21:15:58 +0000 (23:15 +0200)]
docs: add a link to the cited paper

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 1 Oct 2018 21:02:31 +0000 (23:02 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agos4u::Semaphore: use a simpler example with no mutex
Martin Quinson [Mon, 1 Oct 2018 21:01:36 +0000 (23:01 +0200)]
s4u::Semaphore: use a simpler example with no mutex

Sorry Millian, I'm a psychopath.

2 years agohide private globals to avoid name clashes
Martin Quinson [Mon, 1 Oct 2018 20:59:48 +0000 (22:59 +0200)]
hide private globals to avoid name clashes

2 years agoRemove unused compile flag.
Arnaud Giersch [Fri, 28 Sep 2018 13:09:03 +0000 (15:09 +0200)]
Remove unused compile flag.

COMPILER_ID never matched GCC (it should have been GNU).

2 years agoClang's address sanitizer is not compatible with -Wl,-z,defs.
Arnaud Giersch [Fri, 28 Sep 2018 13:03:12 +0000 (15:03 +0200)]
Clang's address sanitizer is not compatible with -Wl,-z,defs.

See: https://clang.llvm.org/docs/AddressSanitizer.html#usage

2 years agoDocument the semaphores' example (and fix other doc glitches)
Martin Quinson [Mon, 1 Oct 2018 18:57:32 +0000 (20:57 +0200)]
Document the semaphores' example (and fix other doc glitches)

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Mon, 1 Oct 2018 18:34:32 +0000 (20:34 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoadd svg and some description for dragonfly topology
Augustin Degomme [Mon, 1 Oct 2018 18:33:16 +0000 (20:33 +0200)]
add svg and some description for dragonfly topology

2 years agoMerge pull request #303 from mpoquet/s4u-semaphore
Martin Quinson [Mon, 1 Oct 2018 18:33:16 +0000 (20:33 +0200)]
Merge pull request #303 from mpoquet/s4u-semaphore

S4u semaphore

2 years ago[examples] add s4u-synchro-semaphore
Millian Poquet [Mon, 1 Oct 2018 17:31:25 +0000 (19:31 +0200)]
[examples] add s4u-synchro-semaphore

This example does a barrier with one semaphore and one mutex.

2 years ago[s4u] implement semaphore as direct SIMIX wrapper
Millian Poquet [Mon, 1 Oct 2018 17:27:03 +0000 (19:27 +0200)]
[s4u] implement semaphore as direct SIMIX wrapper

2 years agodocs: cosmetics in Javadoc
Martin Quinson [Mon, 1 Oct 2018 15:58:30 +0000 (17:58 +0200)]
docs: cosmetics in Javadoc

2 years agoAcknoledge that the doc conversion is not finished in 3.21
Martin Quinson [Mon, 1 Oct 2018 10:18:49 +0000 (12:18 +0200)]
Acknoledge that the doc conversion is not finished in 3.21

This way, we can release the fall release before chrismas.

2 years agodoc: remove the simix module. Was never written anyway
Martin Quinson [Mon, 1 Oct 2018 10:18:30 +0000 (12:18 +0200)]
doc: remove the simix module. Was never written anyway

2 years agodocs: run javasphinx on RTD.org too
Martin Quinson [Mon, 1 Oct 2018 07:11:45 +0000 (09:11 +0200)]
docs: run javasphinx on RTD.org too

2 years agodocker[build-deps]: we now need javasphinx
Martin Quinson [Mon, 1 Oct 2018 06:31:56 +0000 (08:31 +0200)]
docker[build-deps]: we now need javasphinx

2 years agogitlab-ci: generate the docs with UTF encoding
Martin Quinson [Mon, 1 Oct 2018 06:31:15 +0000 (08:31 +0200)]
gitlab-ci: generate the docs with UTF encoding

2 years agoinclude the full Java API doc in sphinx
Martin Quinson [Mon, 1 Oct 2018 06:16:08 +0000 (08:16 +0200)]
include the full Java API doc in sphinx

2 years agoFurther improvements to the docs
Martin Quinson [Mon, 1 Oct 2018 00:31:20 +0000 (02:31 +0200)]
Further improvements to the docs

- Convert MSG and Java (not the javadoc, only generalities) to Sphinx
- Get rid of Exhale and write the doxygen directives manually.
  - I'm too picky on how things should look
  - ./Build.sh tries to check for missing directives, somehow
- Restore some doc chunks that got lost in MSG when converting to
  msg_legacy.cpp. Initially, I thought that MSG could be strongly
  deprecated, but now I understand that some people are not ready for
  the shift to S4U yet.

2 years agofix make distcheck after augustin
Martin Quinson [Fri, 28 Sep 2018 21:19:13 +0000 (23:19 +0200)]
fix make distcheck after augustin

2 years agoFix the doc target
Martin Quinson [Fri, 28 Sep 2018 20:22:27 +0000 (22:22 +0200)]
Fix the doc target

2 years agogit: ignore some newly created examples
Martin Quinson [Fri, 28 Sep 2018 20:04:12 +0000 (22:04 +0200)]
git: ignore some newly created examples

2 years agodoc: remove some obsolete figures, move manpages to docs
Martin Quinson [Fri, 28 Sep 2018 18:37:25 +0000 (20:37 +0200)]
doc: remove some obsolete figures, move manpages to docs

2 years agodocker: s4u needs libboost-all-dev to compile
Martin Quinson [Thu, 27 Sep 2018 06:40:17 +0000 (08:40 +0200)]
docker: s4u needs libboost-all-dev to compile

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Thu, 27 Sep 2018 05:47:07 +0000 (07:47 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoAllow to chain calls to activity::Comm functions
Martin Quinson [Wed, 26 Sep 2018 23:05:15 +0000 (01:05 +0200)]
Allow to chain calls to activity::Comm functions

(and the same for Exec and Io activities)

We want to write something like:

  CommPtr comm = mailbox->put_async(data, 8)->set_rate(0);

Before, all these functions were returning an Activity* in the hope of
allowing such chaining, but it was failing, as most of these functions
only exist in Comm, not in Activity. This commit improves this.

It also opens a Pandora box. The method
   Activity* Activity::start()
is now overriden by the method
   Comm* Comm::start()
. (Comm is a subclass of Activity)

I believe that changing the return type to a subclass is OK when
overriding a method, but I'm not 100% sure. At least, both GCC and
clang seem OK with that code.

2 years agodocs: s/Virtual Platform/Simulated Platform/
Martin Quinson [Wed, 26 Sep 2018 22:58:35 +0000 (00:58 +0200)]
docs: s/Virtual Platform/Simulated Platform/

2 years agotuto smpi: big fat warning stating that it's not finised yet
Martin Quinson [Wed, 26 Sep 2018 20:09:56 +0000 (22:09 +0200)]
tuto smpi: big fat warning stating that it's not finised yet

2 years agodocs: update copyright and cut links to broken tables
Martin Quinson [Wed, 26 Sep 2018 20:01:44 +0000 (22:01 +0200)]
docs: update copyright and cut links to broken tables

2 years agoMerge pull request #302 from mpoquet/rename-s4u-synchro-examples
Martin Quinson [Tue, 25 Sep 2018 13:20:57 +0000 (15:20 +0200)]
Merge pull request #302 from mpoquet/rename-s4u-synchro-examples

Rename s4u synchro examples

2 years ago[examples] s4u-{barrier,mutex} -> s4u-synchro-*
Millian Poquet [Tue, 25 Sep 2018 12:40:12 +0000 (14:40 +0200)]
[examples] s4u-{barrier,mutex} -> s4u-synchro-*

2 years ago[examples] smpi-replay-mmd: use s4u::Barrier
Millian Poquet [Tue, 25 Sep 2018 12:04:26 +0000 (14:04 +0200)]
[examples] smpi-replay-mmd: use s4u::Barrier

2 years ago[doc] rtd: link to example s4u-barrier
Millian Poquet [Tue, 25 Sep 2018 11:24:06 +0000 (13:24 +0200)]
[doc] rtd: link to example s4u-barrier

2 years agoUpdate changelog
Augustin Degomme [Tue, 25 Sep 2018 10:38:51 +0000 (12:38 +0200)]
Update changelog

2 years agosend warning here instead of debug
Augustin Degomme [Tue, 25 Sep 2018 10:34:07 +0000 (12:34 +0200)]
send warning here instead of debug

2 years agofix warnings
Augustin Degomme [Tue, 25 Sep 2018 10:33:46 +0000 (12:33 +0200)]
fix warnings

2 years agoactivate fortran attr tests
Augustin Degomme [Tue, 25 Sep 2018 10:06:32 +0000 (12:06 +0200)]
activate fortran attr tests

2 years agoHave attributes actually work in fortran... the horror
Augustin Degomme [Tue, 25 Sep 2018 09:29:09 +0000 (11:29 +0200)]
Have attributes actually work in fortran... the horror
Callbacks signatures and behavior differ slightly from C, so try to do that correctly, if not cleanly

2 years agoget was done, now fix set
Augustin Degomme [Tue, 25 Sep 2018 09:27:42 +0000 (11:27 +0200)]
get was done, now fix set

2 years agoprotect against failed get
Augustin Degomme [Tue, 25 Sep 2018 09:25:47 +0000 (11:25 +0200)]
protect against failed get

2 years agoFix dist.
Arnaud Giersch [Tue, 25 Sep 2018 07:50:58 +0000 (09:50 +0200)]
Fix dist.

2 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Tue, 25 Sep 2018 07:49:15 +0000 (09:49 +0200)]
Merge remote-tracking branch 'github/master'

2 years agodocs: show the sections in manual's chapters
Martin Quinson [Tue, 25 Sep 2018 07:36:48 +0000 (09:36 +0200)]
docs: show the sections in manual's chapters

Trick ahead: the sections are regular chapters, but with UTF
non-breaking spaces before their names to visually indent them a bit
in the sidebar.

The main page should now be changed because it looks ugly with that
trick. But the content had to be changed anyway, maybe replace with
the current content of the main webpage, that in turn should be
emptied of all letters to put nice pictures instead

2 years agodocs: this file got renamed at some point -- kill dupplicate
Martin Quinson [Tue, 25 Sep 2018 07:34:50 +0000 (09:34 +0200)]
docs: this file got renamed at some point -- kill dupplicate

2 years agodocs: build on RTD, configure our theme
Martin Quinson [Tue, 25 Sep 2018 07:28:38 +0000 (09:28 +0200)]
docs: build on RTD, configure our theme

2 years agofix some borken links in doc
Martin Quinson [Mon, 24 Sep 2018 22:49:45 +0000 (00:49 +0200)]
fix some borken links in doc

2 years agogetting closer to the release
Martin Quinson [Mon, 24 Sep 2018 22:41:26 +0000 (00:41 +0200)]
getting closer to the release

2 years agocomplete the list of bugs closed in this release
Martin Quinson [Mon, 24 Sep 2018 22:29:02 +0000 (00:29 +0200)]
complete the list of bugs closed in this release

2 years agoalso prevent to mix leaf-like and inner content in <AS>
Martin Quinson [Mon, 24 Sep 2018 22:04:17 +0000 (00:04 +0200)]
also prevent to mix leaf-like and inner content in <AS>

This fix https://github.com/simgrid/simgrid/issues/116 just like we
fixed https://github.com/simgrid/simgrid/issues/296 earlier, that did
the same for <zone>

Also, really allow to use bypassZoneRoute in place of bypassASroute.
I guess that this one is simply untested :(

Having orphaned elements such as bypassZoneRoute when no tag declare
it as a potential content triggers a bug in flexml preventing the file
generation to proceed
  Use of uninitizalized value in $instates{$tag}
:( :(

2 years ago[examples] s4u-barrier: shared_ptr -> BarrierPtr
Millian Poquet [Mon, 24 Sep 2018 21:44:48 +0000 (23:44 +0200)]
[examples] s4u-barrier: shared_ptr -> BarrierPtr

2 years agoMerge pull request #299 from mpoquet/example/s4u-barrier
Martin Quinson [Mon, 24 Sep 2018 20:23:21 +0000 (22:23 +0200)]
Merge pull request #299 from mpoquet/example/s4u-barrier

[examples] add s4u-barrier

2 years agoMerge pull request #301 from mpoquet/s4u-barrier-refcounting
Martin Quinson [Mon, 24 Sep 2018 20:23:01 +0000 (22:23 +0200)]
Merge pull request #301 from mpoquet/s4u-barrier-refcounting

[s4u] Barrier refcounting

2 years ago[s4u] Barrier refcounting
Millian Poquet [Mon, 24 Sep 2018 17:11:50 +0000 (19:11 +0200)]
[s4u] Barrier refcounting

2 years ago[examples] add s4u-barrier
Millian Poquet [Mon, 24 Sep 2018 15:25:43 +0000 (17:25 +0200)]
[examples] add s4u-barrier

2 years agoDisable parallel executions with non-thread contexts under Tsan.
Arnaud Giersch [Mon, 24 Sep 2018 09:03:37 +0000 (11:03 +0200)]
Disable parallel executions with non-thread contexts under Tsan.

Raw/boot/sysv contexts lead to incomprehensible errors (segmentation fault, timeout).

2 years agoRestore CMDARGS before LINKARGS (commit 11c619824e2acd338705a14680d99aaad4b80506).
Arnaud Giersch [Mon, 24 Sep 2018 07:51:35 +0000 (09:51 +0200)]
Restore CMDARGS before LINKARGS (commit 11c619824e2acd338705a14680d99aaad4b80506).

It was breaking smpi_ampi and smpi_replay under TSAN.
Remove redundant -std=gnu++11 from LINKARGS, so that it can be overridden on command line.

2 years agoAllow dlopen privatization with Tsan too.
Arnaud Giersch [Fri, 21 Sep 2018 13:36:57 +0000 (15:36 +0200)]
Allow dlopen privatization with Tsan too.

2 years agoRTLD_DEEPBIND is not supported by sanitizers.
Arnaud Giersch [Fri, 21 Sep 2018 13:35:41 +0000 (15:35 +0200)]
RTLD_DEEPBIND is not supported by sanitizers.

2 years agoDefine HAVE_SANITIZER_THREAD.
Arnaud Giersch [Mon, 24 Sep 2018 07:04:37 +0000 (09:04 +0200)]
Define HAVE_SANITIZER_THREAD.

2 years agoCosmetic rename.
Arnaud Giersch [Mon, 24 Sep 2018 07:02:52 +0000 (09:02 +0200)]
Cosmetic rename.

2 years agoCosmetics: use cmakedefine01.
Arnaud Giersch [Fri, 21 Sep 2018 13:16:04 +0000 (15:16 +0200)]
Cosmetics: use cmakedefine01.

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 23 Sep 2018 23:38:59 +0000 (01:38 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agoconvert options to sphinx
Martin Quinson [Sun, 23 Sep 2018 23:34:11 +0000 (01:34 +0200)]
convert options to sphinx

Gosh that was a painful week-end.

2 years agolet's not use useless casts
Augustin Degomme [Sun, 23 Sep 2018 16:24:00 +0000 (18:24 +0200)]
let's not use useless casts

2 years agoreturn the correct value in MPI_get_attr and friends in fortran instead of a random...
Augustin Degomme [Sat, 22 Sep 2018 22:25:38 +0000 (00:25 +0200)]
return the correct value in MPI_get_attr and friends in fortran instead of a random pointer value