Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
7 years agoimprove the s4u_mutex example
Martin Quinson [Sun, 7 Aug 2016 16:09:03 +0000 (18:09 +0200)]
improve the s4u_mutex example

7 years agovarious documentation improvements
Martin Quinson [Sun, 7 Aug 2016 14:47:17 +0000 (16:47 +0200)]
various documentation improvements

- Re-add all code in Doxygen after recent directories creation
- Add a (very empty) list of S4U examples
- Fix some warnings and errors in doxygen markup
- Fix the scripts checking the integrity of the log channel hierarchy
- Move the doc of the s4u::Mutex and simgrid::chrono to the right
  location out of Gabriel's blog entry

7 years agoimprove the doc of simgrid::SimulationClock from Gabriel's blog post
Martin Quinson [Sun, 7 Aug 2016 13:27:28 +0000 (15:27 +0200)]
improve the doc of simgrid::SimulationClock from Gabriel's blog post

7 years agoremove 2 useless functions (and kill a supurious sonar bug report)
Martin Quinson [Sun, 7 Aug 2016 13:01:53 +0000 (15:01 +0200)]
remove 2 useless functions (and kill a supurious sonar bug report)

7 years agoslight update to an ancient FAQ entry
Martin Quinson [Sat, 6 Aug 2016 00:17:25 +0000 (02:17 +0200)]
slight update to an ancient FAQ entry

7 years agotell sonar we're using Java 7 at least
Martin Quinson [Sat, 6 Aug 2016 00:16:52 +0000 (02:16 +0200)]
tell sonar we're using Java 7 at least

7 years agomake it even better with Java 7 constructs. Thanks sonar
Martin Quinson [Sat, 6 Aug 2016 00:08:32 +0000 (02:08 +0200)]
make it even better with Java 7 constructs. Thanks sonar

7 years agoadd Exa- and Peta- units to XML
Martin Quinson [Fri, 5 Aug 2016 23:55:04 +0000 (01:55 +0200)]
add Exa- and Peta- units to XML

This fixes #106

7 years agotry to greatly simplify this file
Martin Quinson [Fri, 5 Aug 2016 23:25:03 +0000 (01:25 +0200)]
try to greatly simplify this file

7 years agosimplify the code logic (and please sonar)
Martin Quinson [Fri, 5 Aug 2016 19:27:47 +0000 (21:27 +0200)]
simplify the code logic (and please sonar)

7 years agothis is useless now
Frederic Suter [Fri, 5 Aug 2016 12:40:12 +0000 (14:40 +0200)]
this is useless now

7 years agoget rid of remains field
Frederic Suter [Fri, 5 Aug 2016 10:09:55 +0000 (12:09 +0200)]
get rid of remains field

7 years agoget rid of mallocators for tasks
Frederic Suter [Fri, 5 Aug 2016 09:39:08 +0000 (11:39 +0200)]
get rid of mallocators for tasks
  for the sake of simplicity on the way to C++fication of SimDag

7 years agocleaning a bit
Frederic Suter [Fri, 5 Aug 2016 07:43:43 +0000 (09:43 +0200)]
cleaning a bit

7 years agoalways close file descriptors, even on exceptions
Martin Quinson [Thu, 4 Aug 2016 19:52:59 +0000 (21:52 +0200)]
always close file descriptors, even on exceptions

7 years agofix valgrind and plug leak
Frederic Suter [Thu, 4 Aug 2016 15:29:12 +0000 (17:29 +0200)]
fix valgrind and plug leak

7 years agofactoring communication matrix building
Frederic Suter [Thu, 4 Aug 2016 14:30:11 +0000 (16:30 +0200)]
factoring communication matrix building

7 years agoone more simplification step
Frederic Suter [Thu, 4 Aug 2016 13:49:29 +0000 (15:49 +0200)]
one more simplification step
next one if factoring the redistribution matrix filling

7 years agoclean include + free->xbt_free
Frederic Suter [Thu, 4 Aug 2016 12:20:11 +0000 (14:20 +0200)]
clean include + free->xbt_free

7 years agoSD_task_t simplification
Frederic Suter [Thu, 4 Aug 2016 11:53:13 +0000 (13:53 +0200)]
SD_task_t simplification
host_count + host_list => std::vector<sg_host_t> allocation
try to simplify SD_task_schedulev on the way

7 years agobugs and smells
Frederic Suter [Wed, 3 Aug 2016 14:23:29 +0000 (16:23 +0200)]
bugs and smells

7 years agostart to name parameters in header files
Frederic Suter [Wed, 3 Aug 2016 12:43:53 +0000 (14:43 +0200)]
start to name parameters in header files

7 years agocatch also some more sensible "nested code block"
Frederic Suter [Wed, 3 Aug 2016 12:13:52 +0000 (14:13 +0200)]
catch also some more sensible "nested code block"

7 years agocatch some dumb "nested code block"
Frederic Suter [Wed, 3 Aug 2016 12:13:06 +0000 (14:13 +0200)]
catch some dumb "nested code block"

7 years agotry to fix MC build
Frederic Suter [Wed, 3 Aug 2016 08:52:29 +0000 (10:52 +0200)]
try to fix MC build
void suppression was more picky than expected in XBT

7 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 3 Aug 2016 07:53:08 +0000 (09:53 +0200)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

7 years agotrack all the useless void
Frederic Suter [Wed, 3 Aug 2016 07:52:41 +0000 (09:52 +0200)]
track all the useless void

7 years agoAdd a check to crash when user is compiling with stable version, and linking with...
degomme [Tue, 2 Aug 2016 12:05:14 +0000 (14:05 +0200)]
Add a check to crash when user is compiling with stable version, and linking with dev version. Or the other way around.
We allow compatibility (with a warning) between 3.xx.yy and 3.xx.zz, but patch num 90+ is for dev version, which could be completely incompatible and should not be expected to work.

7 years agoOrder of these error messages was inverted
degomme [Tue, 2 Aug 2016 10:22:21 +0000 (12:22 +0200)]
Order of these error messages was inverted
lib_version_major is given in msg.h when compiling the user's application
SIMGRID_VERSION_MAJOR is set at the compilation of the lib

7 years agodocument an option recently added by augustin
Martin Quinson [Tue, 2 Aug 2016 10:15:42 +0000 (12:15 +0200)]
document an option recently added by augustin

7 years agoOn my laptop these tests failed due to change in message order (same content).
degomme [Tue, 2 Aug 2016 08:46:27 +0000 (10:46 +0200)]
On my laptop these tests failed due to change in message order (same content).
Sort the output to avoid this

7 years agoAdd option to play with the max number of files opened on each host at the same time
degomme [Tue, 2 Aug 2016 08:34:47 +0000 (10:34 +0200)]
Add option to play with the max number of files opened on each host at the same time

7 years agocosmetics in teshsuite
Frederic Suter [Tue, 2 Aug 2016 08:04:43 +0000 (10:04 +0200)]
cosmetics in teshsuite

7 years agouseless duplicated code
Frederic Suter [Tue, 2 Aug 2016 07:53:18 +0000 (09:53 +0200)]
useless duplicated code

7 years agoguess what? bugs and smells
Frederic Suter [Tue, 2 Aug 2016 07:45:59 +0000 (09:45 +0200)]
guess what? bugs and smells

7 years agocontinue the integration of the uhood_switch documentation. More to do tomorrow
Martin Quinson [Tue, 2 Aug 2016 00:26:39 +0000 (02:26 +0200)]
continue the integration of the uhood_switch documentation. More to do tomorrow

7 years agocrude integration of the process switching documentation
Martin Quinson [Mon, 1 Aug 2016 23:12:39 +0000 (01:12 +0200)]
crude integration of the process switching documentation

7 years agovery preliminary cleanups in the contextes
Martin Quinson [Mon, 1 Aug 2016 20:55:03 +0000 (22:55 +0200)]
very preliminary cleanups in the contextes

damn this code got cluttered over the years

7 years ago[kernel] FutureState.exception_ = nullptr
Gabriel Corona [Mon, 1 Aug 2016 23:05:53 +0000 (01:05 +0200)]
[kernel] FutureState.exception_ = nullptr

This is not mandated to happen with std::move() and does not happen in
at least one implementation.

7 years agofix MC builds this time
Martin Quinson [Mon, 1 Aug 2016 20:27:23 +0000 (22:27 +0200)]
fix MC builds this time

7 years agomake SIMIX_context_runall() trivial so that its content can be inlined easily
Martin Quinson [Mon, 1 Aug 2016 18:54:26 +0000 (20:54 +0200)]
make SIMIX_context_runall() trivial so that its content can be inlined easily

7 years agodisable the cloud-multicore test. See #103
Martin Quinson [Mon, 1 Aug 2016 17:49:23 +0000 (19:49 +0200)]
disable the cloud-multicore test. See #103

7 years agofix java builds
Martin Quinson [Mon, 1 Aug 2016 17:21:16 +0000 (19:21 +0200)]
fix java builds

7 years agouseless cosmetics
Martin Quinson [Mon, 1 Aug 2016 15:15:58 +0000 (17:15 +0200)]
useless cosmetics

7 years agoremove a useless dirty hack for SMPI+MSG
Martin Quinson [Mon, 1 Aug 2016 15:06:39 +0000 (17:06 +0200)]
remove a useless dirty hack for SMPI+MSG

Probably dating from the time where SMPI was C and not C++.

7 years agoPopulate the kernel::context namespace and continue separating concerns out of simix
Martin Quinson [Mon, 1 Aug 2016 14:49:51 +0000 (16:49 +0200)]
Populate the kernel::context namespace and continue separating concerns out of simix

This is also the objectification of SimIX. The numerous globals out
there should be moved to something like an EngineImpl, at some point.

7 years agopopulate the kernel/context directory
Martin Quinson [Mon, 1 Aug 2016 10:38:59 +0000 (12:38 +0200)]
populate the kernel/context directory

7 years agoRename smx_process to ActorImpl
Martin Quinson [Mon, 1 Aug 2016 09:28:40 +0000 (11:28 +0200)]
Rename smx_process to ActorImpl

7 years agocosmetics
Martin Quinson [Mon, 1 Aug 2016 09:06:02 +0000 (11:06 +0200)]
cosmetics

7 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 1 Aug 2016 08:45:28 +0000 (10:45 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

7 years agofix problem 20636 on gforge
Martin Quinson [Mon, 1 Aug 2016 08:41:15 +0000 (10:41 +0200)]
fix problem 20636 on gforge

- When a permanent receiver was set, the comm->mailbox was copied from
  the other comm
- But this is a marker of the which mailbox I'm enrolled into.
- So if I'm not pushed into a mailbox queue, then my mailbox field
  must remain clear.

- This problem was probably added during one of the recent
  objectification battle.
- It remained undiscovered so far because it seems to appear only when
  a second task is added to a permanent_receive mailbox.

This is at least my understanding of the problem, I'm not 100% sure.

7 years agocatch some bugs and smells
Frederic Suter [Mon, 1 Aug 2016 08:20:40 +0000 (10:20 +0200)]
catch some bugs and smells

7 years agothis header file is installed, so load dependencies correctly
Martin Quinson [Sun, 31 Jul 2016 23:03:33 +0000 (01:03 +0200)]
this header file is installed, so load dependencies correctly

7 years agocosmetics
Martin Quinson [Sun, 31 Jul 2016 22:16:35 +0000 (00:16 +0200)]
cosmetics

7 years agokill 3 more functions around processes
Martin Quinson [Sun, 31 Jul 2016 22:04:39 +0000 (00:04 +0200)]
kill 3 more functions around processes

- simcall_process_get_PID, simcall_process_get_PPID, SIMIX_process_get_PPID
- SIMIX_process_get_PID() is still mandatory to the C parts of SMPI

7 years agofix java builds
Martin Quinson [Sun, 31 Jul 2016 21:40:15 +0000 (23:40 +0200)]
fix java builds

7 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

7 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

7 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

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

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

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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

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

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

7 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

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

7 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

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

7 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

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

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

7 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

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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

7 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

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

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