Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agosonar: remove redundent declarations
Martin Quinson [Tue, 19 Dec 2017 20:05:43 +0000 (21:05 +0100)]
sonar: remove redundent declarations

6 years agotracking works better if signals are triggered
Frederic Suter [Tue, 19 Dec 2017 18:06:52 +0000 (19:06 +0100)]
tracking works better if signals are triggered

6 years agosonar: remove a left-over struct
Martin Quinson [Tue, 19 Dec 2017 16:59:22 +0000 (17:59 +0100)]
sonar: remove a left-over struct

6 years agodon't load a private header from s4u/NetZone.hpp
Martin Quinson [Tue, 19 Dec 2017 16:46:22 +0000 (17:46 +0100)]
don't load a private header from s4u/NetZone.hpp

The later is a public header, that our users can load.

6 years agotypos
Martin Quinson [Tue, 19 Dec 2017 08:33:26 +0000 (09:33 +0100)]
typos

6 years agomake ns3 not segfault anymore. Now it timeouts
Martin Quinson [Tue, 19 Dec 2017 08:25:43 +0000 (09:25 +0100)]
make ns3 not segfault anymore. Now it timeouts

6 years agoImprove doc on the privatization methods
Martin Quinson [Mon, 18 Dec 2017 10:53:46 +0000 (11:53 +0100)]
Improve doc on the privatization methods

6 years agoconvert another example to S4U (and document it)
Martin Quinson [Sun, 17 Dec 2017 14:46:22 +0000 (15:46 +0100)]
convert another example to S4U (and document it)

6 years agoevery setter in s4u::Activity return the activity
Martin Quinson [Sat, 16 Dec 2017 13:20:28 +0000 (14:20 +0100)]
every setter in s4u::Activity return the activity

This allows to chain the calls, as in
  simgrid::s4u::this_actor::exec_init(1)->setHost(host)->start()->wait();

6 years agoadd live migration plugin in java.
Frederic Suter [Tue, 19 Dec 2017 00:35:19 +0000 (01:35 +0100)]
add live migration plugin in java.
One test fails, well be checked later
update changelog

6 years agocleanups
Frederic Suter [Tue, 19 Dec 2017 00:00:04 +0000 (01:00 +0100)]
cleanups

6 years agoone step toward a live migration plugin
Frederic Suter [Mon, 18 Dec 2017 23:16:43 +0000 (00:16 +0100)]
one step toward a live migration plugin

have dirty page tracking in a separate plugin (kernel) and stop have
dirty page stuff when VM and Migration are not used.

Indeed, this plugin is only needed if vm have to be migrated live. In
that case, one should:
 1) #include "simgrid/plugins/live_migration.h"
 2) call "MSG/sg_vm_live_migration_plugin_init() right after the
    initialization of the simulation (MSG_init or s4u::Engine)

6 years agoadd some signals
Frederic Suter [Mon, 18 Dec 2017 21:44:28 +0000 (22:44 +0100)]
add some signals
will be needed to handle dirty pages in a plugin
add exec->getHost() too

6 years agomv VM shutdown to the plugin
Frederic Suter [Mon, 18 Dec 2017 08:48:42 +0000 (09:48 +0100)]
mv VM shutdown to the plugin
simplify MSG_vm_destroy

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 18 Dec 2017 07:41:48 +0000 (08:41 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoFix concurrent run of msg-trace-* examples.
Arnaud Giersch [Sun, 17 Dec 2017 21:34:58 +0000 (22:34 +0100)]
Fix concurrent run of msg-trace-* examples.

6 years agoFix lua tests (app-token-ring has moved).
Arnaud Giersch [Sun, 17 Dec 2017 20:57:33 +0000 (21:57 +0100)]
Fix lua tests (app-token-ring has moved).

6 years agoMissing XBT_PUBLIC.
Arnaud Giersch [Tue, 12 Dec 2017 14:26:55 +0000 (15:26 +0100)]
Missing XBT_PUBLIC.

6 years agoslight doc improvment
Martin Quinson [Sat, 16 Dec 2017 00:58:03 +0000 (01:58 +0100)]
slight doc improvment

6 years agodeport three other MSG examples
Martin Quinson [Fri, 15 Dec 2017 22:58:25 +0000 (23:58 +0100)]
deport three other MSG examples

6 years agodocument another s4u example
Martin Quinson [Fri, 15 Dec 2017 22:55:42 +0000 (23:55 +0100)]
document another s4u example

6 years agoborken links in examples
Martin Quinson [Fri, 15 Dec 2017 22:43:00 +0000 (23:43 +0100)]
borken links in examples

6 years agoDocument the exec-ptask example
Martin Quinson [Fri, 15 Dec 2017 08:43:16 +0000 (09:43 +0100)]
Document the exec-ptask example

6 years agokill an ancient file that I'm not particularly proud of, nowadays
Martin Quinson [Fri, 15 Dec 2017 23:31:42 +0000 (00:31 +0100)]
kill an ancient file that I'm not particularly proud of, nowadays

6 years agomove VM setBound to the plugin
Frederic Suter [Fri, 15 Dec 2017 19:37:27 +0000 (20:37 +0100)]
move VM setBound to the plugin

6 years agoThis is not really linked to energy
Martin Quinson [Fri, 15 Dec 2017 08:34:09 +0000 (09:34 +0100)]
This is not really linked to energy

6 years agoadd some missing examples to the doc
Martin Quinson [Fri, 15 Dec 2017 08:16:40 +0000 (09:16 +0100)]
add some missing examples to the doc

6 years agoreorganize the S4U examples in the doc
Martin Quinson [Fri, 15 Dec 2017 07:54:42 +0000 (08:54 +0100)]
reorganize the S4U examples in the doc

6 years agofix some of the many doxygen warnings
Martin Quinson [Thu, 14 Dec 2017 16:19:46 +0000 (17:19 +0100)]
fix some of the many doxygen warnings

6 years agofix some broken links in the doc after the example moves
Martin Quinson [Thu, 14 Dec 2017 16:15:10 +0000 (17:15 +0100)]
fix some broken links in the doc after the example moves

6 years agouse the C++ API here
Martin Quinson [Thu, 14 Dec 2017 16:08:26 +0000 (17:08 +0100)]
use the C++ API here

6 years agothis is actually an example of exec, no link to energy things
Martin Quinson [Thu, 14 Dec 2017 16:05:26 +0000 (17:05 +0100)]
this is actually an example of exec, no link to energy things

6 years agoconvert another example to s4u, and move the MSG version away
Martin Quinson [Thu, 14 Dec 2017 15:33:37 +0000 (16:33 +0100)]
convert another example to s4u, and move the MSG version away

6 years agoadd Host::by_name(char*)
Martin Quinson [Thu, 14 Dec 2017 13:58:12 +0000 (14:58 +0100)]
add Host::by_name(char*)

6 years agoimprove doc for the next version
Martin Quinson [Wed, 13 Dec 2017 22:00:52 +0000 (23:00 +0100)]
improve doc for the next version

6 years agosimpler S4u version of chainsend
Frederic Suter [Thu, 14 Dec 2017 16:27:07 +0000 (17:27 +0100)]
simpler S4u version of chainsend

6 years agosonar: remove unused local variables
Martin Quinson [Tue, 12 Dec 2017 22:34:53 +0000 (23:34 +0100)]
sonar: remove unused local variables

6 years agosonar: this simcall does not need a handler anymore
Martin Quinson [Tue, 12 Dec 2017 22:33:59 +0000 (23:33 +0100)]
sonar: this simcall does not need a handler anymore

6 years agoanother MSG example fades away
Martin Quinson [Tue, 12 Dec 2017 22:11:39 +0000 (23:11 +0100)]
another MSG example fades away

6 years agoplug a memleak and cosmetics
Martin Quinson [Tue, 12 Dec 2017 22:05:54 +0000 (23:05 +0100)]
plug a memleak and cosmetics

6 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Tue, 12 Dec 2017 21:54:28 +0000 (22:54 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

6 years agoimprove documentation a tiny bit
Martin Quinson [Tue, 12 Dec 2017 21:47:07 +0000 (22:47 +0100)]
improve documentation a tiny bit

6 years agoprepare the future release
Martin Quinson [Tue, 12 Dec 2017 21:46:45 +0000 (22:46 +0100)]
prepare the future release

6 years agoMerge pull request #250 from kovin/master
Martin Quinson [Tue, 12 Dec 2017 19:23:31 +0000 (20:23 +0100)]
Merge pull request #250 from kovin/master

Comm.waitAny(comms) is not returning the communication index

6 years agoFix bug in java binding for Comm.waitAny
Kevin Piotrkowski [Tue, 12 Dec 2017 15:06:06 +0000 (12:06 -0300)]
Fix bug in java binding for Comm.waitAny

6 years agoFields are declared in Model, delete them in ~Model.
Arnaud Giersch [Fri, 8 Dec 2017 21:20:40 +0000 (22:20 +0100)]
Fields are declared in Model, delete them in ~Model.

6 years agoFix remaining warnings with mingw.
Arnaud Giersch [Fri, 8 Dec 2017 21:07:19 +0000 (22:07 +0100)]
Fix remaining warnings with mingw.

warning: xxx redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]

6 years agofix MC. Host names always bite me
Frederic Suter [Tue, 12 Dec 2017 10:16:14 +0000 (11:16 +0100)]
fix MC. Host names always bite me

6 years agofinally add this converted test
Frederic Suter [Tue, 12 Dec 2017 08:46:49 +0000 (09:46 +0100)]
finally add this converted test
the S4U version does not include the last subtest on migration:
1) there will be a dedicated example on migration once the migration
code has been ported to S4U
2) This test says it's not implemented
   ## Test 6 (started): Check migration impact (not yet implemented
   neither on the CPU resource nor on the network one

6 years agomv trace-platform from MSG to S4U
Frederic Suter [Mon, 11 Dec 2017 14:41:38 +0000 (15:41 +0100)]
mv trace-platform from MSG to S4U
the MSG version is not kept in the dungeon because:
 - the code does absolutely nothing
 - the tesh comprises a huge Pajé output for G5K

6 years agoadd test() for asynchronous executions
Frederic Suter [Mon, 11 Dec 2017 14:21:11 +0000 (15:21 +0100)]
add test() for asynchronous executions
very inspired by that for comms
and use it in exec-monitor

6 years agoPliz don't have two log channels with the same name
Martin Quinson [Mon, 11 Dec 2017 00:40:29 +0000 (01:40 +0100)]
Pliz don't have two log channels with the same name

This was breaking in a weird way. On Linux, the internal replay
channel was used for both the parameter setting and the use (it
resulted in more things to be shown when setting replay.thres:verb).
On Mac, the parameter setting did not reach the channel usage, and
nothing was shown.

The fact that the linker accepted these two competing definitions of
strong identifiers is weird. According to my teachings, this should
have failed :)

6 years agoimprove doc
Martin Quinson [Mon, 11 Dec 2017 00:31:04 +0000 (01:31 +0100)]
improve doc

6 years agoyet another msg examples thrown away
Martin Quinson [Sun, 10 Dec 2017 21:23:23 +0000 (22:23 +0100)]
yet another msg examples thrown away

6 years agomove another msg example to the dungeon
Martin Quinson [Sun, 10 Dec 2017 20:44:30 +0000 (21:44 +0100)]
move another msg example to the dungeon

6 years agogitignore: deal with recent file movments
Martin Quinson [Sun, 10 Dec 2017 20:26:40 +0000 (21:26 +0100)]
gitignore: deal with recent file movments

6 years agorename the replay example as such
Martin Quinson [Sun, 10 Dec 2017 20:17:10 +0000 (21:17 +0100)]
rename the replay example as such

6 years agodoc improvements
Martin Quinson [Sun, 10 Dec 2017 14:26:45 +0000 (15:26 +0100)]
doc improvements

6 years agosimplification: no need for new/delete here
Martin Quinson [Sun, 10 Dec 2017 08:41:47 +0000 (09:41 +0100)]
simplification: no need for new/delete here

6 years agoTODO--
Martin Quinson [Sat, 9 Dec 2017 23:45:33 +0000 (00:45 +0100)]
TODO--

6 years agos4u::Host->getLoad() returns the achieved speed in flops/s
Martin Quinson [Sat, 9 Dec 2017 23:44:54 +0000 (00:44 +0100)]
s4u::Host->getLoad() returns the achieved speed in flops/s

6 years agomove exec_init and exec_async to the this_actor namespace
Martin Quinson [Sat, 9 Dec 2017 23:24:27 +0000 (00:24 +0100)]
move exec_init and exec_async to the this_actor namespace

6 years agosonar: remove unused parameter
Martin Quinson [Sat, 9 Dec 2017 23:04:26 +0000 (00:04 +0100)]
sonar: remove unused parameter

6 years agoNew test for the remote exec
Martin Quinson [Sat, 9 Dec 2017 21:58:13 +0000 (22:58 +0100)]
New test for the remote exec

6 years agoallow remote exec: s4u::Exec->setHost()
Martin Quinson [Sat, 9 Dec 2017 21:32:59 +0000 (22:32 +0100)]
allow remote exec: s4u::Exec->setHost()

6 years agomove process-join to teshsuite/msg
Martin Quinson [Sat, 9 Dec 2017 20:20:15 +0000 (21:20 +0100)]
move process-join to teshsuite/msg

6 years agodocument asynchronous executions (fix #234)
Martin Quinson [Sat, 9 Dec 2017 20:14:41 +0000 (21:14 +0100)]
document asynchronous executions (fix #234)

6 years agobetter example on monitoring s4u::Exec activities
Martin Quinson [Sat, 9 Dec 2017 20:10:28 +0000 (21:10 +0100)]
better example on monitoring s4u::Exec activities

6 years agoimplement s4u::Exec->getRemainingRatio()
Martin Quinson [Sat, 9 Dec 2017 20:09:33 +0000 (21:09 +0100)]
implement s4u::Exec->getRemainingRatio()

6 years agos4u::Exec->getRemains() should not fail on terminated activities
Martin Quinson [Sat, 9 Dec 2017 20:09:03 +0000 (21:09 +0100)]
s4u::Exec->getRemains() should not fail on terminated activities

6 years agobetter integration of this example
Martin Quinson [Sat, 9 Dec 2017 19:23:21 +0000 (20:23 +0100)]
better integration of this example

6 years agoexplain to the users what's going on here
Martin Quinson [Sat, 9 Dec 2017 19:15:48 +0000 (20:15 +0100)]
explain to the users what's going on here

6 years agoadd the exec-async example to the doc
Martin Quinson [Sat, 9 Dec 2017 17:43:34 +0000 (18:43 +0100)]
add the exec-async example to the doc

6 years agosort examples, improve doc
Martin Quinson [Sat, 9 Dec 2017 17:05:14 +0000 (18:05 +0100)]
sort examples, improve doc

6 years agodoc improvement
Martin Quinson [Sat, 9 Dec 2017 16:34:18 +0000 (17:34 +0100)]
doc improvement

6 years agomore ignore of the buggy output of cmake for circleci
Martin Quinson [Sat, 9 Dec 2017 15:54:53 +0000 (16:54 +0100)]
more ignore of the buggy output of cmake for circleci

The return value is enough to see whether cmake managed to do its work.

6 years agocircleci have a borken install of cmake
Martin Quinson [Sat, 9 Dec 2017 15:24:29 +0000 (16:24 +0100)]
circleci have a borken install of cmake

6 years agoremove a useless 'friend' statement (+cosmetics)
Martin Quinson [Sat, 9 Dec 2017 15:17:34 +0000 (16:17 +0100)]
remove a useless 'friend' statement (+cosmetics)

6 years agoremove a useless assert: valgrind will tell us on need
Martin Quinson [Sat, 9 Dec 2017 15:03:18 +0000 (16:03 +0100)]
remove a useless assert: valgrind will tell us on need

6 years agomark overriden methods as virtual (thx sonar)
Martin Quinson [Sat, 9 Dec 2017 14:36:43 +0000 (15:36 +0100)]
mark overriden methods as virtual (thx sonar)

No idea how it could compile before, without the definition of
Activity::getRemains(), though.

6 years agouse assert instead of throw std:logic_error
Martin Quinson [Sat, 9 Dec 2017 14:33:54 +0000 (15:33 +0100)]
use assert instead of throw std:logic_error

6 years agothis example will never be launched with ECOFEN again
Martin Quinson [Sat, 9 Dec 2017 14:28:47 +0000 (15:28 +0100)]
this example will never be launched with ECOFEN again

6 years agothese files do not exist anymore
Martin Quinson [Sat, 9 Dec 2017 10:28:59 +0000 (11:28 +0100)]
these files do not exist anymore

6 years agosonar: throw static exceptions
Martin Quinson [Sat, 9 Dec 2017 10:27:44 +0000 (11:27 +0100)]
sonar: throw static exceptions

6 years agocosmetics: rename some tests in teshsuite/simix
Martin Quinson [Sat, 9 Dec 2017 09:45:55 +0000 (10:45 +0100)]
cosmetics: rename some tests in teshsuite/simix

6 years agonew signal: s4u::onDeadlock()
Martin Quinson [Sat, 9 Dec 2017 09:29:32 +0000 (10:29 +0100)]
new signal: s4u::onDeadlock()

(fix #239)

6 years agoforgot to document that
Martin Quinson [Fri, 8 Dec 2017 22:56:50 +0000 (23:56 +0100)]
forgot to document that

6 years agoDocument last change. Properly (fix #223)
Martin Quinson [Fri, 8 Dec 2017 22:16:54 +0000 (23:16 +0100)]
Document last change. Properly (fix #223)

6 years agoRemove the now unused MSG_task_get_initial_flops_amount()
Martin Quinson [Fri, 8 Dec 2017 22:16:16 +0000 (23:16 +0100)]
Remove the now unused MSG_task_get_initial_flops_amount()

6 years agostop using MSG_task_get_initial_flops_amount(): it's useless now
Martin Quinson [Fri, 8 Dec 2017 22:08:05 +0000 (23:08 +0100)]
stop using MSG_task_get_initial_flops_amount(): it's useless now

6 years agoimplement ExecImpl::remainingRatio and make sure we never call ExecImpl::remaining...
Martin Quinson [Fri, 8 Dec 2017 21:54:06 +0000 (22:54 +0100)]
implement ExecImpl::remainingRatio and make sure we never call ExecImpl::remaining on seq tasks

6 years agouse MSG_task_get_flops_amount() when we don't want a ratio
Martin Quinson [Fri, 8 Dec 2017 21:25:57 +0000 (22:25 +0100)]
use MSG_task_get_flops_amount() when we don't want a ratio

6 years agoUn-deprecate MSG_task_get_flops_amount() and implement it correctly
Martin Quinson [Fri, 8 Dec 2017 21:16:14 +0000 (22:16 +0100)]
Un-deprecate MSG_task_get_flops_amount() and implement it correctly

The problem that pushed us into deprecating it is that for parallel tasks,
there is no way that this function can return an amount of flops:
the remaining work is a vector, not a scalar.

So for parallel tasks, you can only get a completion ratio.

Our fix was to rename this into MSG_task_get_remaining_work_ratio(),
but that's ... suboptimal because for sequential tasks, this actually
returns a scalar (the amount of flops) and not a ratio...

So this commit is the first one in a serie of three:
- here, we implement the correct MSG_task_get_flops_amount()
- next we will stop using MSG_task_get_remaining_work_ratio() where we
  expected flops and only keep it where we expected a ratio (ie, in
  the recently added example)
- next, we will make sure that MSG_task_get_remaining_work_ratio()
  always returns a completion ratio, even for sequential tasks.
- next, we can remove the MSG_task_get_initial_flops_amount() that was
  added as a first attempt to fix this mess

Stay tuned :)

6 years agomake similarities between CommImpl and ExecImpl more explicit
Martin Quinson [Thu, 7 Dec 2017 23:00:47 +0000 (00:00 +0100)]
make similarities between CommImpl and ExecImpl more explicit

6 years agocode simplification
Martin Quinson [Thu, 7 Dec 2017 22:46:55 +0000 (23:46 +0100)]
code simplification

6 years agochangelog update
Martin Quinson [Thu, 7 Dec 2017 21:59:06 +0000 (22:59 +0100)]
changelog update

6 years agoPlease cppcheck (codacy).
Arnaud Giersch [Fri, 8 Dec 2017 11:15:46 +0000 (12:15 +0100)]
Please cppcheck (codacy).

6 years agoFix another warning.
Arnaud Giersch [Fri, 8 Dec 2017 11:13:20 +0000 (12:13 +0100)]
Fix another warning.

6 years agoFix build errors and warnings with mingw.
Arnaud Giersch [Fri, 8 Dec 2017 10:49:50 +0000 (11:49 +0100)]
Fix build errors and warnings with mingw.

6 years agoTypo.
Arnaud Giersch [Fri, 8 Dec 2017 10:49:18 +0000 (11:49 +0100)]
Typo.