Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
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.

6 years agoUpdate ChangeLog.
Arnaud Giersch [Thu, 7 Dec 2017 22:53:09 +0000 (23:53 +0100)]
Update ChangeLog.

6 years agoRename simgrid::kernel::lmm::lmm_set_default_protocol_function -> set_default_protoco...
Arnaud Giersch [Thu, 7 Dec 2017 21:46:28 +0000 (22:46 +0100)]
Rename simgrid::kernel::lmm::lmm_set_default_protocol_function -> set_default_protocol_function.

6 years agoRename simgrid::kernel::lmm::s_lmm_system_t -> System.
Arnaud Giersch [Thu, 7 Dec 2017 21:21:47 +0000 (22:21 +0100)]
Rename simgrid::kernel::lmm::s_lmm_system_t -> System.

6 years agoRename simgrid::kernel::lmm::s_lmm_element_t -> Element.
Arnaud Giersch [Thu, 7 Dec 2017 21:11:52 +0000 (22:11 +0100)]
Rename simgrid::kernel::lmm::s_lmm_element_t -> Element.

6 years agoRename simgrid::kernel::lmm::s_lmm_constraint_t -> Constraint.
Arnaud Giersch [Thu, 7 Dec 2017 21:06:18 +0000 (22:06 +0100)]
Rename simgrid::kernel::lmm::s_lmm_constraint_t -> Constraint.

6 years agoRename simgrid::kernel::lmm::s_lmm_variable_t -> Variable.
Arnaud Giersch [Thu, 7 Dec 2017 20:59:25 +0000 (21:59 +0100)]
Rename simgrid::kernel::lmm::s_lmm_variable_t -> Variable.

6 years agoAnother "explicit" forgotten with previous commits.
Arnaud Giersch [Thu, 7 Dec 2017 20:03:32 +0000 (21:03 +0100)]
Another "explicit" forgotten with previous commits.

6 years agoRename variable hiding class field.
Arnaud Giersch [Thu, 7 Dec 2017 16:08:17 +0000 (17:08 +0100)]
Rename variable hiding class field.

6 years agoAdd explicit keyword to simgrid::mc::RemotePtr constructor.
Arnaud Giersch [Thu, 7 Dec 2017 15:35:14 +0000 (16:35 +0100)]
Add explicit keyword to simgrid::mc::RemotePtr constructor.

6 years agoAdd explicit keyword to simgrid::kernel::Future constructor.
Arnaud Giersch [Thu, 7 Dec 2017 15:01:26 +0000 (16:01 +0100)]
Add explicit keyword to simgrid::kernel::Future constructor.

6 years agoAdd explicit keyword to simgrid::xbt::Task constructor.
Arnaud Giersch [Thu, 7 Dec 2017 14:11:00 +0000 (15:11 +0100)]
Add explicit keyword to simgrid::xbt::Task constructor.

6 years agoAdd explicit keyword to one-parameter constructors.
Arnaud Giersch [Thu, 7 Dec 2017 08:21:14 +0000 (09:21 +0100)]
Add explicit keyword to one-parameter constructors.

Easy part: no additional change needed.

6 years agodon't lie to users, don't ignore parameters
Martin Quinson [Thu, 7 Dec 2017 14:10:51 +0000 (15:10 +0100)]
don't lie to users, don't ignore parameters

6 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 7 Dec 2017 14:09:43 +0000 (15:09 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

6 years agorework the example to get rid of the deployment file
Frederic Suter [Thu, 7 Dec 2017 10:57:10 +0000 (11:57 +0100)]
rework the example to get rid of the deployment file

6 years agooops. Clang bit me
Frederic Suter [Thu, 7 Dec 2017 10:24:59 +0000 (11:24 +0100)]
oops. Clang bit me

6 years agopopulate Exec a bit more
Frederic Suter [Thu, 7 Dec 2017 10:08:30 +0000 (11:08 +0100)]
populate Exec a bit more
add the setPriority() method and test it with the conversion of
task-priority MSG example

a check would be appreciated because I find this working as easily as
it does a bit weird

Also add an untested test() method

6 years agosmall doc improvement (hopefuly)
Martin Quinson [Wed, 6 Dec 2017 21:45:31 +0000 (22:45 +0100)]
small doc improvement (hopefuly)

6 years agoAttempt to fix leaks in msg-host_on_off_processes.
Arnaud Giersch [Wed, 6 Dec 2017 13:53:46 +0000 (14:53 +0100)]
Attempt to fix leaks in msg-host_on_off_processes.

6 years agoRemove empty statement.
Arnaud Giersch [Wed, 6 Dec 2017 13:35:25 +0000 (14:35 +0100)]
Remove empty statement.

6 years agoRun test in binary dir.
Arnaud Giersch [Wed, 20 Sep 2017 19:32:57 +0000 (21:32 +0200)]
Run test in binary dir.

6 years agoRevert "vm->destroy is not at kernel level ..."
Frederic Suter [Wed, 6 Dec 2017 15:13:32 +0000 (16:13 +0100)]
Revert "vm->destroy is not at kernel level ..."

This reverts commit 1fcf838d99683d6752a603216d5d3640274e866b.

6 years agovm->destroy is not at kernel level ...
Frederic Suter [Wed, 6 Dec 2017 14:22:26 +0000 (15:22 +0100)]
vm->destroy is not at kernel level ...

6 years agothis is a bool
Frederic Suter [Wed, 6 Dec 2017 13:57:44 +0000 (14:57 +0100)]
this is a bool

6 years agohide pimpl a bit in the high level API
Frederic Suter [Wed, 6 Dec 2017 13:42:19 +0000 (14:42 +0100)]
hide pimpl a bit in the high level API

6 years agoremove the skip_stage parameters from VM params
Frederic Suter [Wed, 6 Dec 2017 13:04:44 +0000 (14:04 +0100)]
remove the skip_stage parameters from VM params
the current migration algorithm has to do the 3 stages dy default, let
assume that. Alternative migration algorithm should be added to the
plugin and the current one moved there too.

6 years agoplease clang
Martin Quinson [Wed, 6 Dec 2017 12:34:46 +0000 (13:34 +0100)]
please clang

6 years agoremove unused devsize and use only size_t for sizes
Frederic Suter [Wed, 6 Dec 2017 12:18:18 +0000 (13:18 +0100)]
remove unused devsize and use only size_t for sizes

6 years agofirst step towards asynchronous executions
Frederic Suter [Wed, 6 Dec 2017 12:02:31 +0000 (13:02 +0100)]
first step towards asynchronous executions
comes with an example (conversion of cloud-two-tasks with a better name)

6 years agoisolate VM migration parameters from others
Frederic Suter [Wed, 6 Dec 2017 11:23:29 +0000 (12:23 +0100)]
isolate VM migration parameters from others
- overcommit is in VMHostExt
- ncpus is the pimpl coreAmount
- ramsize is added to the pimpl with get/set methods at different levels

Remarks:
 - MSG_vm_(get/set)_params are no longer used
 - the vm_params_t structure should (IMHO) become an extension
   decicated to migration in the plugin

6 years agoplug leak (unlink does not delete)
Frederic Suter [Wed, 6 Dec 2017 09:10:09 +0000 (10:10 +0100)]
plug leak (unlink does not delete)

6 years agoRemove unused code in xbt_graph.
Arnaud Giersch [Tue, 5 Dec 2017 22:45:21 +0000 (23:45 +0100)]
Remove unused code in xbt_graph.

6 years agoMove default case at the end of the switch.
Arnaud Giersch [Tue, 5 Dec 2017 22:26:25 +0000 (23:26 +0100)]
Move default case at the end of the switch.

6 years agoNo need for reinterpret_cast here.
Arnaud Giersch [Tue, 5 Dec 2017 22:24:12 +0000 (23:24 +0100)]
No need for reinterpret_cast here.

6 years agoMove typedefs where they are used.
Arnaud Giersch [Tue, 5 Dec 2017 22:13:27 +0000 (23:13 +0100)]
Move typedefs where they are used.

6 years agoHide xbt_swag under the hood of mmalloc, its only remaining user.
Arnaud Giersch [Tue, 5 Dec 2017 21:10:57 +0000 (22:10 +0100)]
Hide xbt_swag under the hood of mmalloc, its only remaining user.

Only the functions actually used were kept.

6 years agoAdd dummy instruction to please sonar.
Arnaud Giersch [Tue, 5 Dec 2017 21:22:43 +0000 (22:22 +0100)]
Add dummy instruction to please sonar.

6 years agoUnused variable.
Arnaud Giersch [Tue, 5 Dec 2017 20:17:19 +0000 (21:17 +0100)]
Unused variable.

6 years agoplease sonar and do the same in teshsuite
Frederic Suter [Tue, 5 Dec 2017 17:59:48 +0000 (18:59 +0100)]
please sonar and do the same in teshsuite

6 years agoUpdate doc.
Arnaud Giersch [Tue, 5 Dec 2017 15:41:28 +0000 (16:41 +0100)]
Update doc.

6 years agoRemove last mention of xbt_swag in simix (and reformat).
Arnaud Giersch [Tue, 5 Dec 2017 15:37:13 +0000 (16:37 +0100)]
Remove last mention of xbt_swag in simix (and reformat).

6 years agoConvert simix_global->process_to_destroy to boost::intrusive::list.
Arnaud Giersch [Tue, 5 Dec 2017 15:31:32 +0000 (16:31 +0100)]
Convert simix_global->process_to_destroy to boost::intrusive::list.

That was the last xbt_swag in C++ code. \o/

6 years agoMC: maintain a copy of simix_global->process_to_destroy in a dynar.
Arnaud Giersch [Tue, 5 Dec 2017 13:42:16 +0000 (14:42 +0100)]
MC: maintain a copy of simix_global->process_to_destroy in a dynar.

6 years ago[SMPI] process_data is now declared static
Christian Heinrich [Tue, 5 Dec 2017 16:29:46 +0000 (17:29 +0100)]
[SMPI] process_data is now declared static

It's not used in any other file any more and functions should be
used (if at all) to access it.

6 years ago[SMPI] Don't use external process_data variable. Instead, use a function.
Christian Heinrich [Tue, 5 Dec 2017 16:28:31 +0000 (17:28 +0100)]
[SMPI] Don't use external process_data variable. Instead, use a function.

6 years ago[SMPI] Cosmetics in smpi_comm.cpp
Christian Heinrich [Thu, 9 Nov 2017 12:33:10 +0000 (13:33 +0100)]
[SMPI] Cosmetics in smpi_comm.cpp

6 years agoremove useless stuff
Frederic Suter [Tue, 5 Dec 2017 10:18:21 +0000 (11:18 +0100)]
remove useless stuff

6 years agomove last MSG io example to teshsuite
Frederic Suter [Tue, 5 Dec 2017 09:53:59 +0000 (10:53 +0100)]
move last MSG io example to teshsuite
rename s4u-io to s4u-io-file-system
update doc

6 years agoslightly augment this test (unlink)
Frederic Suter [Tue, 5 Dec 2017 09:35:26 +0000 (10:35 +0100)]
slightly augment this test (unlink)

6 years agoconvert this example too
Frederic Suter [Tue, 5 Dec 2017 08:31:47 +0000 (09:31 +0100)]
convert this example too

6 years agofix another glitch
Frederic Suter [Tue, 5 Dec 2017 08:28:33 +0000 (09:28 +0100)]
fix another glitch

6 years agoallStorages() -> getStorageList(whereTo)
Frederic Suter [Tue, 5 Dec 2017 08:23:52 +0000 (09:23 +0100)]
allStorages() -> getStorageList(whereTo)

6 years agofix this test
Frederic Suter [Tue, 5 Dec 2017 07:55:09 +0000 (08:55 +0100)]
fix this test
 1) print what is actually done in terms of mapping
 2) remove useless call to shutdown as destroy starts by calling
    shutdown

6 years agoplug leak
Frederic Suter [Tue, 5 Dec 2017 07:33:20 +0000 (08:33 +0100)]
plug leak

6 years agoplug leak
Frederic Suter [Tue, 5 Dec 2017 07:30:35 +0000 (08:30 +0100)]
plug leak

6 years agoexample doc++ (noci)
Martin Quinson [Tue, 5 Dec 2017 06:55:48 +0000 (07:55 +0100)]
example doc++ (noci)

6 years agoignore newly created cruft
Martin Quinson [Mon, 4 Dec 2017 23:41:34 +0000 (00:41 +0100)]
ignore newly created cruft

6 years agoremove that example: now a dupplicate of actor-execute
Martin Quinson [Mon, 4 Dec 2017 23:28:13 +0000 (00:28 +0100)]
remove that example: now a dupplicate of actor-execute

6 years agoimprove that example so that it also demonstrates the prioritized executions
Martin Quinson [Mon, 4 Dec 2017 23:25:48 +0000 (00:25 +0100)]
improve that example so that it also demonstrates the prioritized executions

6 years agodoc improvements
Martin Quinson [Mon, 4 Dec 2017 23:12:30 +0000 (00:12 +0100)]
doc improvements

6 years agoAugustin's easy commit.
Arnaud Giersch [Mon, 4 Dec 2017 22:37:01 +0000 (23:37 +0100)]
Augustin's easy commit.

On #simgrid:
<degomme> si qqun veut un commit facile (pas lancé ubuntu) il faut visiblement
          rajouter  --cfg=smpi/simulate-computation:no à chaque commande sur
          le test teshsuite/smpi/pt2pt-dsend  et donc aussi dans l'output du
          tesh  > [0.000000] [xbt_cfg/INFO] Configuration change: Set
          'smpi/simulate-computation' to 'no'

6 years agoConvert simix synchro' sleeping lists to boost::intrusive::list.
Arnaud Giersch [Mon, 4 Dec 2017 22:12:48 +0000 (23:12 +0100)]
Convert simix synchro' sleeping lists to boost::intrusive::list.

The only drawback is that the mutex_sleeping.count is lost in mc_request.cpp,
but it was apparently only informational.

6 years agoFix run of ns3 examples.
Arnaud Giersch [Mon, 4 Dec 2017 22:23:14 +0000 (23:23 +0100)]
Fix run of ns3 examples.

6 years agoSimplify some indirections.
Arnaud Giersch [Mon, 4 Dec 2017 21:30:14 +0000 (22:30 +0100)]
Simplify some indirections.

6 years agoUse simgrid::xbt::intrusive_erase().
Arnaud Giersch [Mon, 4 Dec 2017 21:18:04 +0000 (22:18 +0100)]
Use simgrid::xbt::intrusive_erase().

6 years agoDefine simgrid::xbt::intrusive_erase to remove an element from a boost::instrusive...
Arnaud Giersch [Mon, 4 Dec 2017 20:39:38 +0000 (21:39 +0100)]
Define simgrid::xbt::intrusive_erase to remove an element from a boost::instrusive::list.

6 years agothese examples have been moved
Frederic Suter [Mon, 4 Dec 2017 22:39:32 +0000 (23:39 +0100)]
these examples have been moved

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 4 Dec 2017 22:22:47 +0000 (23:22 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agodamn me!
Frederic Suter [Mon, 4 Dec 2017 22:21:25 +0000 (23:21 +0100)]
damn me!

6 years agosmall doc improvement (noci)
Martin Quinson [Mon, 4 Dec 2017 22:08:05 +0000 (23:08 +0100)]
small doc improvement (noci)

6 years agotwo more examples move to the dungeon
Frederic Suter [Mon, 4 Dec 2017 22:14:54 +0000 (23:14 +0100)]
two more examples move to the dungeon

6 years agoconvert process-join to actor-join
Frederic Suter [Mon, 4 Dec 2017 21:07:00 +0000 (22:07 +0100)]
convert process-join to actor-join

6 years agoanother example to teshsuite move
Frederic Suter [Mon, 4 Dec 2017 20:25:39 +0000 (21:25 +0100)]
another example to teshsuite move

6 years agoplug a memleak
Martin Quinson [Mon, 4 Dec 2017 08:15:03 +0000 (09:15 +0100)]
plug a memleak

6 years agoexample improvement and cosmetics
Martin Quinson [Mon, 4 Dec 2017 07:16:00 +0000 (08:16 +0100)]
example improvement and cosmetics

- wait_all is now defined
- sonar: avoid const_cast
- sonar: Remove the whitespaces before the # character

6 years agosonar: plug a memleak
Martin Quinson [Sun, 3 Dec 2017 22:01:07 +0000 (23:01 +0100)]
sonar: plug a memleak

6 years agoConvert simgrid::simix::Host::process_list to boost::intrusive::list.
Arnaud Giersch [Sat, 2 Dec 2017 20:46:02 +0000 (21:46 +0100)]
Convert simgrid::simix::Host::process_list to boost::intrusive::list.

6 years agoFix comment.
Arnaud Giersch [Sat, 2 Dec 2017 14:11:45 +0000 (15:11 +0100)]
Fix comment.

6 years agoRemove useless include.
Arnaud Giersch [Sat, 2 Dec 2017 14:04:57 +0000 (15:04 +0100)]
Remove useless include.

6 years agoRemove unused swag hookups.
Arnaud Giersch [Sat, 2 Dec 2017 14:03:21 +0000 (15:03 +0100)]
Remove unused swag hookups.

6 years agoreally fix out of tree builds
Martin Quinson [Sun, 3 Dec 2017 19:27:09 +0000 (20:27 +0100)]
really fix out of tree builds

6 years agotesh: be verbose about --cd parameters
Martin Quinson [Sun, 3 Dec 2017 15:31:38 +0000 (16:31 +0100)]
tesh: be verbose about --cd parameters