Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoFurther hack the XML parser to accept the old DTD location
Martin Quinson [Mon, 15 Oct 2018 11:09:19 +0000 (13:09 +0200)]
Further hack the XML parser to accept the old DTD location

2 years agodocker tuto-s4u: Add an empty makefile advising to run cmake before make
Martin Quinson [Mon, 15 Oct 2018 09:31:50 +0000 (11:31 +0200)]
docker tuto-s4u: Add an empty makefile advising to run cmake before make

2 years agotuto s4u: adapt text to the actual docker content
Martin Quinson [Mon, 15 Oct 2018 09:09:17 +0000 (11:09 +0200)]
tuto s4u: adapt text to the actual docker content

2 years agos4u tuto: make it clear that you have to run cmake and make on docker content
Martin Quinson [Mon, 15 Oct 2018 09:00:30 +0000 (11:00 +0200)]
s4u tuto: make it clear that you have to run cmake and make on docker content

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

2 years agoRegenerate with the lastest Flex
Martin Quinson [Sun, 14 Oct 2018 23:09:16 +0000 (01:09 +0200)]
Regenerate with the lastest Flex

2 years agostart rewriting the platform documentation
Martin Quinson [Sun, 14 Oct 2018 23:08:21 +0000 (01:08 +0200)]
start rewriting the platform documentation

2 years agomove the DTD file from gforge to our own homepage
Martin Quinson [Sat, 13 Oct 2018 19:51:57 +0000 (21:51 +0200)]
move the DTD file from gforge to our own homepage

2 years agocosmetic so that it can be displayed in doc
Martin Quinson [Sat, 13 Oct 2018 19:43:31 +0000 (21:43 +0200)]
cosmetic so that it can be displayed in doc

2 years agoUse PRIdMAX instead of %jd.
Arnaud Giersch [Sat, 13 Oct 2018 20:14:10 +0000 (22:14 +0200)]
Use PRIdMAX instead of %jd.

Hope to workaround a bug of icc where:
error #181: argument of type "intmax_t={__intmax_t={long}}" is incompatible with format "%jd", expecting argument of type "long long"

See also https://software.intel.com/en-us/forums/intel-c-compiler/topic/747479

2 years agoremove an example that does not bring much
Martin Quinson [Sat, 13 Oct 2018 16:37:24 +0000 (18:37 +0200)]
remove an example that does not bring much

2 years agoFix format string.
Arnaud Giersch [Sat, 13 Oct 2018 13:34:44 +0000 (15:34 +0200)]
Fix format string.

2 years agosonar cleanup
Martin Quinson [Fri, 12 Oct 2018 20:10:21 +0000 (22:10 +0200)]
sonar cleanup

2 years agodoxygen: fix some warnings
Martin Quinson [Fri, 12 Oct 2018 19:46:31 +0000 (21:46 +0200)]
doxygen: fix some warnings

2 years agosonar cleanups
Martin Quinson [Fri, 12 Oct 2018 19:15:11 +0000 (21:15 +0200)]
sonar cleanups

2 years agoFix documentation: I inverted 2 host model names
Martin Quinson [Fri, 12 Oct 2018 17:12:05 +0000 (19:12 +0200)]
Fix documentation: I inverted 2 host model names

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 11 Oct 2018 21:18:35 +0000 (23:18 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agoimprove the doc of the host plugin API
Martin Quinson [Thu, 11 Oct 2018 21:06:41 +0000 (23:06 +0200)]
improve the doc of the host plugin API

2 years agodocument the last changes in the right place
Martin Quinson [Thu, 11 Oct 2018 20:16:30 +0000 (22:16 +0200)]
document the last changes in the right place

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

2 years agoMerge pull request #307 from Jean-Emile/v3.20-expose-simgrid-jni
Martin Quinson [Thu, 11 Oct 2018 20:09:28 +0000 (22:09 +0200)]
Merge pull request #307 from Jean-Emile/v3.20-expose-simgrid-jni

Expose Host Load for Java API through JNI

2 years agoMerge branch 'master' into v3.20-expose-simgrid-jni
jed56 ( Jean-Emile DARTOIS) [Tue, 9 Oct 2018 13:32:02 +0000 (15:32 +0200)]
Merge branch 'master' into v3.20-expose-simgrid-jni

2 years agodoxygen: kill group m_process_management
Martin Quinson [Wed, 10 Oct 2018 22:56:11 +0000 (00:56 +0200)]
doxygen: kill group m_process_management

2 years agoS4U stability will not decrease in the future
Martin Quinson [Wed, 10 Oct 2018 12:44:41 +0000 (14:44 +0200)]
S4U stability will not decrease in the future

2 years agocritical bugfix
Augustin Degomme [Wed, 10 Oct 2018 09:41:57 +0000 (11:41 +0200)]
critical bugfix

2 years agouse a travis badge with the travis logo
Martin Quinson [Wed, 10 Oct 2018 06:28:39 +0000 (08:28 +0200)]
use a travis badge with the travis logo

2 years agowoops, I broke the build while fixing the doc
Martin Quinson [Wed, 10 Oct 2018 00:27:36 +0000 (02:27 +0200)]
woops, I broke the build while fixing the doc

2 years agodocs: try to add a doxygene xample, but breathe does not handle this yet
Martin Quinson [Wed, 10 Oct 2018 00:05:53 +0000 (02:05 +0200)]
docs: try to add a doxygene xample, but breathe does not handle this yet

2 years agoAdd a link from API ref to example
Martin Quinson [Tue, 9 Oct 2018 23:42:52 +0000 (01:42 +0200)]
Add a link from API ref to example

2 years agomove the this_actor namespace to the top of API
Martin Quinson [Tue, 9 Oct 2018 23:33:58 +0000 (01:33 +0200)]
move the this_actor namespace to the top of API

I'm using it all the time.

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

2 years agoImprove the doc of parallel executions
Martin Quinson [Tue, 9 Oct 2018 23:28:33 +0000 (01:28 +0200)]
Improve the doc of parallel executions

This fixes https://github.com/simgrid/simgrid/issues/261

2 years agoIgnore new binary
Martin Quinson [Tue, 9 Oct 2018 21:22:16 +0000 (23:22 +0200)]
Ignore new binary

2 years agoExpose Host Load for Java API through JNI
JeD [Tue, 9 Oct 2018 09:36:55 +0000 (11:36 +0200)]
Expose Host Load for Java API through JNI

2 years agoimprove the doc of s4u::Mailbox
Martin Quinson [Mon, 8 Oct 2018 20:35:55 +0000 (22:35 +0200)]
improve the doc of s4u::Mailbox

2 years agoDefine XBT_ATTRIB_DEPRECATED_v325.
Arnaud Giersch [Fri, 5 Oct 2018 21:21:05 +0000 (23:21 +0200)]
Define XBT_ATTRIB_DEPRECATED_v325.

2 years agoRemove features marked with DEPRECATED_v322.
Arnaud Giersch [Fri, 5 Oct 2018 21:21:05 +0000 (23:21 +0200)]
Remove features marked with DEPRECATED_v322.

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