Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
3 years agotry to remove remaining blockers
Frederic Suter [Thu, 11 Aug 2016 08:18:27 +0000 (10:18 +0200)]
try to remove remaining blockers

3 years agosimplify!
Frederic Suter [Thu, 11 Aug 2016 07:40:29 +0000 (09:40 +0200)]
simplify!

3 years agorework this test
Frederic Suter [Thu, 11 Aug 2016 07:22:02 +0000 (09:22 +0200)]
rework this test

3 years agorm useless type declarations
Frederic Suter [Thu, 11 Aug 2016 07:17:52 +0000 (09:17 +0200)]
rm useless type declarations

3 years agofix some introduced smells
Frederic Suter [Thu, 11 Aug 2016 07:17:34 +0000 (09:17 +0200)]
fix some introduced smells

3 years agoMC request_enabled: add documentation and an explosive support for semaphores and...
Martin Quinson [Thu, 11 Aug 2016 00:37:13 +0000 (02:37 +0200)]
MC request_enabled: add documentation and an explosive support for semaphores and condvars

3 years agokill the half backen setAffinity feature
Martin Quinson [Wed, 10 Aug 2016 23:41:59 +0000 (01:41 +0200)]
kill the half backen setAffinity feature

3 years agoaccount for a file renaming in this script
Martin Quinson [Wed, 10 Aug 2016 22:56:19 +0000 (00:56 +0200)]
account for a file renaming in this script

3 years agorework the community documentation section
Martin Quinson [Wed, 10 Aug 2016 22:47:48 +0000 (00:47 +0200)]
rework the community documentation section

don't ask why I worked on that page even if it's probably not the most
important.

But please come and improve that page. I don't like what I've written,
it's too hollow and pompous.

We french people are too cynical to build communities in the right way :(

3 years agofix doxygen markup
Martin Quinson [Wed, 10 Aug 2016 22:42:33 +0000 (00:42 +0200)]
fix doxygen markup

3 years agonew doc: how to model multicores
Martin Quinson [Wed, 10 Aug 2016 17:56:21 +0000 (19:56 +0200)]
new doc: how to model multicores

3 years agoremove a useless C -> C++ function
Martin Quinson [Wed, 10 Aug 2016 17:29:21 +0000 (19:29 +0200)]
remove a useless C -> C++ function

3 years agonew doc: how to model hosts shutdown
Martin Quinson [Wed, 10 Aug 2016 17:29:09 +0000 (19:29 +0200)]
new doc: how to model hosts shutdown

3 years agosimplify chord a bit (what a mess)
Frederic Suter [Wed, 10 Aug 2016 13:36:42 +0000 (15:36 +0200)]
simplify chord a bit (what a mess)

3 years agoplease sonar
Frederic Suter [Wed, 10 Aug 2016 13:36:31 +0000 (15:36 +0200)]
please sonar

3 years agobug smell indent
Frederic Suter [Wed, 10 Aug 2016 11:17:49 +0000 (13:17 +0200)]
bug smell indent

3 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 9 Aug 2016 21:56:09 +0000 (23:56 +0200)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

3 years agocompile a piece of xbt with g++ to remove a useless function
Martin Quinson [Tue, 9 Aug 2016 20:51:18 +0000 (22:51 +0200)]
compile a piece of xbt with g++ to remove a useless function

and please my ol' pal, sonar

3 years agouse C++11 default implem to please sonar
Martin Quinson [Tue, 9 Aug 2016 20:47:58 +0000 (22:47 +0200)]
use C++11 default implem to please sonar

3 years agodynar to std::vector
Frederic Suter [Tue, 9 Aug 2016 15:01:49 +0000 (17:01 +0200)]
dynar to std::vector

3 years agokill a stupid header file that does not even compile
Martin Quinson [Tue, 9 Aug 2016 14:53:24 +0000 (16:53 +0200)]
kill a stupid header file that does not even compile

3 years agofix make distcheck. As usual
Martin Quinson [Tue, 9 Aug 2016 13:15:03 +0000 (15:15 +0200)]
fix make distcheck. As usual

3 years agovery little doc improvement
Martin Quinson [Tue, 9 Aug 2016 13:02:53 +0000 (15:02 +0200)]
very little doc improvement

3 years agoThis stupid windows wants to shield me from myself. Go away
Martin Quinson [Tue, 9 Aug 2016 13:02:27 +0000 (15:02 +0200)]
This stupid windows wants to shield me from myself. Go away

3 years agokill an obsolete file
Martin Quinson [Mon, 8 Aug 2016 21:29:23 +0000 (23:29 +0200)]
kill an obsolete file

The doxygen doc points to the header which is more sensible to see
what's actually implemented. At least ot does not fade out as fast as
a README file that didn't got updated in 6 years.

3 years agoprevent stings to be destroyed (dumb me)
Frederic Suter [Tue, 9 Aug 2016 11:49:38 +0000 (13:49 +0200)]
prevent stings to be destroyed (dumb me)

3 years agomaybe long double solve the issue
Frederic Suter [Tue, 9 Aug 2016 11:14:42 +0000 (13:14 +0200)]
maybe long double solve the issue

3 years agouse C++ version of simulate
Frederic Suter [Tue, 9 Aug 2016 10:04:26 +0000 (12:04 +0200)]
use C++ version of simulate
cannot check task equality anymore

3 years agofix build
Frederic Suter [Tue, 9 Aug 2016 10:04:19 +0000 (12:04 +0200)]
fix build

3 years agoremove useless includes
Frederic Suter [Tue, 9 Aug 2016 10:03:33 +0000 (12:03 +0200)]
remove useless includes

3 years agofix distcheck (courtesy to emptty;))
Frederic Suter [Tue, 9 Aug 2016 09:24:00 +0000 (11:24 +0200)]
fix distcheck (courtesy to emptty;))

3 years agoC++ify part of simdag
Frederic Suter [Tue, 9 Aug 2016 09:16:59 +0000 (11:16 +0200)]
C++ify part of simdag

3 years agoplease sonar
Frederic Suter [Tue, 9 Aug 2016 07:51:28 +0000 (09:51 +0200)]
please sonar

3 years agouniformization of the conversion of task state to string
Frederic Suter [Tue, 9 Aug 2016 07:46:48 +0000 (09:46 +0200)]
uniformization of the conversion of task state to string

3 years agoremove some pointer functions. We should go for C++ instead
Martin Quinson [Mon, 8 Aug 2016 18:55:32 +0000 (20:55 +0200)]
remove some pointer functions. We should go for C++ instead

3 years agoplease sonar using C++11 constructs
Martin Quinson [Mon, 8 Aug 2016 11:57:14 +0000 (13:57 +0200)]
please sonar using C++11 constructs

3 years agothis issue disapeared with years
Martin Quinson [Mon, 8 Aug 2016 10:53:12 +0000 (12:53 +0200)]
this issue disapeared with years

3 years agorename smx_synchro_t to smx_activity_t
Martin Quinson [Sun, 7 Aug 2016 22:14:05 +0000 (00:14 +0200)]
rename smx_synchro_t to smx_activity_t

3 years agochange the cluster platform so that smpirun handles it
Martin Quinson [Sun, 7 Aug 2016 20:57:27 +0000 (22:57 +0200)]
change the cluster platform so that smpirun handles it

3 years agouse C++11 for clarity (and please sonar)
Martin Quinson [Sun, 7 Aug 2016 20:05:55 +0000 (22:05 +0200)]
use C++11 for clarity (and please sonar)

3 years agokill obsolete code
Martin Quinson [Sun, 7 Aug 2016 18:29:02 +0000 (20:29 +0200)]
kill obsolete code

This seems to be an attempt to get windows running our library
constructors, that are used to create the structures such as log
channels before the main kicks in.

3 years agodon't connect this log channel as it breaks on windows
Martin Quinson [Sun, 7 Aug 2016 18:18:41 +0000 (20:18 +0200)]
don't connect this log channel as it breaks on windows

3 years agoRename kernel::activity::Synchro into kernel::activity::ActivityImpl
Martin Quinson [Sun, 7 Aug 2016 16:52:22 +0000 (18:52 +0200)]
Rename kernel::activity::Synchro into kernel::activity::ActivityImpl

3 years agofurther improve the doc of s4u::Mutex
Martin Quinson [Sun, 7 Aug 2016 16:35:56 +0000 (18:35 +0200)]
further improve the doc of s4u::Mutex

3 years agoimprove the s4u_mutex example
Martin Quinson [Sun, 7 Aug 2016 16:09:03 +0000 (18:09 +0200)]
improve the s4u_mutex example

3 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

3 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

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

3 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

3 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

3 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

3 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

3 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

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

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

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

3 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

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

3 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

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

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

3 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

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

3 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

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

3 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

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

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

3 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

3 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

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

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

3 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

3 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

3 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

3 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

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

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

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

3 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

3 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

3 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

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

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

3 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

3 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

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

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

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

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

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

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

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

3 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

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

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

3 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

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

3 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

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