Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
4 years agoblockers--
Frederic Suter [Thu, 30 Jun 2016 11:31:54 +0000 (13:31 +0200)]
blockers--

4 years agocosmetics
Frederic Suter [Thu, 30 Jun 2016 11:01:03 +0000 (13:01 +0200)]
cosmetics

4 years agoa few smell in pastry, including a nasty one
Frederic Suter [Thu, 30 Jun 2016 11:00:30 +0000 (13:00 +0200)]
a few smell in pastry, including a nasty one

4 years agoSome #include fixes
Gabriel Corona [Thu, 30 Jun 2016 08:13:19 +0000 (10:13 +0200)]
Some #include fixes

4 years agoRemove "using namespace"
Gabriel Corona [Thu, 30 Jun 2016 07:44:34 +0000 (09:44 +0200)]
Remove "using namespace"

4 years agocosmetics
Martin Quinson [Wed, 29 Jun 2016 19:11:42 +0000 (21:11 +0200)]
cosmetics

4 years ago[SMPI] Added PAPI counters functionality to SMPI.
Christian Heinrich [Wed, 29 Jun 2016 16:40:44 +0000 (18:40 +0200)]
[SMPI] Added PAPI counters functionality to SMPI.

SMPI now supports PAPI via the 'smpi/papi-events' configuration option.
It is still highly experimental and process-/thread-based counters are
not yet supported, i.e., there is only one global papi-counter-set.

Activate it via '--cfg=smpi/papi-events:default:COUNTER1:COUNTER2:COUNTER3'

4 years agoUse std::{true,false}_type in is_future
Gabriel Corona [Wed, 29 Jun 2016 13:18:03 +0000 (15:18 +0200)]
Use std::{true,false}_type in is_future

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 29 Jun 2016 09:22:40 +0000 (11:22 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoAttempt to solve issues with our own finalize
Frederic Suter [Wed, 29 Jun 2016 09:20:21 +0000 (11:20 +0200)]
Attempt to solve issues with our own finalize
follow syntax from the java in a nutshell book

4 years agoAdd missing #includes
Gabriel Corona [Wed, 29 Jun 2016 08:56:11 +0000 (10:56 +0200)]
Add missing #includes

4 years agodisable the logging mechanism when doing SonarQube analysis
Martin Quinson [Wed, 29 Jun 2016 08:12:17 +0000 (10:12 +0200)]
disable the logging mechanism when doing SonarQube analysis

4 years agobe more specific here
Martin Quinson [Wed, 29 Jun 2016 07:18:50 +0000 (09:18 +0200)]
be more specific here

4 years agoremove an emptty finalize override
Frederic Suter [Wed, 29 Jun 2016 08:12:14 +0000 (10:12 +0200)]
remove an emptty finalize override

4 years agouse raw strings for regexp
Frederic Suter [Wed, 29 Jun 2016 07:57:54 +0000 (09:57 +0200)]
use raw strings for regexp

4 years agomove recently added getters after the constuctors
Frederic Suter [Wed, 29 Jun 2016 07:35:32 +0000 (09:35 +0200)]
move recently added getters after the constuctors

4 years agoOptions should be set up at the beginning, before being used ..
degomme [Tue, 28 Jun 2016 15:06:05 +0000 (17:06 +0200)]
Options should be set up at the beginning, before being used ..

4 years agoinstall.doc: note that we need a recent C++ compiler
Martin Quinson [Tue, 28 Jun 2016 14:47:55 +0000 (16:47 +0200)]
install.doc: note that we need a recent C++ compiler

(fix #92)

4 years agotry to set fortran compiler before hacking cmake with another fake one.
degomme [Tue, 28 Jun 2016 14:38:26 +0000 (16:38 +0200)]
try to set fortran compiler before hacking cmake with another fake one.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Tue, 28 Jun 2016 14:25:24 +0000 (16:25 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

4 years agoAllow (basic) overriding of fortran compiler by FC environment variable
degomme [Tue, 28 Jun 2016 14:25:17 +0000 (16:25 +0200)]
Allow (basic) overriding of fortran compiler by FC environment variable

4 years agosmells --
Frederic Suter [Tue, 28 Jun 2016 13:00:15 +0000 (15:00 +0200)]
smells --

4 years ago[XBT] Fix wrong indices.
Christian Heinrich [Mon, 27 Jun 2016 17:29:03 +0000 (19:29 +0200)]
[XBT] Fix wrong indices.

Cores should start from 0 until max-1. Here, it
was mistakenly 0 until max

4 years ago[DOC] Removed two attributes from the host doc
Christian Heinrich [Mon, 27 Jun 2016 16:23:14 +0000 (18:23 +0200)]
[DOC] Removed two attributes from the host doc

4 years ago[DOC] Add placeholder for 'pstate' attribute.
Christian Heinrich [Mon, 27 Jun 2016 16:12:55 +0000 (18:12 +0200)]
[DOC] Add placeholder for 'pstate' attribute.

Not sure what it is, but it is in the .dtd and not documented.

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 28 Jun 2016 09:59:13 +0000 (11:59 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoReplace std::aligned_union<> which is not available in GNU libstdc++ 4.8
Gabriel Corona [Tue, 28 Jun 2016 09:58:18 +0000 (11:58 +0200)]
Replace std::aligned_union<> which is not available in GNU libstdc++ 4.8

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 28 Jun 2016 09:56:55 +0000 (11:56 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agoTask, SBO even for non trivially copyable types
Gabriel Corona [Mon, 27 Jun 2016 22:25:17 +0000 (00:25 +0200)]
Task, SBO even for non trivially copyable types

4 years agodead stores--
Frederic Suter [Tue, 28 Jun 2016 08:26:21 +0000 (10:26 +0200)]
dead stores--

4 years agoValueOf -> parse
Frederic Suter [Tue, 28 Jun 2016 07:59:04 +0000 (09:59 +0200)]
ValueOf -> parse

4 years agopublic -> private+get
Frederic Suter [Tue, 28 Jun 2016 07:50:52 +0000 (09:50 +0200)]
public -> private+get

4 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 28 Jun 2016 07:35:29 +0000 (09:35 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

4 years agosmells--
degomme [Mon, 27 Jun 2016 20:42:12 +0000 (22:42 +0200)]
smells--

4 years agosmells--
degomme [Mon, 27 Jun 2016 20:32:59 +0000 (22:32 +0200)]
smells--

4 years agoFix compilation
Gabriel Corona [Mon, 27 Jun 2016 13:38:31 +0000 (15:38 +0200)]
Fix compilation

4 years ago[DOC] Documented SMPI_PRETEND_CC env variable
Christian Heinrich [Mon, 27 Jun 2016 14:32:21 +0000 (16:32 +0200)]
[DOC] Documented SMPI_PRETEND_CC env variable

4 years agoFix the non-constant array size problem
Gabriel Corona [Mon, 27 Jun 2016 13:07:57 +0000 (15:07 +0200)]
Fix the non-constant array size problem

Some compilers/libraries don't want to make my max() constexpr.

4 years agoAdd missing include
Gabriel Corona [Mon, 27 Jun 2016 12:57:34 +0000 (14:57 +0200)]
Add missing include

4 years ago[s4u] Remove s4u::Task, use xbt::Task instead
Gabriel Corona [Mon, 27 Jun 2016 12:02:54 +0000 (14:02 +0200)]
[s4u] Remove s4u::Task, use xbt::Task instead

We first one was an implementation detail but it's not useful anymore.

4 years agoSmall buffer optimization for Task
Gabriel Corona [Mon, 27 Jun 2016 11:41:57 +0000 (13:41 +0200)]
Small buffer optimization for Task

4 years agoRemove xbt::args: use vector<string> instead
Gabriel Corona [Mon, 27 Jun 2016 08:42:45 +0000 (10:42 +0200)]
Remove xbt::args: use vector<string> instead

4 years agorewrite the install page from the doxygen doc
Martin Quinson [Mon, 27 Jun 2016 07:11:14 +0000 (09:11 +0200)]
rewrite the install page from the doxygen doc

4 years agosonar: link to our git, and specify the C/C++ versions
Martin Quinson [Sun, 26 Jun 2016 21:28:55 +0000 (23:28 +0200)]
sonar: link to our git, and specify the C/C++ versions

4 years agotypo
Martin Quinson [Sun, 26 Jun 2016 19:52:36 +0000 (21:52 +0200)]
typo

4 years agobummer. Fix borken commit.
Martin Quinson [Sun, 26 Jun 2016 17:23:23 +0000 (19:23 +0200)]
bummer. Fix borken commit.

Procrastination lust does not explain everything, sorry

4 years agocosmetics: remove shallow comments and name some parameters
Martin Quinson [Sun, 26 Jun 2016 17:01:50 +0000 (19:01 +0200)]
cosmetics: remove shallow comments and name some parameters

4 years agomore explicit error messages
Martin Quinson [Sun, 26 Jun 2016 16:45:38 +0000 (18:45 +0200)]
more explicit error messages

(fix #87)

4 years agotry to ignore flex-generated files
Martin Quinson [Sun, 26 Jun 2016 16:27:52 +0000 (18:27 +0200)]
try to ignore flex-generated files

4 years agoplug a bunch of memleaks in SD examples
Martin Quinson [Sun, 26 Jun 2016 12:02:28 +0000 (14:02 +0200)]
plug a bunch of memleaks in SD examples

4 years agoremove empty statements
Martin Quinson [Sun, 26 Jun 2016 10:59:44 +0000 (12:59 +0200)]
remove empty statements

4 years agotry to get the sanitizer display the stacktrace of issues
Martin Quinson [Sun, 26 Jun 2016 10:26:25 +0000 (12:26 +0200)]
try to get the sanitizer display the stacktrace of issues

4 years agosanitizers report that we sometimes sort empty dynars
Martin Quinson [Sun, 26 Jun 2016 10:24:41 +0000 (12:24 +0200)]
sanitizers report that we sometimes sort empty dynars

4 years agowoops, I shouldn't apply sonarqube advices blindly: that's a closure
Martin Quinson [Sun, 26 Jun 2016 10:04:02 +0000 (12:04 +0200)]
woops, I shouldn't apply sonarqube advices blindly: that's a closure

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Sun, 26 Jun 2016 09:55:47 +0000 (11:55 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agodon't return void values
Martin Quinson [Sun, 26 Jun 2016 09:55:36 +0000 (11:55 +0200)]
don't return void values

4 years agoignore all sanitizers
degomme [Sat, 25 Jun 2016 23:29:58 +0000 (01:29 +0200)]
ignore all sanitizers

4 years agoRevert "disable temporarily mc for sanitizers"
degomme [Sat, 25 Jun 2016 23:27:07 +0000 (01:27 +0200)]
Revert "disable temporarily mc for sanitizers"

This reverts commit f87113c9c48e2c484ae39701fcf6bb2dc869782c.

4 years agoMC: ignore the library of gcc's sanitizer
Martin Quinson [Sat, 25 Jun 2016 19:58:03 +0000 (21:58 +0200)]
MC: ignore the library of gcc's sanitizer

4 years agoavoid overflows by using long in this test
degomme [Sat, 25 Jun 2016 17:11:43 +0000 (19:11 +0200)]
avoid overflows by using long in this test

4 years agodisable temporarily mc for sanitizers
degomme [Sat, 25 Jun 2016 15:31:54 +0000 (17:31 +0200)]
disable temporarily mc for sanitizers
they trigger plenty of "Missing debug info for /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0"
even when the debug version is actually installled ..

4 years agoattempt to please ci ??
degomme [Fri, 24 Jun 2016 15:15:56 +0000 (17:15 +0200)]
attempt to please ci ??

4 years agoOops
degomme [Fri, 24 Jun 2016 15:00:22 +0000 (17:00 +0200)]
Oops

4 years ago[simix] Use Task instead of std::package_task for timer callbacks
Gabriel Corona [Fri, 24 Jun 2016 14:40:57 +0000 (16:40 +0200)]
[simix] Use Task instead of std::package_task for timer callbacks

4 years ago[s4u] Restore the barrier as it was
Gabriel Corona [Fri, 24 Jun 2016 14:31:59 +0000 (16:31 +0200)]
[s4u] Restore the barrier as it was

4 years agodisable fortran for sanitizer
degomme [Fri, 24 Jun 2016 14:22:49 +0000 (16:22 +0200)]
disable fortran for sanitizer

4 years agoadd option to remove fortran support of SMPI, even if compiler is present
degomme [Fri, 24 Jun 2016 14:22:40 +0000 (16:22 +0200)]
add option to remove fortran support of SMPI, even if compiler is present

4 years agotypo
degomme [Fri, 24 Jun 2016 13:52:53 +0000 (15:52 +0200)]
typo

4 years agoThis model can't handle 0 sized msg with 0 computation
degomme [Fri, 24 Jun 2016 13:47:41 +0000 (15:47 +0200)]
This model can't handle 0 sized msg with 0 computation
Tell users to use ptask_L07 for this
Should address https://github.com/simgrid/simgrid/issues/87

4 years agoAdd sanitizers (address, thread, and undefined), to have new procrastination options...
degomme [Fri, 24 Jun 2016 13:44:25 +0000 (15:44 +0200)]
Add sanitizers (address, thread, and undefined), to have new procrastination options in ci.

4 years agosmells-- (casts, void, ...)
Frederic Suter [Fri, 24 Jun 2016 13:30:27 +0000 (15:30 +0200)]
smells-- (casts, void, ...)

4 years agoRemove some useless #includes
Gabriel Corona [Fri, 24 Jun 2016 12:37:06 +0000 (14:37 +0200)]
Remove some useless #includes

4 years agosonarqube procrastination
Martin Quinson [Fri, 24 Jun 2016 10:00:40 +0000 (12:00 +0200)]
sonarqube procrastination

4 years agosmells--
Frederic Suter [Fri, 24 Jun 2016 08:38:47 +0000 (10:38 +0200)]
smells--

4 years agotry to please sonarqube on that loop
Martin Quinson [Fri, 24 Jun 2016 07:55:12 +0000 (09:55 +0200)]
try to please sonarqube on that loop

4 years agoaccept single quotes while converting the XML files
Martin Quinson [Thu, 23 Jun 2016 08:58:05 +0000 (10:58 +0200)]
accept single quotes while converting the XML files

4 years agochase a few more rules
Frederic Suter [Thu, 23 Jun 2016 16:19:20 +0000 (18:19 +0200)]
chase a few more rules

4 years agohandle cpp flags as well
degomme [Thu, 23 Jun 2016 14:40:53 +0000 (16:40 +0200)]
handle cpp flags as well

4 years ago[s4u] fix s4u::ConditionVariable::wait_for() return std::cv_status::timeout when...
adfaure [Thu, 23 Jun 2016 14:01:40 +0000 (16:01 +0200)]
[s4u] fix s4u::ConditionVariable::wait_for() return std::cv_status::timeout when notified

4 years agoFix compilation of MC
Gabriel Corona [Thu, 23 Jun 2016 09:33:49 +0000 (11:33 +0200)]
Fix compilation of MC

4 years agomodifiers in right order
Frederic Suter [Thu, 23 Jun 2016 08:52:08 +0000 (10:52 +0200)]
modifiers in right order
remove useless imports
remove empty statements
make constant static

4 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 22 Jun 2016 20:32:13 +0000 (22:32 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

4 years agoMerge get-pid
Gabriel Corona [Wed, 22 Jun 2016 15:04:05 +0000 (17:04 +0200)]
Merge get-pid

4 years ago[s4u] add this_actor::getPid()
adfaure [Wed, 22 Jun 2016 14:57:47 +0000 (16:57 +0200)]
[s4u] add this_actor::getPid()

4 years ago[simix] Fix extern 'C' error from clang
Gabriel Corona [Wed, 22 Jun 2016 14:34:23 +0000 (16:34 +0200)]
[simix] Fix extern 'C' error from clang

4 years agofix dist
degomme [Wed, 22 Jun 2016 13:49:03 +0000 (15:49 +0200)]
fix dist

4 years ago[s4u] Register function names
Gabriel Corona [Wed, 22 Jun 2016 10:03:54 +0000 (12:03 +0200)]
[s4u] Register function names

4 years ago[simix] More generic mapping between function name and actor code
Gabriel Corona [Wed, 22 Jun 2016 08:35:39 +0000 (10:35 +0200)]
[simix] More generic mapping between function name and actor code

It was only possible to associate main() style function to function
names. Now we can associate any kind of function which will be useful
in order for S4U-style code registration.

4 years ago[s4u] .notify_one() instead of .notify()
Gabriel Corona [Wed, 22 Jun 2016 12:54:56 +0000 (14:54 +0200)]
[s4u] .notify_one() instead of .notify()

4 years ago[xbt] Add XBT_ATTRIBUT_DEPRECATED(foo)
Gabriel Corona [Wed, 22 Jun 2016 12:53:18 +0000 (14:53 +0200)]
[xbt] Add XBT_ATTRIBUT_DEPRECATED(foo)

4 years ago[TOOLS] Added .clang-format config
Christian Heinrich [Wed, 22 Jun 2016 12:22:33 +0000 (14:22 +0200)]
[TOOLS] Added .clang-format config

This is a configuration for clang-format-3.8 or later.
It will help us to have a unified coding style and will
tell us if some code is not well formatted.

This file is only the configuration and does not activate
any hooks. You need to do that yourself, if you want.

4 years ago[SMPI] Use lambda function for sorting
Christian Heinrich [Wed, 22 Jun 2016 12:19:00 +0000 (14:19 +0200)]
[SMPI] Use lambda function for sorting

4 years agofew fixes and improvements in bittorrent
Frederic Suter [Wed, 22 Jun 2016 10:02:36 +0000 (12:02 +0200)]
few fixes and improvements in bittorrent

4 years agoremove leaks from pastry example
degomme [Wed, 22 Jun 2016 08:30:37 +0000 (10:30 +0200)]
remove leaks from pastry example

4 years agoimprove a comment
Martin Quinson [Wed, 22 Jun 2016 07:58:43 +0000 (09:58 +0200)]
improve a comment

4 years agoin NDEBUG, show the warnings but don't die
Martin Quinson [Tue, 21 Jun 2016 19:58:02 +0000 (21:58 +0200)]
in NDEBUG, show the warnings but don't die

4 years agohave tests passing without smpi
degomme [Wed, 22 Jun 2016 00:09:33 +0000 (02:09 +0200)]
have tests passing without smpi

4 years agotry to cleanup sleep
degomme [Tue, 21 Jun 2016 23:58:42 +0000 (01:58 +0200)]
try to cleanup sleep

4 years agodon't protect only some paths against NULLity
Martin Quinson [Tue, 21 Jun 2016 13:00:35 +0000 (15:00 +0200)]
don't protect only some paths against NULLity

Either some or all. it makes sonarqube mad.

4 years ago[s4u] Actor::forPid()
Gabriel Corona [Tue, 21 Jun 2016 15:03:02 +0000 (17:03 +0200)]
[s4u] Actor::forPid()