Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 years agoTry to fix build on appveyor (mingw).
Arnaud Giersch [Mon, 27 Nov 2017 08:52:10 +0000 (09:52 +0100)]
Try to fix build on appveyor (mingw).

2 years agoInitialize fields in initialization list (sonar).
Arnaud Giersch [Mon, 27 Nov 2017 08:46:55 +0000 (09:46 +0100)]
Initialize fields in initialization list (sonar).

2 years agoField is effectively a boolean.
Arnaud Giersch [Mon, 27 Nov 2017 08:34:02 +0000 (09:34 +0100)]
Field is effectively a boolean.

2 years agoFix misleading method name.
Arnaud Giersch [Mon, 27 Nov 2017 08:27:34 +0000 (09:27 +0100)]
Fix misleading method name.

2 years agoRemove unused private method.
Arnaud Giersch [Mon, 27 Nov 2017 08:21:39 +0000 (09:21 +0100)]
Remove unused private method.

2 years agoRename to unhide class field.
Arnaud Giersch [Mon, 27 Nov 2017 08:19:33 +0000 (09:19 +0100)]
Rename to unhide class field.

2 years agoRename variable to not hide classfield.
Arnaud Giersch [Mon, 27 Nov 2017 08:14:59 +0000 (09:14 +0100)]
Rename variable to not hide classfield.

2 years agoMark constructor "explicit".
Arnaud Giersch [Sun, 26 Nov 2017 21:52:03 +0000 (22:52 +0100)]
Mark constructor "explicit".

2 years agoMerge maxmin_private.hpp into maxmin.hpp.
Arnaud Giersch [Sun, 26 Nov 2017 17:08:58 +0000 (18:08 +0100)]
Merge maxmin_private.hpp into maxmin.hpp.

2 years agoSlight move from maxmin.hpp to surf_interface.hpp.
Arnaud Giersch [Thu, 23 Nov 2017 20:57:23 +0000 (21:57 +0100)]
Slight move from maxmin.hpp to surf_interface.hpp.

2 years agoMake s_lmm_variable_t a class with its methods.
Arnaud Giersch [Thu, 23 Nov 2017 10:58:17 +0000 (11:58 +0100)]
Make s_lmm_variable_t a class with its methods.

2 years agoMake s_lmm_element_t a class with its methods.
Arnaud Giersch [Thu, 23 Nov 2017 10:53:12 +0000 (11:53 +0100)]
Make s_lmm_element_t a class with its methods.

2 years agoMake s_lmm_constraint_t a class with its methods.
Arnaud Giersch [Wed, 22 Nov 2017 22:40:09 +0000 (23:40 +0100)]
Make s_lmm_constraint_t a class with its methods.

2 years agoMake s_lmm_system_t a class with its methods.
Arnaud Giersch [Wed, 22 Nov 2017 14:17:50 +0000 (15:17 +0100)]
Make s_lmm_system_t a class with its methods.

2 years agoMerge pull request #241 from barais/master
Martin Quinson [Sat, 25 Nov 2017 16:03:21 +0000 (17:03 +0100)]
Merge pull request #241 from barais/master

explain how to configure eclipse for developping with SimGrid in CPP

2 years agoMerge pull request #246 from danilo-carastan-santos/master
Martin Quinson [Fri, 24 Nov 2017 21:35:32 +0000 (22:35 +0100)]
Merge pull request #246 from danilo-carastan-santos/master

Fixed energy plugin: returning watts_off when host is off

2 years agoRemove second call to lmm_on_disabled_var() which looks like a no-op.
Arnaud Giersch [Fri, 24 Nov 2017 10:08:40 +0000 (11:08 +0100)]
Remove second call to lmm_on_disabled_var() which looks like a no-op.

2 years agoDisable costly assert unless debug logs are activated.
Arnaud Giersch [Fri, 24 Nov 2017 10:00:55 +0000 (11:00 +0100)]
Disable costly assert unless debug logs are activated.

2 years agoKill unused functions.
Arnaud Giersch [Wed, 22 Nov 2017 17:28:17 +0000 (18:28 +0100)]
Kill unused functions.

2 years agoExtern "C" is not needed anymore here.
Arnaud Giersch [Thu, 23 Nov 2017 20:23:54 +0000 (21:23 +0100)]
Extern "C" is not needed anymore here.

2 years agoRemove TODO/question.
Arnaud Giersch [Thu, 23 Nov 2017 21:20:39 +0000 (22:20 +0100)]
Remove TODO/question.

The answer is in the cited commit and the preceding ones.
In short, keep the same order for the modified constraints.

2 years agoDeclare swag as const when possible.
Arnaud Giersch [Thu, 23 Nov 2017 13:42:41 +0000 (14:42 +0100)]
Declare swag as const when possible.

2 years agodelete extension on destruction
Frederic Suter [Thu, 23 Nov 2017 18:05:05 +0000 (19:05 +0100)]
delete extension on destruction

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Thu, 23 Nov 2017 17:19:53 +0000 (18:19 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agofixed energy plugin: getCurrentWattsValue was not returning watts_off when host is off
CARASTAN DOS SANTOS Danilo [Thu, 23 Nov 2017 17:18:28 +0000 (18:18 +0100)]
fixed energy plugin: getCurrentWattsValue was not returning watts_off when host is off

2 years agoMerge branch 'master' into 'master'
Martin QUINSON [Thu, 23 Nov 2017 17:18:19 +0000 (18:18 +0100)]
Merge branch 'master' into 'master'

Explain how to maintain the spack package for simgrid

See merge request simgrid/simgrid!1

2 years agoExplain how to maintain the spack package for simgrid
Lionel ED [Thu, 23 Nov 2017 17:12:26 +0000 (18:12 +0100)]
Explain how to maintain the spack package for simgrid

2 years agothanks clang
Frederic Suter [Thu, 23 Nov 2017 15:21:39 +0000 (16:21 +0100)]
thanks clang

2 years agorevise this test to access storage directly
Frederic Suter [Thu, 23 Nov 2017 15:18:16 +0000 (16:18 +0100)]
revise this test to access storage directly

2 years agopluginify storage contents
Frederic Suter [Thu, 23 Nov 2017 14:14:37 +0000 (15:14 +0100)]
pluginify storage contents

2 years agoimprove the pedagogical interest of that plugin
Martin Quinson [Wed, 22 Nov 2017 16:39:57 +0000 (17:39 +0100)]
improve the pedagogical interest of that plugin

2 years agojava examples have outdated default values
Frederic Suter [Wed, 22 Nov 2017 16:01:45 +0000 (17:01 +0100)]
java examples have outdated default values
Thanks Kevin Piotrkowski for the report

2 years agoin a namespace, no need to prefix
Frederic Suter [Wed, 22 Nov 2017 15:48:30 +0000 (16:48 +0100)]
in a namespace, no need to prefix

2 years agobe consistent in namespaces
Frederic Suter [Wed, 22 Nov 2017 15:47:41 +0000 (16:47 +0100)]
be consistent in namespaces

2 years agoadd image in the doc and explain how to configure eclipse cpp to support cpp11
Olivier Barais [Wed, 22 Nov 2017 14:34:25 +0000 (15:34 +0100)]
add image in the doc and explain how to configure eclipse cpp to support cpp11

2 years agonew
Olivier Barais [Wed, 22 Nov 2017 14:34:13 +0000 (15:34 +0100)]
new

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 22 Nov 2017 10:28:45 +0000 (11:28 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoremove FileImpl \o/
Frederic Suter [Wed, 22 Nov 2017 10:28:23 +0000 (11:28 +0100)]
remove FileImpl \o/

2 years agoUse references, and avoid disturbing expressions like &*it.
Arnaud Giersch [Tue, 21 Nov 2017 20:55:08 +0000 (21:55 +0100)]
Use references, and avoid disturbing expressions like &*it.

Also simplify the affected loops.

2 years agoFix comment.
Arnaud Giersch [Tue, 21 Nov 2017 20:45:57 +0000 (21:45 +0100)]
Fix comment.

2 years agoRemove remaining traces of viva.
Arnaud Giersch [Tue, 21 Nov 2017 20:30:06 +0000 (21:30 +0100)]
Remove remaining traces of viva.

2 years agorename a field for clarity: that's not a signal
Martin Quinson [Wed, 22 Nov 2017 09:26:53 +0000 (10:26 +0100)]
rename a field for clarity: that's not a signal

2 years agofix java cloud test
Frederic Suter [Wed, 22 Nov 2017 06:42:16 +0000 (07:42 +0100)]
fix java cloud test

2 years agoplug leaks
Frederic Suter [Wed, 22 Nov 2017 06:18:30 +0000 (07:18 +0100)]
plug leaks

2 years agosonar: plug a memleak
Martin Quinson [Wed, 22 Nov 2017 01:43:51 +0000 (02:43 +0100)]
sonar: plug a memleak

2 years agoLet java build. One test is still broken but that's already better.
Martin Quinson [Wed, 22 Nov 2017 00:52:39 +0000 (01:52 +0100)]
Let java build. One test is still broken but that's already better.

2 years ago[doc] improve CMake example in setup your project
Millian Poquet [Wed, 22 Nov 2017 01:25:09 +0000 (02:25 +0100)]
[doc] improve CMake example in setup your project

2 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Wed, 22 Nov 2017 00:39:06 +0000 (01:39 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

2 years agodocument latest changes
Martin Quinson [Wed, 22 Nov 2017 00:34:38 +0000 (01:34 +0100)]
document latest changes

2 years agoproperly deprecate MSG_task_get_flops_amount() and stop using it ourselves
Martin Quinson [Wed, 22 Nov 2017 00:25:45 +0000 (01:25 +0100)]
properly deprecate MSG_task_get_flops_amount() and stop using it ourselves

2 years agoFix warnings + refactor
MERCIER Michael [Mon, 13 Nov 2017 13:46:03 +0000 (14:46 +0100)]
Fix warnings + refactor

2 years agoMake codacy happy
MERCIER Michael [Mon, 13 Nov 2017 11:00:04 +0000 (12:00 +0100)]
Make codacy happy

2 years ago[MSG] add MSG_task_get_remaining_work_ratio + test
MERCIER Michael [Thu, 9 Nov 2017 15:26:41 +0000 (16:26 +0100)]
[MSG] add MSG_task_get_remaining_work_ratio + test

Make MSG_task_get_flops_amount returning anly the actual flops amount

Create an other function tu return the remaining amount of work.
F
or more details:
https://github.com/simgrid/simgrid/issues/223

2 years agoadd Process.daemonize to the Java bindings
Frederic Suter [Wed, 22 Nov 2017 00:29:06 +0000 (01:29 +0100)]
add Process.daemonize to the Java bindings

(and call s4u equivalent from MSG directly)

2 years agoMerge pull request #237 from oar-team/upstream
Martin Quinson [Tue, 21 Nov 2017 23:46:58 +0000 (00:46 +0100)]
Merge pull request #237 from oar-team/upstream

 [MSG] add MSG_task_get_remaining_work_ratio + test

2 years agoMerge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
Martin Quinson [Tue, 21 Nov 2017 23:15:16 +0000 (00:15 +0100)]
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid

2 years agofinish the integration of the new link_energy plugin
Martin Quinson [Tue, 21 Nov 2017 22:54:01 +0000 (23:54 +0100)]
finish the integration of the new link_energy plugin

2 years agofurther split File and Storage
Frederic Suter [Tue, 21 Nov 2017 22:55:30 +0000 (23:55 +0100)]
further split File and Storage

2 years agofix smpi test
Frederic Suter [Tue, 21 Nov 2017 20:07:46 +0000 (21:07 +0100)]
fix smpi test

2 years agoupdate doc on viva and remove more stuff
Frederic Suter [Tue, 21 Nov 2017 17:43:30 +0000 (18:43 +0100)]
update doc on viva and remove more stuff

2 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Tue, 21 Nov 2017 17:14:59 +0000 (18:14 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

2 years agoviva is a dead project
Frederic Suter [Tue, 21 Nov 2017 17:13:15 +0000 (18:13 +0100)]
viva is a dead project
remove specific code to generate viva configuration files
remove related options
remove related tests

2 years agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Tue, 21 Nov 2017 16:46:55 +0000 (17:46 +0100)]
Merge remote-tracking branch 'github/master'

2 years agoMake the link_energy plugin actually compile
Martin Quinson [Tue, 21 Nov 2017 15:17:08 +0000 (16:17 +0100)]
Make the link_energy plugin actually compile

2 years agoallow to retrieve the link list from the Engine
Martin Quinson [Tue, 21 Nov 2017 15:15:58 +0000 (16:15 +0100)]
allow to retrieve the link list from the Engine

2 years agoimplement some more getters in surf::Link and s4u::Link
Martin Quinson [Tue, 21 Nov 2017 15:15:22 +0000 (16:15 +0100)]
implement some more getters in surf::Link and s4u::Link

2 years agoUse a std::vector<std::string> for process arguments.
Arnaud Giersch [Tue, 21 Nov 2017 15:02:00 +0000 (16:02 +0100)]
Use a std::vector<std::string> for process arguments.

2 years agouse storage and not name and type in File
Frederic Suter [Tue, 21 Nov 2017 14:57:13 +0000 (15:57 +0100)]
use storage and not name and type in File

2 years agoCosmetics: s/free/xbt_free.
Arnaud Giersch [Tue, 21 Nov 2017 14:08:12 +0000 (15:08 +0100)]
Cosmetics: s/free/xbt_free.

2 years agoSonar: constructors should only call non-overridable methods.
Arnaud Giersch [Tue, 21 Nov 2017 13:50:23 +0000 (14:50 +0100)]
Sonar: constructors should only call non-overridable methods.

2 years agoSimplify loop.
Arnaud Giersch [Tue, 21 Nov 2017 09:34:32 +0000 (10:34 +0100)]
Simplify loop.

2 years agoMerge pull request #238 from barais/master
Martin Quinson [Tue, 21 Nov 2017 01:40:18 +0000 (02:40 +0100)]
Merge pull request #238 from barais/master

remove unused exception in javadocs

2 years agoCorrectly increment xbt_initialized.
Arnaud Giersch [Mon, 20 Nov 2017 14:48:18 +0000 (15:48 +0100)]
Correctly increment xbt_initialized.

2 years agoremove ununsed exception in javadocs
Olivier Barais [Mon, 20 Nov 2017 21:52:54 +0000 (22:52 +0100)]
remove ununsed exception in javadocs

ununsed exception in javadocs create errors when building simgrid with last jdk8

2 years agoFix the doc of S4U: s/process/actor/
Martin Quinson [Mon, 20 Nov 2017 16:44:57 +0000 (17:44 +0100)]
Fix the doc of S4U: s/process/actor/

2 years agofix borken link to ping-pong
Frederic Suter [Mon, 20 Nov 2017 16:11:58 +0000 (17:11 +0100)]
fix borken link to ping-pong

2 years agoSimGrid is getting older and older
Frederic Suter [Mon, 20 Nov 2017 14:48:57 +0000 (15:48 +0100)]
SimGrid is getting older and older

2 years agoDeclare as XBT_PUBLIC.
Arnaud Giersch [Mon, 20 Nov 2017 10:43:17 +0000 (11:43 +0100)]
Declare as XBT_PUBLIC.

2 years agoUse method get() instead of &* for intrusive_ptr.
Arnaud Giersch [Mon, 20 Nov 2017 09:30:09 +0000 (10:30 +0100)]
Use method get() instead of &* for intrusive_ptr.

2 years agoConstify some methods in surf_interface.
Arnaud Giersch [Mon, 20 Nov 2017 09:24:12 +0000 (10:24 +0100)]
Constify some methods in surf_interface.

2 years agoComment some unused parameters.
Arnaud Giersch [Sun, 19 Nov 2017 21:43:32 +0000 (22:43 +0100)]
Comment some unused parameters.

2 years agoStrange that this include line is only missing on appveyor.
Arnaud Giersch [Sun, 19 Nov 2017 20:56:51 +0000 (21:56 +0100)]
Strange that this include line is only missing on appveyor.

2 years agosimplify loops on sets
Frederic Suter [Sun, 19 Nov 2017 19:40:27 +0000 (20:40 +0100)]
simplify loops on sets

according to
https://stackoverflow.com/questions/15433381/performance-of-piter-cont-end-in-for-loop
not precomputing the value of end() can even lead to better performance.

if agreed by the c++ gurus of SimGrid, this change could be applied to
many other places in the code.

2 years agosimplify this example and please sonar
Frederic Suter [Sun, 19 Nov 2017 19:28:26 +0000 (20:28 +0100)]
simplify this example and please sonar
we basically empty the different sets by unref-ing the actions one by
one. a while loop thus seems more adequate

2 years agoFix 32bits builds.
Arnaud Giersch [Sun, 19 Nov 2017 17:03:49 +0000 (18:03 +0100)]
Fix 32bits builds.

2 years agoUse already existing simgrid::xbt::demangle().
Arnaud Giersch [Sun, 19 Nov 2017 15:51:40 +0000 (16:51 +0100)]
Use already existing simgrid::xbt::demangle().

2 years agoUse std::string, new/delete; remove useless new.
Arnaud Giersch [Sun, 19 Nov 2017 09:33:59 +0000 (10:33 +0100)]
Use std::string, new/delete; remove useless new.

2 years agoUse std::string, and new/delete.
Arnaud Giersch [Sat, 18 Nov 2017 21:04:01 +0000 (22:04 +0100)]
Use std::string, and new/delete.

2 years agoNo need to search twice in map.
Arnaud Giersch [Sat, 18 Nov 2017 20:46:54 +0000 (21:46 +0100)]
No need to search twice in map.

2 years agoUse new/delete.
Arnaud Giersch [Sat, 18 Nov 2017 17:14:02 +0000 (18:14 +0100)]
Use new/delete.

2 years agoUse a std::vector<bool>.
Arnaud Giersch [Sat, 18 Nov 2017 17:02:02 +0000 (18:02 +0100)]
Use a std::vector<bool>.

2 years agoReduce code duplication.
Arnaud Giersch [Sat, 18 Nov 2017 13:27:37 +0000 (14:27 +0100)]
Reduce code duplication.

The only difference between Vector and Hvector, and between Indexed and
Hindexed is that stride and block_indices are given in multiples of
old_type->get_extent() in the former case, while it's given in bytes in the
latter case.
Thus, make Vector a subclass of Hvector, and Indexed a subclass of Hindexed.

2 years agoimprove error message
Martin Quinson [Fri, 17 Nov 2017 23:45:51 +0000 (00:45 +0100)]
improve error message

I got trolled by the Red Hat engineers @SC17 because of that stupid mistake :)

2 years agoMove check for MPI_BOTTOM one level up.
Arnaud Giersch [Thu, 16 Nov 2017 08:34:05 +0000 (09:34 +0100)]
Move check for MPI_BOTTOM one level up.

It seems more logical, and I hope that it will silence scan-build about null pointer
dereference.

2 years agoMove file near other smpi include files.
Arnaud Giersch [Thu, 16 Nov 2017 08:20:45 +0000 (09:20 +0100)]
Move file near other smpi include files.

2 years agoFix segfault seen with mpich3-test/perf/nestvec2.
Arnaud Giersch [Wed, 15 Nov 2017 23:14:09 +0000 (00:14 +0100)]
Fix segfault seen with mpich3-test/perf/nestvec2.

2 years agoTest mpich3-perf needs a larger platform.
Arnaud Giersch [Wed, 15 Nov 2017 21:14:01 +0000 (22:14 +0100)]
Test mpich3-perf needs a larger platform.

The last test needs 64 processes.
Use platforms file cluster.xml with auto-generated hostfile.

2 years agoCosmetics: hostfile and machinefile are synonyms.
Arnaud Giersch [Wed, 15 Nov 2017 20:44:14 +0000 (21:44 +0100)]
Cosmetics: hostfile and machinefile are synonyms.

2 years agoUnhide errors from mpich3 tests.
Arnaud Giersch [Wed, 15 Nov 2017 20:41:36 +0000 (21:41 +0100)]
Unhide errors from mpich3 tests.

2 years agoFactorize SMPI_SAMPLE macros.
Arnaud Giersch [Fri, 15 Sep 2017 21:21:19 +0000 (23:21 +0200)]
Factorize SMPI_SAMPLE macros.