Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 years ago[doc] Under the hooks: S4U
Gabriel Corona [Wed, 13 Jul 2016 09:11:35 +0000 (11:11 +0200)]
[doc] Under the hooks: S4U

5 years ago[git] Added clang-format pre-commit hook.
Christian Heinrich [Wed, 13 Jul 2016 08:56:54 +0000 (10:56 +0200)]
[git] Added clang-format pre-commit hook.

This hook helps us maintain a well-formatted code base.
Install it via copying the hook to .git/hooks/pre-commit

5 years agoCopy the name of the "file", as we don't know where it comes from.
degomme [Wed, 13 Jul 2016 08:28:54 +0000 (10:28 +0200)]
Copy the name of the "file", as we don't know where it comes from.
If it's not generated by __FILE__ (fortran, for example), it may be destroyed too soon.
This can cause a leak, I will see to that later

5 years agodon't try to mmap with size 0 when a *** code asks for smpi_shared_malloc(0).
degomme [Wed, 13 Jul 2016 08:23:08 +0000 (10:23 +0200)]
don't try to mmap with size 0 when a *** code asks for smpi_shared_malloc(0).

5 years agodoc improvement
Martin Quinson [Wed, 13 Jul 2016 00:51:58 +0000 (02:51 +0200)]
doc improvement

5 years ago[doc] MC
Gabriel Corona [Tue, 12 Jul 2016 15:21:37 +0000 (17:21 +0200)]
[doc] MC

5 years ago[doc] Under the hood: simgrid::kernel::Future
Gabriel Corona [Tue, 12 Jul 2016 14:47:37 +0000 (16:47 +0200)]
[doc] Under the hood: simgrid::kernel::Future

5 years ago[doc] Documnetation about using generic simcalls
Gabriel Corona [Tue, 12 Jul 2016 14:13:49 +0000 (16:13 +0200)]
[doc] Documnetation about using generic simcalls

5 years ago[doc] Suggest C++ alternatives to xbt containers
Gabriel Corona [Tue, 12 Jul 2016 13:05:15 +0000 (15:05 +0200)]
[doc] Suggest C++ alternatives to xbt containers

5 years ago[xbt] Documentation and cleanup
Gabriel Corona [Tue, 12 Jul 2016 11:53:10 +0000 (13:53 +0200)]
[xbt] Documentation and cleanup

5 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

5 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

5 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

5 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

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

5 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

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

5 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

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

5 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

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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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).

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

5 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

5 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

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

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

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

5 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

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

5 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

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

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

5 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

5 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

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

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

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

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

5 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

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

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

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

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

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

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

5 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

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

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

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

5 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

5 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

5 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

5 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()

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

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

5 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

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

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

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

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

5 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

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

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

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

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

5 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

5 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

5 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

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

5 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

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

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

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

5 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

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

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

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

5 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

5 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

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

5 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

5 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

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

5 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

5 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

5 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

5 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

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

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

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