Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agofix some typos
Martin Quinson [Thu, 14 Jul 2016 20:40:16 +0000 (22:40 +0200)]
fix some typos

3 years agoMerge commit '458ff11'
Gabriel Corona [Mon, 18 Jul 2016 14:38:40 +0000 (16:38 +0200)]
Merge commit '458ff11'

3 years ago[mc] Remove unused pointer_to_data_member trait
Gabriel Corona [Mon, 18 Jul 2016 14:34:41 +0000 (16:34 +0200)]
[mc] Remove unused pointer_to_data_member trait

3 years ago[mc] Documentation cleanup
Gabriel Corona [Mon, 18 Jul 2016 14:12:37 +0000 (16:12 +0200)]
[mc] Documentation cleanup

3 years ago[s4u] Mailbox::receiver return a s4u::ActorPtr
adfaure [Mon, 18 Jul 2016 13:23:52 +0000 (15:23 +0200)]
[s4u] Mailbox::receiver return a s4u::ActorPtr

3 years ago[mc] Avoid extra memory allocation and fix off-by-one buffer overflow
Gabriel Corona [Mon, 18 Jul 2016 12:32:13 +0000 (14:32 +0200)]
[mc] Avoid extra memory allocation and fix off-by-one buffer overflow

3 years ago[mc] Better documentation of AddressSpace
Gabriel Corona [Mon, 18 Jul 2016 12:21:26 +0000 (14:21 +0200)]
[mc] Better documentation of AddressSpace

3 years ago[java] Fix RngStream.setPackageSeed
Gabriel Corona [Mon, 18 Jul 2016 10:23:22 +0000 (12:23 +0200)]
[java] Fix RngStream.setPackageSeed

* it is static so the first argument is not an instance;

* we need to convert jint to unsigned long to make the Java binding
  talk to the C binding correctly.

3 years ago[doc] Add todo about user .then()
Gabriel Corona [Mon, 18 Jul 2016 09:19:53 +0000 (11:19 +0200)]
[doc] Add todo about user .then()

3 years ago[doc] Misc
Gabriel Corona [Wed, 13 Jul 2016 15:06:44 +0000 (17:06 +0200)]
[doc] Misc

3 years agoAdd an assert in case a platform using cluster routing does not link nodes to links...
degomme [Wed, 13 Jul 2016 13:00:54 +0000 (15:00 +0200)]
Add an assert in case a platform using cluster routing does not link nodes to links properly.
This is related to https://github.com/simgrid/simgrid/issues/96

3 years agoCrude hack to ignore cruft from Java on Windows
Martin Quinson [Wed, 13 Jul 2016 13:24:11 +0000 (15:24 +0200)]
Crude hack to ignore cruft from Java on Windows

3 years ago[doc] TODO
Gabriel Corona [Wed, 13 Jul 2016 12:28:20 +0000 (14:28 +0200)]
[doc] TODO

3 years ago[doc] Fix 'the page appear twice in the hierarchy'
Gabriel Corona [Wed, 13 Jul 2016 09:44:51 +0000 (11:44 +0200)]
[doc] Fix 'the page appear twice in the hierarchy'

3 years ago[doc] Under the hood
Gabriel Corona [Wed, 13 Jul 2016 09:25:03 +0000 (11:25 +0200)]
[doc] Under the hood

Add references and other things.

3 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

3 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

3 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

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

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

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

3 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

3 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

3 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

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

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