Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years ago[xbt] Move throwpoint out of xbt_ex in WithContextException
Gabriel Corona [Tue, 12 Jul 2016 10:46:30 +0000 (12:46 +0200)]
[xbt] Move throwpoint out of xbt_ex in WithContextException

3 years agodon't mix stderr and stdout, it breaks windows
Martin Quinson [Tue, 12 Jul 2016 08:51:02 +0000 (10:51 +0200)]
don't mix stderr and stdout, it breaks windows

3 years agorevalidate a tesh file after I changed disk_content.txt
Martin Quinson [Tue, 12 Jul 2016 07:51:26 +0000 (09:51 +0200)]
revalidate a tesh file after I changed disk_content.txt

3 years agokill the last bits about cocci
Martin Quinson [Sun, 10 Jul 2016 20:20:59 +0000 (22:20 +0200)]
kill the last bits about cocci

3 years ago[xbt] Remove useless bits
Gabriel Corona [Mon, 11 Jul 2016 11:56:25 +0000 (13:56 +0200)]
[xbt] Remove useless bits

3 years ago[mc] Remove xbt_dict in ModelChecker
Gabriel Corona [Mon, 11 Jul 2016 10:12:55 +0000 (12:12 +0200)]
[mc] Remove xbt_dict in ModelChecker

3 years agokill our last '#ifdef _MSC_VER'
Martin Quinson [Sat, 9 Jul 2016 14:59:20 +0000 (16:59 +0200)]
kill our last '#ifdef _MSC_VER'

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 8 Jul 2016 09:07:36 +0000 (11:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agoshould solve invalid read issues
Frederic Suter [Fri, 8 Jul 2016 09:07:14 +0000 (11:07 +0200)]
should solve invalid read issues

3 years ago[xbt] Move DJB2_HASH_FUNCTION in our XBT_ namespace
Gabriel Corona [Thu, 7 Jul 2016 14:07:26 +0000 (16:07 +0200)]
[xbt] Move DJB2_HASH_FUNCTION in our XBT_ namespace

3 years agoremove useless decrement
Frederic Suter [Thu, 7 Jul 2016 11:48:13 +0000 (13:48 +0200)]
remove useless decrement

3 years agofreaking paranoid flags!
Frederic Suter [Thu, 7 Jul 2016 09:45:53 +0000 (11:45 +0200)]
freaking paranoid flags!

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid into...
Frederic Suter [Thu, 7 Jul 2016 09:06:00 +0000 (11:06 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid into undynarfy_simdag

3 years agomove from vector to set
Frederic Suter [Thu, 7 Jul 2016 09:03:34 +0000 (11:03 +0200)]
move from vector to set
 + these were sets anyway
 + all the bugs disappear
 + code is simpler
 - output order change => revalidate 2 tesh files

3 years ago[SMPI] Make trace_call_location a member
Christian Heinrich [Wed, 6 Jul 2016 14:51:24 +0000 (16:51 +0200)]
[SMPI] Make trace_call_location a member

3 years agoattempt to replace internal dynar by std::vector
Frederic Suter [Wed, 6 Jul 2016 13:02:16 +0000 (15:02 +0200)]
attempt to replace internal dynar by std::vector

3 years ago[s4u] Allocate Mailbox on the heap and return MailboxPtr
Gabriel Corona [Mon, 4 Jul 2016 12:37:51 +0000 (14:37 +0200)]
[s4u] Allocate Mailbox on the heap and return MailboxPtr

3 years ago[s4u] Allocate ConditionVariable on the heap and return ConditionVariablePtr
Gabriel Corona [Mon, 4 Jul 2016 09:57:44 +0000 (11:57 +0200)]
[s4u] Allocate ConditionVariable on the heap and return ConditionVariablePtr

3 years ago[s4u] Allocate Mutex on the heap and return MutexPtr
Gabriel Corona [Mon, 4 Jul 2016 09:34:12 +0000 (11:34 +0200)]
[s4u] Allocate Mutex on the heap and return MutexPtr

3 years ago[s4u] Allocate Actors on the heap and return ActorPtr
Gabriel Corona [Mon, 4 Jul 2016 08:39:24 +0000 (10:39 +0200)]
[s4u] Allocate Actors on the heap and return ActorPtr

3 years agogrouped trace or not, MPI_LINK type should be tied to root.
degomme [Tue, 5 Jul 2016 16:34:03 +0000 (18:34 +0200)]
grouped trace or not, MPI_LINK type should be tied to root.
This caused issues with complex platforms with several level of AS (g5k.xml), and grouped tracing (several MPI_LINK types were created, causing an abort when trying to use one).

3 years agodead code --
degomme [Tue, 5 Jul 2016 12:49:08 +0000 (14:49 +0200)]
dead code --

3 years ago[.gitignore] Ignore more s4u binaries
Christian Heinrich [Tue, 5 Jul 2016 15:12:15 +0000 (17:12 +0200)]
[.gitignore] Ignore more s4u binaries

3 years ago[DOC] Clarify PAPI counters + privileges
Christian Heinrich [Tue, 5 Jul 2016 15:09:20 +0000 (17:09 +0200)]
[DOC] Clarify PAPI counters + privileges

3 years ago[DOC] Documented tracing/precision configuration option.
Christian Heinrich [Tue, 5 Jul 2016 15:07:08 +0000 (17:07 +0200)]
[DOC] Documented tracing/precision configuration option.

3 years ago[SMPI] Fix includes for PAPI.
Christian Heinrich [Tue, 5 Jul 2016 14:47:20 +0000 (16:47 +0200)]
[SMPI] Fix includes for PAPI.

After a recent refactoring, some includes went missing.

3 years ago[INSTR] Cosmetics for alignments...
Christian Heinrich [Tue, 5 Jul 2016 13:05:39 +0000 (15:05 +0200)]
[INSTR] Cosmetics for alignments...

3 years ago[DOC] Document the PAPI counter options
Christian Heinrich [Tue, 5 Jul 2016 12:52:54 +0000 (14:52 +0200)]
[DOC] Document the PAPI counter options

3 years ago[s4u] Headers cleanup
Gabriel Corona [Tue, 5 Jul 2016 11:38:22 +0000 (13:38 +0200)]
[s4u] Headers cleanup

3 years agoXBT_PUBLIC on FutureBase::schedule() method
Gabriel Corona [Tue, 5 Jul 2016 10:38:38 +0000 (12:38 +0200)]
XBT_PUBLIC on FutureBase::schedule() method

3 years agoFix MC
Gabriel Corona [Tue, 5 Jul 2016 10:05:34 +0000 (12:05 +0200)]
Fix MC

3 years ago[simix] Execute future callbacks in the main loop
Gabriel Corona [Fri, 24 Jun 2016 11:12:06 +0000 (13:12 +0200)]
[simix] Execute future callbacks in the main loop

By avoiding to execute them directly, we avoid problems such as stack
overflows, resource acquisition problems, etc.

3 years agos/NULL/nullptr/ in our C++ codebase
Gabriel Corona [Tue, 5 Jul 2016 09:37:26 +0000 (11:37 +0200)]
s/NULL/nullptr/ in our C++ codebase

3 years agoAvoid (conditionnaly) including C++ headers files in C headers
Gabriel Corona [Tue, 5 Jul 2016 09:30:46 +0000 (11:30 +0200)]
Avoid (conditionnaly) including C++ headers files in C headers

3 years agooops
degomme [Tue, 5 Jul 2016 09:12:19 +0000 (11:12 +0200)]
oops

3 years agoas MC is mutually exclusive with NS3, move the test from coverage to flags.
degomme [Tue, 5 Jul 2016 09:01:38 +0000 (11:01 +0200)]
as MC is mutually exclusive with NS3, move the test from coverage to flags.

3 years agoRevert "Add ns3 to coverage test, to check nightly that it still compiles"
degomme [Tue, 5 Jul 2016 08:58:55 +0000 (10:58 +0200)]
Revert "Add ns3 to coverage test, to check nightly that it still compiles"

This reverts commit 0a56bb06e8beadc5bc15d30a42ab5ec5824ffebc.

3 years agothis file was moved
degomme [Tue, 5 Jul 2016 08:46:52 +0000 (10:46 +0200)]
this file was moved

3 years agoAdd ns3 to coverage test, to check nightly that it still compiles
degomme [Tue, 5 Jul 2016 08:46:42 +0000 (10:46 +0200)]
Add ns3 to coverage test, to check nightly that it still compiles

3 years agoFix compilation of NS3 model
degomme [Tue, 5 Jul 2016 08:40:40 +0000 (10:40 +0200)]
Fix compilation of NS3 model

3 years agoAvoid depending on C++11 stuff when including C/SMPI headers
Gabriel Corona [Mon, 4 Jul 2016 14:55:57 +0000 (16:55 +0200)]
Avoid depending on C++11 stuff when including C/SMPI headers

The user might compile C++ without C++11 and would not be able to
compile the code even if he would be able to compile it in C.

3 years agofix bug raised by rriemann.
Frederic Suter [Tue, 5 Jul 2016 07:38:15 +0000 (09:38 +0200)]
fix bug raised by rriemann.

3 years ago[simix] Manage s_smx_mailbox with new/delte
Gabriel Corona [Mon, 4 Jul 2016 13:25:44 +0000 (15:25 +0200)]
[simix] Manage s_smx_mailbox with new/delte

Because it has a boost::intrusive_ptr now.

3 years agoAdd missing file to dist
degomme [Mon, 4 Jul 2016 10:26:35 +0000 (12:26 +0200)]
Add missing file to dist

3 years agoleak --
degomme [Mon, 4 Jul 2016 10:04:10 +0000 (12:04 +0200)]
leak --

3 years ago[xbt] Forgot to properly return the return value in Task
Gabriel Corona [Mon, 4 Jul 2016 08:37:46 +0000 (10:37 +0200)]
[xbt] Forgot to properly return the return value in Task

3 years ago[simix] add intrusive_ptr for mailbox receiver.
adfaure [Mon, 4 Jul 2016 08:03:26 +0000 (10:03 +0200)]
[simix] add intrusive_ptr for mailbox receiver.

3 years agoBring back the missing void
Gabriel Corona [Fri, 1 Jul 2016 22:34:14 +0000 (00:34 +0200)]
Bring back the missing void

This is supposed to be C...

3 years ago[s4u] XML deployment example
Gabriel Corona [Fri, 1 Jul 2016 13:18:37 +0000 (15:18 +0200)]
[s4u] XML deployment example

3 years agocatch some bugs in fifo and parmap
Frederic Suter [Fri, 1 Jul 2016 12:18:45 +0000 (14:18 +0200)]
catch some bugs in fifo and parmap

3 years agofix one rule catches: comments in comments
Frederic Suter [Fri, 1 Jul 2016 11:20:29 +0000 (13:20 +0200)]
fix one rule catches: comments in comments

3 years ago[SMPI] Fixed wrong delete (should've been delete[])
Christian Heinrich [Fri, 1 Jul 2016 10:51:35 +0000 (12:51 +0200)]
[SMPI] Fixed wrong delete (should've been delete[])

Thanks Augustin

3 years ago[s4u] replace smx_process_t by Actor in Mailbox::setReceiver() & Mailbox::receiver()
adfaure [Fri, 1 Jul 2016 09:53:23 +0000 (11:53 +0200)]
[s4u] replace smx_process_t by Actor in Mailbox::setReceiver() & Mailbox::receiver()

3 years agosmall changes
Frederic Suter [Fri, 1 Jul 2016 07:18:35 +0000 (09:18 +0200)]
small changes

3 years agochasing blockers in collectives (part 1)
Frederic Suter [Fri, 1 Jul 2016 07:00:07 +0000 (09:00 +0200)]
chasing blockers in collectives (part 1)

3 years agodocument what flops_amount and bytes_amount should be
Frederic Suter [Fri, 1 Jul 2016 06:27:58 +0000 (08:27 +0200)]
document what flops_amount and bytes_amount should be

3 years agowoops
Frederic Suter [Thu, 30 Jun 2016 12:40:29 +0000 (14:40 +0200)]
woops

3 years agoplease sonar on ++
Frederic Suter [Thu, 30 Jun 2016 11:41:24 +0000 (13:41 +0200)]
please sonar on ++

3 years agoblockers--
Frederic Suter [Thu, 30 Jun 2016 11:31:54 +0000 (13:31 +0200)]
blockers--

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

3 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

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

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

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

3 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'

3 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

3 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

3 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

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

3 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

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

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

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

3 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

3 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 ..

3 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)

3 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.

3 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

3 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

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

3 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

3 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

3 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.

3 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

3 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

3 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

3 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

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

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

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

3 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

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

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

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

3 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

3 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.

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

3 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.

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

3 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