Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agodumb me. sg_size_t are not doubles
Frederic Suter [Wed, 27 Jul 2016 09:27:12 +0000 (11:27 +0200)]
dumb me. sg_size_t are not doubles

7 years agoplease sonar (and I do agree with this one)
Frederic Suter [Wed, 27 Jul 2016 09:24:25 +0000 (11:24 +0200)]
please sonar (and I do agree with this one)

7 years agocosmetics (and sonar bugs--)
Frederic Suter [Wed, 27 Jul 2016 09:13:21 +0000 (11:13 +0200)]
cosmetics (and sonar bugs--)

7 years agotry to minimize the addition of new tech debt
Frederic Suter [Wed, 27 Jul 2016 08:57:37 +0000 (10:57 +0200)]
try to minimize the addition of new tech debt

7 years agosonar bugs--
Frederic Suter [Wed, 27 Jul 2016 08:36:35 +0000 (10:36 +0200)]
sonar bugs--

7 years agowoops
Martin Quinson [Tue, 26 Jul 2016 21:43:04 +0000 (23:43 +0200)]
woops

7 years agofurther use c++11 loops
Martin Quinson [Tue, 26 Jul 2016 21:37:47 +0000 (23:37 +0200)]
further use c++11 loops

7 years agocosmetics
Martin Quinson [Tue, 26 Jul 2016 21:16:18 +0000 (23:16 +0200)]
cosmetics

7 years agorename a C++-only header with the '.hpp' suffix
Martin Quinson [Tue, 26 Jul 2016 14:07:50 +0000 (16:07 +0200)]
rename a C++-only header with the '.hpp' suffix

7 years agouseless cosmetics
Martin Quinson [Tue, 26 Jul 2016 13:59:31 +0000 (15:59 +0200)]
useless cosmetics

7 years agofix make distcheck
Martin Quinson [Tue, 26 Jul 2016 13:49:11 +0000 (15:49 +0200)]
fix make distcheck

7 years agorename actor.hpp to Actor.hpp
Martin Quinson [Tue, 26 Jul 2016 13:19:26 +0000 (15:19 +0200)]
rename actor.hpp to Actor.hpp

7 years agokill an unused function and make an internal field protected
Martin Quinson [Tue, 26 Jul 2016 13:13:48 +0000 (15:13 +0200)]
kill an unused function and make an internal field protected

7 years agokill a useless function
Martin Quinson [Tue, 26 Jul 2016 13:05:39 +0000 (15:05 +0200)]
kill a useless function

7 years agosimdag: use extended C++11 loops instead of iterators for sake of readability
Martin Quinson [Tue, 26 Jul 2016 10:14:38 +0000 (12:14 +0200)]
simdag: use extended C++11 loops instead of iterators for sake of readability

7 years agotesh: only make an absolute path out of test file if not already one
Martin Quinson [Tue, 26 Jul 2016 09:47:31 +0000 (11:47 +0200)]
tesh: only make an absolute path out of test file if not already one

7 years agorename the S4U method retrieving the internal impl to getImpl
Martin Quinson [Tue, 26 Jul 2016 09:42:13 +0000 (11:42 +0200)]
rename the S4U method retrieving the internal impl to getImpl

7 years agoRename the S4U interface stored in internal objects as piface
Martin Quinson [Tue, 26 Jul 2016 09:33:19 +0000 (11:33 +0200)]
Rename the S4U interface stored in internal objects as piface

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 25 Jul 2016 13:23:49 +0000 (15:23 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agofix issue raised by kenenbek
Frederic Suter [Mon, 25 Jul 2016 13:21:45 +0000 (15:21 +0200)]
fix issue raised by kenenbek
is one attempts to read an empty file, or write 0 byte in a file,
return immediatly. if the I/O operation is remote, it would lead to a
0-flop-0-byte parallel task, which is not allowed.

7 years agomove the routing logic to its own directory
Martin Quinson [Mon, 25 Jul 2016 10:00:17 +0000 (12:00 +0200)]
move the routing logic to its own directory

7 years agouseless cosmetics
Martin Quinson [Sun, 24 Jul 2016 20:38:16 +0000 (22:38 +0200)]
useless cosmetics

- Reading the VM code is still painful

7 years agoyet another == with doubles
Frederic Suter [Mon, 25 Jul 2016 08:39:02 +0000 (10:39 +0200)]
yet another == with doubles
shouldn't we use std::numeric_limits infinity and has_infinity instead
of this DBL_MAX that is sooooo C-style?

7 years agotry to avoid == for double.
Frederic Suter [Mon, 25 Jul 2016 08:27:40 +0000 (10:27 +0200)]
try to avoid == for double.
BTW this file escaped the reindent wrath. Gotcha!

7 years agochase bugs and smells
Frederic Suter [Mon, 25 Jul 2016 07:25:56 +0000 (09:25 +0200)]
chase bugs and smells

7 years agocosmetics
Martin Quinson [Sun, 24 Jul 2016 19:52:22 +0000 (21:52 +0200)]
cosmetics

- Remove from content.txt some files that I just killed,
  and adapt the examples using that content.txt

7 years agotesh: display the full path to tesh file to simplify edits
Martin Quinson [Sun, 24 Jul 2016 19:45:25 +0000 (21:45 +0200)]
tesh: display the full path to tesh file to simplify edits

7 years agokill two obscure SMPI examples
Martin Quinson [Sun, 24 Jul 2016 19:27:19 +0000 (21:27 +0200)]
kill two obscure SMPI examples

They were added in the very beginning of SMPI development, are not
specially useful, and present absolutely not explanation or
documentation.

Plus, they represent a bunch of days of quality debt on Sonar. Death.

7 years agoexclude the NAS from sonar. Not my business.
Martin Quinson [Sat, 23 Jul 2016 19:24:08 +0000 (21:24 +0200)]
exclude the NAS from sonar. Not my business.

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 22 Jul 2016 17:01:03 +0000 (19:01 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoworkstation -> host
Frederic Suter [Fri, 22 Jul 2016 16:57:13 +0000 (18:57 +0200)]
workstation -> host

7 years agorewrite set_state
Frederic Suter [Fri, 22 Jul 2016 16:50:00 +0000 (18:50 +0200)]
rewrite set_state

7 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Fri, 22 Jul 2016 16:14:29 +0000 (18:14 +0200)]
Merge branch 'master' of github.com:simgrid/simgrid

7 years agoMerge pull request #100 from dindon-sournois/sem_get_capacity.return_value
Martin Quinson [Fri, 22 Jul 2016 16:10:02 +0000 (18:10 +0200)]
Merge pull request #100 from dindon-sournois/sem_get_capacity.return_value

Add a return value for MSG_sem_get_capacity

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 22 Jul 2016 16:07:21 +0000 (18:07 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agocleaning and trimming
Frederic Suter [Fri, 22 Jul 2016 16:07:05 +0000 (18:07 +0200)]
cleaning and trimming

7 years agoadded return value for MSG_sem_get_capacity
Loris Lucido [Fri, 22 Jul 2016 15:19:52 +0000 (17:19 +0200)]
added return value for MSG_sem_get_capacity

7 years agoMerge s4u wait_any
Gabriel Corona [Fri, 22 Jul 2016 14:30:32 +0000 (16:30 +0200)]
Merge s4u wait_any

7 years agovarious tiny changes
Frederic Suter [Fri, 22 Jul 2016 14:23:05 +0000 (16:23 +0200)]
various tiny changes

7 years ago[xbt] Add missing #includes
Gabriel Corona [Fri, 22 Jul 2016 14:12:26 +0000 (16:12 +0200)]
[xbt] Add missing #includes

7 years ago[xbt] Install a custom exception handler
Gabriel Corona [Fri, 22 Jul 2016 13:56:29 +0000 (15:56 +0200)]
[xbt] Install a custom exception handler

It shows the current backtrace and the exception context (if any):
backtrace, simulated process PID, etc.

7 years ago[simix] Dexbtization: remove xbt_dynar_t argument in simcall_comm_waitany
Gabriel Corona [Fri, 22 Jul 2016 08:45:30 +0000 (10:45 +0200)]
[simix] Dexbtization: remove xbt_dynar_t argument in simcall_comm_waitany

7 years ago[s4u] add Comm::wait_any
adfaure [Thu, 21 Jul 2016 14:12:48 +0000 (16:12 +0200)]
[s4u] add Comm::wait_any

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Fri, 22 Jul 2016 12:49:49 +0000 (14:49 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agoend of simplification of dependencies
Frederic Suter [Fri, 22 Jul 2016 12:49:16 +0000 (14:49 +0200)]
end of simplification of dependencies
no more ugly counters \o/

7 years ago[doc] TODO -1 timeout should not be forever
Gabriel Corona [Fri, 22 Jul 2016 12:12:39 +0000 (14:12 +0200)]
[doc] TODO -1 timeout should not be forever

7 years ago[java] Fix binding for RngStream.setSeed on LP64
Gabriel Corona [Fri, 22 Jul 2016 10:38:49 +0000 (12:38 +0200)]
[java] Fix binding for RngStream.setSeed on LP64

This is the same bug I fixed earlier in setPackageSeed() but I did not
notice it was there as well :/

7 years agoMerge commit 'dd9b0df'
Gabriel Corona [Fri, 22 Jul 2016 10:34:16 +0000 (12:34 +0200)]
Merge commit 'dd9b0df'

7 years ago[SIMIX]add timeout to simcall_comm_waitany
adfaure [Thu, 21 Jul 2016 07:48:33 +0000 (09:48 +0200)]
[SIMIX]add timeout to simcall_comm_waitany

7 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

7 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

7 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

7 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

7 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

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

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

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

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

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

7 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

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

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

7 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

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

7 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

7 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

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

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

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

7 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

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

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

7 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

7 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

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

7 years agofix some typos
Martin Quinson [Thu, 14 Jul 2016 20:40:16 +0000 (22:40 +0200)]
fix some typos

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

7 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

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

7 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

7 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

7 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

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

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

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

7 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

7 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

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

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

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

7 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

7 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

7 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

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

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

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

7 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

7 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

7 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

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