Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
23 months agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Mon, 8 Jan 2018 16:46:43 +0000 (17:46 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

23 months agoImprove the doc of MSG_task_*_bounded
Martin Quinson [Mon, 8 Jan 2018 15:16:01 +0000 (16:16 +0100)]
Improve the doc of MSG_task_*_bounded

23 months agosolverstack actually lives on gitlab
Martin Quinson [Mon, 8 Jan 2018 14:21:08 +0000 (15:21 +0100)]
solverstack actually lives on gitlab

23 months agoinstall: small improvements
Martin Quinson [Mon, 8 Jan 2018 10:26:20 +0000 (11:26 +0100)]
install: small improvements

23 months agoShutdown Engine first, and fix double-free errors.
Arnaud Giersch [Thu, 28 Dec 2017 17:38:36 +0000 (18:38 +0100)]
Shutdown Engine first, and fix double-free errors.

23 months agoUse new/delete and remove useless cast.
Arnaud Giersch [Wed, 27 Dec 2017 17:24:34 +0000 (18:24 +0100)]
Use new/delete and remove useless cast.

23 months agoReturn 1.0 if the task has not started.
Arnaud Giersch [Tue, 26 Dec 2017 20:59:37 +0000 (21:59 +0100)]
Return 1.0 if the task has not started.

23 months agoMake messages match the code.
Arnaud Giersch [Tue, 26 Dec 2017 21:17:57 +0000 (22:17 +0100)]
Make messages match the code.

23 months agoDead assignments.
Arnaud Giersch [Tue, 26 Dec 2017 21:16:47 +0000 (22:16 +0100)]
Dead assignments.

23 months agoGet the same result with a shorter command.
Arnaud Giersch [Tue, 26 Dec 2017 17:06:45 +0000 (18:06 +0100)]
Get the same result with a shorter command.

23 months agoAdd .mailmap, to improve git shortlog's output.
Arnaud Giersch [Tue, 26 Dec 2017 16:45:39 +0000 (17:45 +0100)]
Add .mailmap, to improve git shortlog's output.

23 months agoTypo + kill trailing whitespaces.
Arnaud Giersch [Tue, 26 Dec 2017 10:42:27 +0000 (11:42 +0100)]
Typo + kill trailing whitespaces.

23 months agosmpi doesn't know void anymore
Frederic Suter [Wed, 27 Dec 2017 00:08:34 +0000 (01:08 +0100)]
smpi doesn't know void anymore

23 months agoremove includes of datatypes.h
Frederic Suter [Wed, 27 Dec 2017 00:02:47 +0000 (01:02 +0100)]
remove includes of datatypes.h

23 months agoget rid of the vm_params struct
Frederic Suter [Tue, 26 Dec 2017 23:29:25 +0000 (00:29 +0100)]
get rid of the vm_params struct
this migration related stuff is now part of the plugin (which grows)
the set/get parameters for VM have thus been removed

some examples have been simplified in the process has they created VM
with useless parameters (no migration)

23 months agoimplement s4u::Comm::test_any() (fix #194)
Martin Quinson [Tue, 26 Dec 2017 23:22:32 +0000 (00:22 +0100)]
implement s4u::Comm::test_any()   (fix #194)

It's not tested, sorry @henricasanova.

23 months agomove the host list into the Engine
Martin Quinson [Tue, 26 Dec 2017 23:05:42 +0000 (00:05 +0100)]
move the host list into the Engine

23 months agoimprove the doc of SMPI privatization (fix #137)
Martin Quinson [Tue, 26 Dec 2017 22:06:06 +0000 (23:06 +0100)]
improve the doc of SMPI privatization (fix #137)

I just kept the bug open for reference until it got correctly
documented, and it's done now. I admit, the full feature solution is
not implemented, but the current one is good enough, and the doc links
to #137 for future reference.

23 months agofix #245: migrating an actor does not migrate its execution
Martin Quinson [Tue, 26 Dec 2017 21:26:15 +0000 (22:26 +0100)]
fix #245: migrating an actor does not migrate its execution

Before, the migration was only taking place when the actor got awaken
after an activity. Now, it takes place right away, and if it's
blocking on an execution, the activity is also migrated. If it's another
kind of activity, then an error is raised as this is not implemented
yet.

Also rewrite the s4u-actor-migrate example to be less funny but more
informative, and to test that feature.

(fix #245)

23 months agoadd Exec::setBound (and what lies beneath)
Frederic Suter [Tue, 26 Dec 2017 20:43:56 +0000 (21:43 +0100)]
add Exec::setBound (and what lies beneath)
also to convert the cloud-capping test (rather than example)
move the MSG to the dungeon

23 months agoallow to call s4u::Exec->setHost() after its start, to migrate it
Martin Quinson [Tue, 26 Dec 2017 16:49:37 +0000 (17:49 +0100)]
allow to call s4u::Exec->setHost() after its start, to migrate it

23 months agomove MutexImpl to the right namespace
Martin Quinson [Tue, 26 Dec 2017 14:22:24 +0000 (15:22 +0100)]
move MutexImpl to the right namespace

23 months agomove MutexImpl to the expected location
Martin Quinson [Tue, 26 Dec 2017 10:44:38 +0000 (11:44 +0100)]
move MutexImpl to the expected location

23 months agosplit MutexImpl into their own files
Martin Quinson [Tue, 26 Dec 2017 10:36:19 +0000 (11:36 +0100)]
split MutexImpl into their own files

23 months agocosmetics
Martin Quinson [Mon, 25 Dec 2017 17:54:23 +0000 (18:54 +0100)]
cosmetics

23 months agoimprove the doc of the release process
Martin Quinson [Mon, 25 Dec 2017 17:54:14 +0000 (18:54 +0100)]
improve the doc of the release process

23 months agoinitiate the 3.19 release cycle
Martin Quinson [Mon, 25 Dec 2017 17:53:32 +0000 (18:53 +0100)]
initiate the 3.19 release cycle

23 months agoallow zero-cost migration (a.k.a. setPm)
Frederic Suter [Tue, 26 Dec 2017 09:57:08 +0000 (10:57 +0100)]
allow zero-cost migration (a.k.a. setPm)

remove assert in suspend related to migration to be able to use it
during the migration (was a crappy hack before). This implies that we
assume that migration is a blocking operation (which is it) and that
nobody will try to let another process do a suspend.

23 months agovm_migrate is now part of the live_migration plugin \o/
Frederic Suter [Tue, 26 Dec 2017 09:23:47 +0000 (10:23 +0100)]
vm_migrate is now part of the live_migration plugin \o/

there are still some cleanups to do to complete the plugin
 - is_migrating in VirtualMachineImpl and related functions
 - the vm_params_t are only used by the migration
 - some factoring in VmLiveMigration.hpp
 - See if the final ack can be spared
 - check valgrind and sonar feedback

23 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 25 Dec 2017 19:55:10 +0000 (20:55 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

23 months agothis is still unimplemented, but please sonar
Augustin Degomme [Mon, 25 Dec 2017 18:54:31 +0000 (19:54 +0100)]
this is still unimplemented, but please sonar

23 months agorelease v3.18 v3.18
Martin Quinson [Sun, 24 Dec 2017 17:07:14 +0000 (18:07 +0100)]
release v3.18

23 months agoimprove doc
Martin Quinson [Sun, 24 Dec 2017 16:56:45 +0000 (17:56 +0100)]
improve doc

23 months agotry to fix Apple privatization after recent default change
Martin Quinson [Sun, 24 Dec 2017 16:04:09 +0000 (17:04 +0100)]
try to fix Apple privatization after recent default change

23 months agodefault privatization when not using SMPI should be 'no' :)
Martin Quinson [Sun, 24 Dec 2017 14:02:55 +0000 (15:02 +0100)]
default privatization when not using SMPI should be 'no' :)

23 months agofix some borken links in doxygen
Martin Quinson [Sun, 24 Dec 2017 08:50:12 +0000 (09:50 +0100)]
fix some borken links in doxygen

23 months agofix some doxygen warnings
Martin Quinson [Sat, 23 Dec 2017 09:45:21 +0000 (10:45 +0100)]
fix some doxygen warnings

23 months agodeprecate MSG in the documentation
Martin Quinson [Sat, 23 Dec 2017 08:02:51 +0000 (09:02 +0100)]
deprecate MSG in the documentation

23 months agooops, too early
Augustin Degomme [Fri, 22 Dec 2017 04:30:30 +0000 (05:30 +0100)]
oops, too early

23 months agoput back the fix for broken dlopen+thread on freebsd
Augustin Degomme [Fri, 22 Dec 2017 04:22:31 +0000 (05:22 +0100)]
put back the fix for broken dlopen+thread on freebsd

23 months agofix the fallbacks around privatization on BSD
Martin Quinson [Thu, 21 Dec 2017 20:22:57 +0000 (21:22 +0100)]
fix the fallbacks around privatization on BSD

23 months agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 21 Dec 2017 08:32:48 +0000 (09:32 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

23 months agodocument augustin's changes
Martin Quinson [Thu, 21 Dec 2017 07:14:34 +0000 (08:14 +0100)]
document augustin's changes

23 months agoimprove the doc of the SMPI module
Martin Quinson [Wed, 20 Dec 2017 22:45:42 +0000 (23:45 +0100)]
improve the doc of the SMPI module

23 months agooops, this should be yes (it's the same, but it makes more sense)
Augustin Degomme [Thu, 21 Dec 2017 01:04:35 +0000 (02:04 +0100)]
oops, this should be yes (it's the same, but it makes more sense)

23 months agoSMPI: make dlopen default privatization method, and activate it by default
Augustin Degomme [Thu, 21 Dec 2017 01:02:14 +0000 (02:02 +0100)]
SMPI: make dlopen default privatization method, and activate it by default

23 months agojust reordering functions in file
Frederic Suter [Wed, 20 Dec 2017 08:37:14 +0000 (09:37 +0100)]
just reordering functions in file

23 months agosonar: remove redundent declarations
Martin Quinson [Tue, 19 Dec 2017 20:05:43 +0000 (21:05 +0100)]
sonar: remove redundent declarations

23 months 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

23 months 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

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

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

23 months 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

23 months 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

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

23 months 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();

23 months 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

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

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

23 months 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

23 months 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

23 months 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

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

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

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

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

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

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

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

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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

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

23 months 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

23 months 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

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

23 months 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

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

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

23 months 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

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

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

23 months 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

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

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

2 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

2 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

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

2 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]

2 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

2 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

2 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

2 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

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

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