Logo AND Algorithmique Numérique Distribuée

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

2 years 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

2 years 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

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

2 years 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

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

2 years 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()

2 years 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

2 years 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)

2 years 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

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

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

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

2 years 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

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

2 years 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

2 years 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

2 years 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.

2 years 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.

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

2 years 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...

2 years 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)

2 years 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

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

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

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 18 Sep 2018 16:18:33 +0000 (18:18 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agoUnify the host names in cluster description files
Martin Quinson [Tue, 18 Sep 2018 16:17:45 +0000 (18:17 +0200)]
Unify the host names in cluster description files

This will allow to have only one hostfile for all of them.
Particularly useful for the tuto.

2 years agoDlopen privatization should be okay now for TSan.
Arnaud Giersch [Tue, 18 Sep 2018 13:23:21 +0000 (15:23 +0200)]
Dlopen privatization should be okay now for TSan.

2 years agoRemove usage of RTLD_DEEPBIND.
Arnaud Giersch [Tue, 18 Sep 2018 13:16:37 +0000 (15:16 +0200)]
Remove usage of RTLD_DEEPBIND.

It does not seem to be mandatory, and sanitizers are complaining.

Let's see if it passes on CI servers.

2 years agoMove check for null pointer before dereference.
Arnaud Giersch [Tue, 18 Sep 2018 13:38:25 +0000 (15:38 +0200)]
Move check for null pointer before dereference.

2 years agotuto smpi: Lab0 (hello world) drafted
Martin Quinson [Tue, 18 Sep 2018 14:29:14 +0000 (16:29 +0200)]
tuto smpi: Lab0 (hello world) drafted

2 years agosmpirun: make sure that <cluster is on its own line when computing the hostfile autom...
Martin Quinson [Tue, 18 Sep 2018 13:16:09 +0000 (15:16 +0200)]
smpirun: make sure that <cluster is on its own line when computing the hostfile automatically

2 years agodockerfiles: install our files under /source/ and refresh images
Martin Quinson [Tue, 18 Sep 2018 12:40:21 +0000 (14:40 +0200)]
dockerfiles: install our files under /source/ and refresh images

2 years agotuto smpi: finish (for now) the platform section; draft the install section
Martin Quinson [Tue, 18 Sep 2018 10:58:27 +0000 (12:58 +0200)]
tuto smpi: finish (for now) the platform section; draft the install section

2 years agocosmetics
Martin Quinson [Tue, 18 Sep 2018 07:50:32 +0000 (09:50 +0200)]
cosmetics

2 years agocosmetics in graphical representations of cluster descriptions
Martin Quinson [Tue, 18 Sep 2018 07:41:57 +0000 (09:41 +0200)]
cosmetics in graphical representations of cluster descriptions

2 years agohopefully fix the NS3 test
Martin Quinson [Tue, 18 Sep 2018 06:39:59 +0000 (08:39 +0200)]
hopefully fix the NS3 test

2 years agofix make distcheck, as usual :(
Martin Quinson [Tue, 18 Sep 2018 05:39:18 +0000 (07:39 +0200)]
fix make distcheck, as usual :(

2 years agoignore a directory generated by sphinx
Martin Quinson [Tue, 18 Sep 2018 00:03:38 +0000 (02:03 +0200)]
ignore a directory generated by sphinx

2 years agodocs: sphinx 1.8.0 was released, so use it
Martin Quinson [Tue, 18 Sep 2018 00:02:56 +0000 (02:02 +0200)]
docs: sphinx 1.8.0 was released, so use it

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Mon, 17 Sep 2018 23:58:32 +0000 (01:58 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agoRename cluster.xml to cluster_backbone.xml
Martin Quinson [Mon, 17 Sep 2018 22:47:16 +0000 (00:47 +0200)]
Rename cluster.xml to cluster_backbone.xml

also, fix the make dist and some cosmetics.