Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agoMerge commit 'dd9b0df'
Gabriel Corona [Fri, 22 Jul 2016 10:34:16 +0000 (12:34 +0200)]
Merge commit 'dd9b0df'

3 years ago[s4u] Activity ought not to be copied
Gabriel Corona [Fri, 22 Jul 2016 08:12:05 +0000 (10:12 +0200)]
[s4u] Activity ought not to be copied

3 years agodon't document an option that is long gone
Martin Quinson [Thu, 21 Jul 2016 15:43:42 +0000 (17:43 +0200)]
don't document an option that is long gone

3 years agotry to sonar-ignore SMPI scavenged code for the collectives
Martin Quinson [Wed, 20 Jul 2016 20:35:29 +0000 (22:35 +0200)]
try to sonar-ignore SMPI scavenged code for the collectives

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 21 Jul 2016 14:36:03 +0000 (16:36 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agochange the way dependencies are handled
Frederic Suter [Thu, 21 Jul 2016 14:34:39 +0000 (16:34 +0200)]
change the way dependencies are handled
kill 2 never used functions
kill the SD_dependency_t structure
more simplifications are needed but it's a mess

3 years ago[doc] De-Ostern-ization (typo)
Gabriel Corona [Thu, 21 Jul 2016 12:56:15 +0000 (14:56 +0200)]
[doc] De-Ostern-ization (typo)

3 years ago[mc] More documentation
Gabriel Corona [Thu, 21 Jul 2016 11:37:45 +0000 (13:37 +0200)]
[mc] More documentation

3 years ago[mc] this_actor, wait_for and wait_until
Gabriel Corona [Thu, 21 Jul 2016 10:06:16 +0000 (12:06 +0200)]
[mc] this_actor, wait_for and wait_until

For consistency avec ConditionVariable and the C++ standard library.

3 years ago[s4u] Don't handle -1 specially in ConditionVariable::wait_for()
Gabriel Corona [Thu, 21 Jul 2016 10:05:49 +0000 (12:05 +0200)]
[s4u] Don't handle -1 specially in ConditionVariable::wait_for()

3 years ago[mc] Documentation
Gabriel Corona [Thu, 21 Jul 2016 09:59:53 +0000 (11:59 +0200)]
[mc] Documentation

3 years agosimplify a loop to please sonarqube
Martin Quinson [Wed, 20 Jul 2016 18:22:33 +0000 (20:22 +0200)]
simplify a loop to please sonarqube

3 years agoMerge remote-tracking branch 'adfaure/master'
Gabriel Corona [Wed, 20 Jul 2016 14:39:20 +0000 (16:39 +0200)]
Merge remote-tracking branch 'adfaure/master'

3 years ago[doc] More TODO
Gabriel Corona [Wed, 20 Jul 2016 13:47:55 +0000 (15:47 +0200)]
[doc] More TODO

3 years ago[s4u] More support for C++-style time and durations
Gabriel Corona [Wed, 20 Jul 2016 12:56:40 +0000 (14:56 +0200)]
[s4u] More support for C++-style time and durations

3 years ago[s4u] Support for C++11-style duration in ConditionVariable
Gabriel Corona [Wed, 20 Jul 2016 10:39:46 +0000 (12:39 +0200)]
[s4u] Support for C++11-style duration in ConditionVariable

Better compatibility witd std::condition_variable API.

3 years ago[mc] Fix NT_GNU_BUILD_ID support
Gabriel Corona [Wed, 20 Jul 2016 09:50:59 +0000 (11:50 +0200)]
[mc] Fix NT_GNU_BUILD_ID support

3 years ago[mc] Add documentation and fix some things
Gabriel Corona [Wed, 20 Jul 2016 09:02:42 +0000 (11:02 +0200)]
[mc] Add documentation and fix some things

3 years ago[s4u] add Comm::test
adfaure [Wed, 20 Jul 2016 08:14:25 +0000 (10:14 +0200)]
[s4u] add Comm::test

3 years ago[doc] Kill remaining reference to XBT_set
Gabriel Corona [Tue, 19 Jul 2016 10:34:28 +0000 (12:34 +0200)]
[doc] Kill remaining reference to XBT_set

and there was a some datadesription title remaining as well.

3 years ago[doc] @deprecate XBT structures
Gabriel Corona [Tue, 19 Jul 2016 10:32:23 +0000 (12:32 +0200)]
[doc] @deprecate XBT structures

3 years ago[doc] TODO / Letter to Santa
Gabriel Corona [Tue, 19 Jul 2016 10:08:30 +0000 (12:08 +0200)]
[doc] TODO / Letter to Santa

3 years agoReally use the right URL, bummer.
Martin Quinson [Tue, 19 Jul 2016 08:37:13 +0000 (10:37 +0200)]
Really use the right URL, bummer.

3 years agocorrectly update the SonarQube URLs
Martin Quinson [Tue, 19 Jul 2016 08:17:16 +0000 (10:17 +0200)]
correctly update the SonarQube URLs

3 years agochange nemo.sonarqube.com to sonarqube.com
Martin Quinson [Tue, 19 Jul 2016 08:10:55 +0000 (10:10 +0200)]
change nemo.sonarqube.com to sonarqube.com

3 years agodocument how to regenerate a travis/sonar token
Martin Quinson [Mon, 18 Jul 2016 16:09:30 +0000 (18:09 +0200)]
document how to regenerate a travis/sonar token

3 years agodont spellcheck the smpi collectives
Martin Quinson [Fri, 15 Jul 2016 08:28:37 +0000 (10:28 +0200)]
dont spellcheck the smpi collectives

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