Logo AND Algorithmique Numérique Distribuée

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

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

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

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

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

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

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

10 months 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).

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

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

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

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

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

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

10 months 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).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 months 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/

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

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

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

10 months 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-*

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 months 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}
:( :(

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

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

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

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

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

10 months 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).

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

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

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

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

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

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

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

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

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

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

11 months agopass linkargs before cmdargs to avoid overriding a potential -std argument
Augustin Degomme [Fri, 21 Sep 2018 15:05:20 +0000 (17:05 +0200)]
pass linkargs before cmdargs to avoid overriding a potential -std argument

11 months agothat's already converted to sphinx
Martin Quinson [Thu, 20 Sep 2018 22:45:17 +0000 (00:45 +0200)]
that's already converted to sphinx

11 months agoignore another binary
Martin Quinson [Thu, 20 Sep 2018 22:37:47 +0000 (00:37 +0200)]
ignore another binary

11 months agoconvert the SMPI doc to sphinx
Martin Quinson [Thu, 20 Sep 2018 22:34:49 +0000 (00:34 +0200)]
convert the SMPI doc to sphinx

11 months agofix make distcheck
Martin Quinson [Thu, 20 Sep 2018 21:07:24 +0000 (23:07 +0200)]
fix make distcheck

11 months agoimprove doc to avoid mixture between Comm::set_src_data_size() and Activity::set_rema...
Martin Quinson [Thu, 20 Sep 2018 20:59:44 +0000 (22:59 +0200)]
improve doc to avoid mixture between Comm::set_src_data_size() and Activity::set_remaining()

11 months agoimprove the error messages so that you can understand them without reading the source...
Martin Quinson [Thu, 20 Sep 2018 20:40:09 +0000 (22:40 +0200)]
improve the error messages so that you can understand them without reading the source code

11 months agoconvert the old SMPI tuto to sphinx (was only a placeholder)
Martin Quinson [Thu, 20 Sep 2018 19:40:35 +0000 (21:40 +0200)]
convert the old SMPI tuto to sphinx (was only a placeholder)

11 months agoconvert the remain bits of S4U doc into sphinx
Martin Quinson [Thu, 20 Sep 2018 19:35:26 +0000 (21:35 +0200)]
convert the remain bits of S4U doc into sphinx

11 months agomissing file
Martin Quinson [Thu, 20 Sep 2018 19:23:28 +0000 (21:23 +0200)]
missing file

11 months agoconvert S4U examples to sphinx
Martin Quinson [Thu, 20 Sep 2018 19:23:16 +0000 (21:23 +0200)]
convert S4U examples to sphinx

11 months agoimprove documentation of DTD content
Martin Quinson [Thu, 20 Sep 2018 08:54:22 +0000 (10:54 +0200)]
improve documentation of DTD content

11 months agoimprove the doc of Actor::on_destruction()
Martin Quinson [Thu, 20 Sep 2018 07:35:53 +0000 (09:35 +0200)]
improve the doc of Actor::on_destruction()

Explain the difference with this_actor::on_exit()
This fixes https://github.com/simgrid/simgrid/issues/289

11 months agonice err msg for bummers
Martin Quinson [Wed, 19 Sep 2018 08:44:32 +0000 (10:44 +0200)]
nice err msg for bummers

11 months agoavoid a warning about unit-less bandwidth
Martin Quinson [Wed, 19 Sep 2018 08:39:20 +0000 (10:39 +0200)]
avoid a warning about unit-less bandwidth

11 months agotuto smpi: lab on visualization with class S, not A
Martin Quinson [Wed, 19 Sep 2018 05:47:59 +0000 (07:47 +0200)]
tuto smpi: lab on visualization with class S, not A

11 months agoRevert "Dlopen privatization should be okay now for TSan."
Arnaud Giersch [Wed, 19 Sep 2018 21:46:58 +0000 (23:46 +0200)]
Revert "Dlopen privatization should be okay now for TSan."

This reverts commit 67e587e01b533cbe388602107fdd5ea6e8970513.

11 months agoRevert "Remove usage of RTLD_DEEPBIND."
Arnaud Giersch [Wed, 19 Sep 2018 20:13:27 +0000 (22:13 +0200)]
Revert "Remove usage of RTLD_DEEPBIND."

It's in fact needed for starpu and some of the smpi proxy apps.

This reverts commit f257ec7c9ab6e14b11ea63378065db42105882b5.

11 months agoTarget_libs may be multiple.
Arnaud Giersch [Wed, 19 Sep 2018 12:15:50 +0000 (14:15 +0200)]
Target_libs may be multiple.

11 months agotuto smpi: start lab 3 (Execution Sampling)
Martin Quinson [Tue, 18 Sep 2018 20:14:45 +0000 (22:14 +0200)]
tuto smpi: start lab 3 (Execution Sampling)

But I'm stuck because that version of the NAS benchmarks is in
Fortran, and I fear that our macro don't work in this case...

11 months agosmpi tuto: Lab2 (Tracing and Replay)
Martin Quinson [Tue, 18 Sep 2018 20:04:08 +0000 (22:04 +0200)]
smpi tuto: Lab2 (Tracing and Replay)

11 months agosmpi tuto: Lab 1 on vizu
Martin Quinson [Tue, 18 Sep 2018 19:23:15 +0000 (21:23 +0200)]
smpi tuto: Lab 1 on vizu

11 months agosmpi tuto: finish the Lab0
Martin Quinson [Tue, 18 Sep 2018 17:55:49 +0000 (19:55 +0200)]
smpi tuto: finish the Lab0

11 months agofix ns3, again
Martin Quinson [Tue, 18 Sep 2018 17:42:38 +0000 (19:42 +0200)]
fix ns3, again