Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agoHopefully fix build on appveyor (mingw).
Arnaud Giersch [Thu, 30 Nov 2017 22:05:25 +0000 (23:05 +0100)]
Hopefully fix build on appveyor (mingw).

6 years agoMark known unused parameters.
Arnaud Giersch [Thu, 30 Nov 2017 21:40:00 +0000 (22:40 +0100)]
Mark known unused parameters.

6 years agoUse boost::intrusive::list instead of swags of s_lmm_element_t.
Arnaud Giersch [Thu, 30 Nov 2017 21:05:15 +0000 (22:05 +0100)]
Use boost::intrusive::list instead of swags of s_lmm_element_t.

6 years agoCosmetics.
Arnaud Giersch [Thu, 30 Nov 2017 21:01:51 +0000 (22:01 +0100)]
Cosmetics.

6 years agoUse boost::intrusive::list instead of swags of s_lmm_variable_t.
Arnaud Giersch [Thu, 30 Nov 2017 20:43:14 +0000 (21:43 +0100)]
Use boost::intrusive::list instead of swags of s_lmm_variable_t.

6 years agoUse boost::intrusive::list instead of swags of s_lmm_constraint_t.
Arnaud Giersch [Thu, 30 Nov 2017 17:07:39 +0000 (18:07 +0100)]
Use boost::intrusive::list instead of swags of s_lmm_constraint_t.

6 years agoDon't hide real type behind void*.
Arnaud Giersch [Thu, 30 Nov 2017 16:26:57 +0000 (17:26 +0100)]
Don't hide real type behind void*.

6 years agoMore const references in lagrange.
Arnaud Giersch [Thu, 30 Nov 2017 16:17:58 +0000 (17:17 +0100)]
More const references in lagrange.

6 years agoUse const reference for parameter 'var' in lagrange's func_f*.
Arnaud Giersch [Thu, 30 Nov 2017 13:47:07 +0000 (14:47 +0100)]
Use const reference for parameter 'var' in lagrange's func_f*.

6 years agoConstification in maxmin.
Arnaud Giersch [Thu, 30 Nov 2017 13:56:11 +0000 (14:56 +0100)]
Constification in maxmin.

6 years agoSimplify logic.
Arnaud Giersch [Wed, 29 Nov 2017 21:26:04 +0000 (22:26 +0100)]
Simplify logic.

6 years agoKill unused swag.
Arnaud Giersch [Wed, 29 Nov 2017 21:10:46 +0000 (22:10 +0100)]
Kill unused swag.

6 years agoavoid some potential variablity in this test
Augustin Degomme [Thu, 30 Nov 2017 21:50:25 +0000 (22:50 +0100)]
avoid some potential variablity in this test

6 years agoAll this started with a simple namespace renaming
Martin Quinson [Thu, 30 Nov 2017 20:26:50 +0000 (21:26 +0100)]
All this started with a simple namespace renaming

to move the lmm related stuff into their own namespace. But one cannot
split a huge namespace such as simgrid::surf without retaliation.

6 years agodon't use is_valid to validate datatypes for replay/ti-tracing
Augustin Degomme [Thu, 30 Nov 2017 19:07:20 +0000 (20:07 +0100)]
don't use is_valid to validate datatypes for replay/ti-tracing

6 years agoadd missing include for std::iota
Frederic Suter [Thu, 30 Nov 2017 17:41:27 +0000 (18:41 +0100)]
add missing include for std::iota

6 years agoattempt to have parallel tasks in s4u.
Frederic Suter [Thu, 30 Nov 2017 16:05:03 +0000 (17:05 +0100)]
attempt to have parallel tasks in s4u.
seems to work as a charm

6 years agoMSG_file_open/close now are in the plugin
Frederic Suter [Thu, 30 Nov 2017 15:08:57 +0000 (16:08 +0100)]
MSG_file_open/close now are in the plugin
as long as the Host extension to handle maximum number of open files

only the remote operation remain outside of the plugin. they imply
some parallel tasks (pushed send) that require a bit of thinking

6 years agoextend the plugin public interface
Frederic Suter [Thu, 30 Nov 2017 13:06:59 +0000 (14:06 +0100)]
extend the plugin public interface
basically move stuff from msg_io to the plugin
update ChangeLog

6 years ago(hopefully) finalize pluginifaction of pseudo file system
Frederic Suter [Thu, 30 Nov 2017 08:45:20 +0000 (09:45 +0100)]
(hopefully) finalize pluginifaction of pseudo file system

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 30 Nov 2017 08:44:51 +0000 (09:44 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agosimplify how we find platf files from teshsuite
Martin Quinson [Wed, 29 Nov 2017 16:07:50 +0000 (17:07 +0100)]
simplify how we find platf files from teshsuite

6 years agofix make dist
Martin Quinson [Wed, 29 Nov 2017 16:11:17 +0000 (17:11 +0100)]
fix make dist

6 years agomove the MSG process-kill example to teshsuite
Martin Quinson [Wed, 29 Nov 2017 15:48:52 +0000 (16:48 +0100)]
move the MSG process-kill example to teshsuite

6 years agoadapt the s4u test to check that killing dead actors also work there
Martin Quinson [Wed, 29 Nov 2017 15:39:08 +0000 (16:39 +0100)]
adapt the s4u test to check that killing dead actors also work there

6 years agofix #248: Kill of finished MSG processes leads to segfault
Martin Quinson [Wed, 29 Nov 2017 15:29:29 +0000 (16:29 +0100)]
fix #248: Kill of finished MSG processes leads to segfault

6 years agoadapt MSG test to test for #248
Martin Quinson [Wed, 29 Nov 2017 15:25:38 +0000 (16:25 +0100)]
adapt MSG test to test for #248

6 years agohave disk size in the extension too
Frederic Suter [Wed, 29 Nov 2017 12:31:47 +0000 (13:31 +0100)]
have disk size in the extension too

6 years agohave getContent in the plugin too
Frederic Suter [Wed, 29 Nov 2017 12:23:30 +0000 (13:23 +0100)]
have getContent in the plugin too

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Wed, 29 Nov 2017 11:48:50 +0000 (12:48 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agomore pluginification of our pseudo file system
Frederic Suter [Wed, 29 Nov 2017 11:44:42 +0000 (12:44 +0100)]
more pluginification of our pseudo file system

still have to handle the getContent method

6 years agoFactorize duplicated code.
Arnaud Giersch [Wed, 29 Nov 2017 10:44:34 +0000 (11:44 +0100)]
Factorize duplicated code.

6 years agoTry to find real path relative to build directory for debug-prefix-map.
Arnaud Giersch [Wed, 29 Nov 2017 10:38:52 +0000 (11:38 +0100)]
Try to find real path relative to build directory for debug-prefix-map.

6 years agoUse message(STATUS ...) in cmake files.
Arnaud Giersch [Wed, 29 Nov 2017 10:38:06 +0000 (11:38 +0100)]
Use message(STATUS ...) in cmake files.

6 years agofix newly introduced issues
Frederic Suter [Wed, 29 Nov 2017 08:49:52 +0000 (09:49 +0100)]
fix newly introduced issues

6 years agoexpose direct I/O on storage in MSG
Frederic Suter [Tue, 28 Nov 2017 09:57:52 +0000 (10:57 +0100)]
expose direct I/O on storage in MSG
modify examples to:
 - illustrate this and only this in io-storage
 - preserve coverage in io-remote

6 years agomove LMM-related stuff to its directory
Martin Quinson [Tue, 28 Nov 2017 08:30:43 +0000 (09:30 +0100)]
move LMM-related stuff to its directory

6 years agoreduce differences between host and link energy plugin
Martin Quinson [Tue, 28 Nov 2017 00:28:09 +0000 (01:28 +0100)]
reduce differences between host and link energy plugin

6 years agosonar: don't throw a copy of catched exceptions
Martin Quinson [Tue, 28 Nov 2017 00:27:42 +0000 (01:27 +0100)]
sonar: don't throw a copy of catched exceptions

6 years agolink energy: inline several callbacks
Martin Quinson [Mon, 27 Nov 2017 23:52:24 +0000 (00:52 +0100)]
link energy: inline several callbacks

6 years agolink energy: obey our naming conventions
Martin Quinson [Mon, 27 Nov 2017 23:42:05 +0000 (00:42 +0100)]
link energy: obey our naming conventions

6 years agolink energy: code simplification
Martin Quinson [Mon, 27 Nov 2017 23:38:53 +0000 (00:38 +0100)]
link energy: code simplification

6 years agoxbt_cond_timedwait: catch C++ timeouts; convert into a C-complient return
Martin Quinson [Mon, 27 Nov 2017 23:23:03 +0000 (00:23 +0100)]
xbt_cond_timedwait: catch C++ timeouts; convert into a C-complient return

(fix #240)

6 years agoreindent (no real change)
Martin Quinson [Mon, 27 Nov 2017 21:10:49 +0000 (22:10 +0100)]
reindent (no real change)

6 years agoplease sonar in the new example
Martin Quinson [Mon, 27 Nov 2017 21:10:26 +0000 (22:10 +0100)]
please sonar in the new example

6 years agofix out of tree builds
Martin Quinson [Mon, 27 Nov 2017 21:01:14 +0000 (22:01 +0100)]
fix out of tree builds

6 years agofix the integration of the new image in the doc
Martin Quinson [Mon, 27 Nov 2017 20:50:11 +0000 (21:50 +0100)]
fix the integration of the new image in the doc

6 years agomove examples/msg/process-yield to teshsuite
Martin Quinson [Mon, 27 Nov 2017 20:28:40 +0000 (21:28 +0100)]
move examples/msg/process-yield to teshsuite

6 years agocosmetics
Martin Quinson [Mon, 27 Nov 2017 20:21:21 +0000 (21:21 +0100)]
cosmetics

6 years agoMerge pull request #244 from Takishipp/actor-yield
Martin Quinson [Mon, 27 Nov 2017 20:10:37 +0000 (21:10 +0100)]
Merge pull request #244 from Takishipp/actor-yield

S4U version of actor-yield example

6 years agoMerge branch 'master' of github.com:simgrid/simgrid
Martin Quinson [Mon, 27 Nov 2017 19:29:27 +0000 (20:29 +0100)]
Merge branch 'master' of github.com:simgrid/simgrid

6 years agojavadoc: fixups by Julien
Martin Quinson [Mon, 27 Nov 2017 17:59:46 +0000 (18:59 +0100)]
javadoc: fixups by Julien

6 years agotesh: try to fix CircleCI builds
Martin Quinson [Mon, 27 Nov 2017 17:54:59 +0000 (18:54 +0100)]
tesh: try to fix CircleCI builds

6 years agoMerge pull request #203 from simgrid/fix/execute_benched
Tom Cornebize [Mon, 27 Nov 2017 17:18:35 +0000 (11:18 -0600)]
Merge pull request #203 from simgrid/fix/execute_benched

Fix smpi_execute_benched.

6 years agofor some reasons, the PID was sometimes not inited correctly in Java
Martin Quinson [Mon, 27 Nov 2017 14:56:28 +0000 (15:56 +0100)]
for some reasons, the PID was sometimes not inited correctly in Java

It is supposed to be inited during actor creation, but I've seen
during the SUD'17 a machine where it remained at -1. So, if the PID is
negative, java will ask again to the C for a fixup. We could have
fixed the problem, but chasing down JNI issues is really hard.

I prefer to play nasty and safe here. Or let's call it the belt and
brace approach instead.

6 years agocomment++
Martin Quinson [Mon, 27 Nov 2017 14:53:56 +0000 (15:53 +0100)]
comment++

6 years agochange the URL to SonarQube, as wished upstream
Martin Quinson [Sun, 26 Nov 2017 19:28:10 +0000 (20:28 +0100)]
change the URL to SonarQube, as wished upstream

6 years agoMerge branch 'master' into fix/execute_benched
Tom Cornebize [Mon, 27 Nov 2017 15:49:33 +0000 (09:49 -0600)]
Merge branch 'master' into fix/execute_benched

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Mon, 27 Nov 2017 12:54:35 +0000 (13:54 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agoplay with lagrange a bit
Frederic Suter [Mon, 27 Nov 2017 12:53:45 +0000 (13:53 +0100)]
play with lagrange a bit

6 years agoPut lmm definitions in namespace simgrid::surf.
Arnaud Giersch [Mon, 27 Nov 2017 09:34:49 +0000 (10:34 +0100)]
Put lmm definitions in namespace simgrid::surf.

6 years agoRename file .h -> .hpp.
Arnaud Giersch [Mon, 27 Nov 2017 08:57:26 +0000 (09:57 +0100)]
Rename file .h -> .hpp.

6 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).

6 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).

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

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

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

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

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

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

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

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

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

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

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

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

6 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

6 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

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

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

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

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

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

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

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

6 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

6 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

6 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

6 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

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

6 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

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

6 years agoMerge branch 'actor-yield' of github.com:Takishipp/simgrid into actor-yield
Takishipp [Thu, 23 Nov 2017 10:00:49 +0000 (11:00 +0100)]
Merge branch 'actor-yield' of github.com:Takishipp/simgrid into actor-yield

6 years agosatisfy travis by removing some useless lines
Takishipp [Thu, 23 Nov 2017 09:59:39 +0000 (10:59 +0100)]
satisfy travis by removing some useless lines

6 years agoMerge branch 'master' into actor-yield
Zitagcc [Thu, 23 Nov 2017 09:27:06 +0000 (10:27 +0100)]
Merge branch 'master' into actor-yield

6 years agoMerge branch 'master' into actor-yield
Zitagcc [Thu, 23 Nov 2017 09:23:55 +0000 (10:23 +0100)]
Merge branch 'master' into actor-yield

6 years agoS4U version of actor-yield example
Takishipp [Thu, 23 Nov 2017 09:19:10 +0000 (10:19 +0100)]
S4U version of actor-yield example

6 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

6 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

6 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