Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agouse c++ strings for s4u::Actor names
Martin Quinson [Sun, 31 Jul 2016 20:47:34 +0000 (22:47 +0200)]
use c++ strings for s4u::Actor names

3 years agokill 2 more empty functions: simcall_process_get_name & SIMIX_process_get_name
Martin Quinson [Sun, 31 Jul 2016 20:45:14 +0000 (22:45 +0200)]
kill 2 more empty functions: simcall_process_get_name & SIMIX_process_get_name

3 years agokill two useless calls: SIMIX_process_get_host & simcall_process_get_host
Martin Quinson [Sun, 31 Jul 2016 20:30:20 +0000 (22:30 +0200)]
kill two useless calls: SIMIX_process_get_host & simcall_process_get_host

3 years agounclutter this code. Painful.
Martin Quinson [Sun, 31 Jul 2016 20:19:41 +0000 (22:19 +0200)]
unclutter this code. Painful.

3 years agomake s4u::Mailbox::setReceiver() working; add s4u::Actor::self()
Martin Quinson [Sun, 31 Jul 2016 20:16:08 +0000 (22:16 +0200)]
make s4u::Mailbox::setReceiver() working; add s4u::Actor::self()

3 years agokill msg_mailbox_t entierely
Martin Quinson [Sun, 31 Jul 2016 19:40:53 +0000 (21:40 +0200)]
kill msg_mailbox_t entierely

3 years agomerge two identical cases of a switch to please sonar
Martin Quinson [Sun, 31 Jul 2016 19:25:35 +0000 (21:25 +0200)]
merge two identical cases of a switch to please sonar

3 years agoremove another MSG_mailbox function
Martin Quinson [Sun, 31 Jul 2016 17:37:41 +0000 (19:37 +0200)]
remove another MSG_mailbox function

3 years agoremove some useless cruft in MSG
Martin Quinson [Sun, 31 Jul 2016 17:32:43 +0000 (19:32 +0200)]
remove some useless cruft in MSG

3 years agoremove two more MSG_mailbox functions
Martin Quinson [Sun, 31 Jul 2016 17:22:29 +0000 (19:22 +0200)]
remove two more MSG_mailbox functions

3 years agoremove two functions manipulating msg_mailbox_t
Martin Quinson [Sun, 31 Jul 2016 16:06:21 +0000 (18:06 +0200)]
remove two functions manipulating msg_mailbox_t

3 years agochange a false simcall to a s4u call
Martin Quinson [Sun, 31 Jul 2016 15:54:15 +0000 (17:54 +0200)]
change a false simcall to a s4u call

3 years agoremove a useless call
Martin Quinson [Sun, 31 Jul 2016 15:28:23 +0000 (17:28 +0200)]
remove a useless call

3 years agodo not pass intrusive_ptr<> to the logging subsystem
Martin Quinson [Sun, 31 Jul 2016 15:15:18 +0000 (17:15 +0200)]
do not pass intrusive_ptr<> to the logging subsystem

3 years agomake msg_mailbox_t be the s4u::Mailbox
Martin Quinson [Sun, 31 Jul 2016 11:26:04 +0000 (13:26 +0200)]
make msg_mailbox_t be the s4u::Mailbox

This forces me to make s4u::Mailbox->getImpl() public because I don't
manage to pass intrusive_ptr<s4u::Mailbox> as arguments to simcalls...

I really need to work on my C++-fu

3 years agoalign namespaces on directories for kernel::routing
Martin Quinson [Sun, 31 Jul 2016 11:06:32 +0000 (13:06 +0200)]
align namespaces on directories for kernel::routing

3 years agoalign namespaces on directories for kernel::activity
Martin Quinson [Sun, 31 Jul 2016 09:30:51 +0000 (11:30 +0200)]
align namespaces on directories for kernel::activity

3 years agotypos
Martin Quinson [Sun, 31 Jul 2016 09:00:39 +0000 (11:00 +0200)]
typos

3 years agomove parts of the kernel to the right subdir
Martin Quinson [Sun, 31 Jul 2016 08:52:43 +0000 (10:52 +0200)]
move parts of the kernel to the right subdir

3 years agowoops, fix MC builds
Martin Quinson [Sun, 31 Jul 2016 08:27:17 +0000 (10:27 +0200)]
woops, fix MC builds

3 years ago[simix] Fix some documentation
Gabriel Corona [Sat, 30 Jul 2016 22:51:26 +0000 (00:51 +0200)]
[simix] Fix some documentation

3 years agomove the synchronization stuff to its own directory
Martin Quinson [Sat, 30 Jul 2016 20:55:50 +0000 (22:55 +0200)]
move the synchronization stuff to its own directory

3 years agomore cosmetic cleanups
Frederic Suter [Fri, 29 Jul 2016 09:49:51 +0000 (11:49 +0200)]
more cosmetic cleanups

3 years agothis code is full of void
Frederic Suter [Fri, 29 Jul 2016 09:03:11 +0000 (11:03 +0200)]
this code is full of void

3 years agomorning cleanups
Frederic Suter [Fri, 29 Jul 2016 08:20:13 +0000 (10:20 +0200)]
morning cleanups

3 years agoremove a not-really-simdag example.
Frederic Suter [Fri, 29 Jul 2016 08:19:21 +0000 (10:19 +0200)]
remove a not-really-simdag example.
True IO support will wait for SimDag redefinition

3 years agomv mutex.hpp Mutex.hpp (plus make it compile again)
Martin Quinson [Fri, 29 Jul 2016 05:44:20 +0000 (07:44 +0200)]
mv mutex.hpp Mutex.hpp (plus make it compile again)

3 years agoreally annoying typo
Martin Quinson [Fri, 29 Jul 2016 05:39:17 +0000 (07:39 +0200)]
really annoying typo

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 28 Jul 2016 14:23:57 +0000 (16:23 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agodocument previous change. Would need to be improved, and a hint could be given to...
degomme [Thu, 28 Jul 2016 12:59:02 +0000 (14:59 +0200)]
document previous change. Would need to be improved, and a hint could be given to the user when the limit is reached and his simulation deadlocks.

3 years agoAdd a flag maxmin/concurrency_limit to allow setting this value to higher values
degomme [Thu, 28 Jul 2016 12:52:11 +0000 (14:52 +0200)]
Add a flag maxmin/concurrency_limit to allow setting this value to higher values
This value limits the number of processes that can run concurrently on a host, so it can be a problem and sometimes needs to be increased. Default is 100.
Related to http://stackoverflow.com/questions/38634661/is-there-any-limitations-to-number-of-running-processes-on-host

3 years agocloud-multicore test was not built anymore..
degomme [Thu, 28 Jul 2016 10:23:53 +0000 (12:23 +0200)]
cloud-multicore test was not built anymore..
Too bad, because it's broken due to a bug in affinity handling (see #101).

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
degomme [Thu, 28 Jul 2016 10:01:38 +0000 (12:01 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid

3 years agoFix for manually crafted clusters.
degomme [Thu, 28 Jul 2016 10:01:02 +0000 (12:01 +0200)]
Fix for manually crafted clusters.
Platform printing was broken as the router was not registered to the cluster.

3 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 28 Jul 2016 08:35:10 +0000 (10:35 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

3 years agomorning routine of chasings sonar bugs
Frederic Suter [Thu, 28 Jul 2016 08:34:38 +0000 (10:34 +0200)]
morning routine of chasings sonar bugs

3 years agomark a deprecated function as such
Martin Quinson [Thu, 28 Jul 2016 06:36:31 +0000 (08:36 +0200)]
mark a deprecated function as such

3 years agomark a constructor as explicit to please sonar
Martin Quinson [Thu, 28 Jul 2016 06:24:55 +0000 (08:24 +0200)]
mark a constructor as explicit to please sonar

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Wed, 27 Jul 2016 10:07:00 +0000 (12:07 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agosonar: recursively exclude teshsuite/smpi/{isp/umpire;mpich-test3}
Martin Quinson [Wed, 27 Jul 2016 09:48:03 +0000 (11:48 +0200)]
sonar: recursively exclude teshsuite/smpi/{isp/umpire;mpich-test3}

3 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

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

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

3 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

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

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

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

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

3 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

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

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

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

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

3 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

3 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

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

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

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

3 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

3 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

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

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

3 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

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

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

3 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

3 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

3 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

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

3 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

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

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

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

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

3 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

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

3 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

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

3 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

3 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 :/

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

3 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

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