Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
6 years agoadd getProperties to Actor
Frederic Suter [Sat, 2 Dec 2017 18:07:27 +0000 (19:07 +0100)]
add getProperties to Actor
Netzone is public, include it from s4u.hpp

6 years agorename (make more sense like this)
Frederic Suter [Sat, 2 Dec 2017 15:38:53 +0000 (16:38 +0100)]
rename (make more sense like this)

6 years agoconvert io-remote
Frederic Suter [Sat, 2 Dec 2017 15:30:08 +0000 (16:30 +0100)]
convert io-remote

6 years agoyet another conversion+dungeon
Frederic Suter [Sat, 2 Dec 2017 14:10:14 +0000 (15:10 +0100)]
yet another conversion+dungeon

6 years agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Sat, 2 Dec 2017 11:03:15 +0000 (12:03 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agomove MSG async examples to the dungeon
Frederic Suter [Sat, 2 Dec 2017 10:56:40 +0000 (11:56 +0100)]
move MSG async examples to the dungeon

6 years agomove converted MSG process examples to the dungeon
Frederic Suter [Sat, 2 Dec 2017 10:39:47 +0000 (11:39 +0100)]
move converted MSG process examples to the dungeon

6 years agoDon't test features that are impossible to get right
Martin Quinson [Fri, 1 Dec 2017 21:12:56 +0000 (22:12 +0100)]
Don't test features that are impossible to get right

There is no automatic refcounting in C so when a process is killed, we
must free it immediately. We could maybe propose a workaround to allow
the users to increase the refcount themself (as needed for #248), but
it's much easier to convert your code to C++ than getting the manual
refcounting right, I'd say. Sorry...

The fix to #248 leads to invalid accesses detected by valgrind when
applied to C/MSG.

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

6 years agoone more MSG example to go to the dungeon
Frederic Suter [Fri, 1 Dec 2017 17:34:50 +0000 (18:34 +0100)]
one more MSG example to go to the dungeon

6 years agoadd new rma test to the suite, from https://github.com/pmodels/mpich/commit/9d3af68d5...
Augustin Degomme [Fri, 1 Dec 2017 16:34:50 +0000 (17:34 +0100)]
add new rma test to the suite, from https://github.com/pmodels/mpich/commit/9d3af68d58a2b224002f6fd0df926216cc12cb5a

6 years agomy special: empty statements
Frederic Suter [Fri, 1 Dec 2017 15:07:48 +0000 (16:07 +0100)]
my special: empty statements

6 years agoadd parallel_execute with timeout in s4u.
Frederic Suter [Fri, 1 Dec 2017 12:09:14 +0000 (13:09 +0100)]
add parallel_execute with timeout in s4u.
convert the energy-ptask example to test it

guess what? it just works ;)

well tbh it has the same unvalid reads and uninitialised bytes issues
as the MSG version

6 years agojenkins: enable compile optimizations for MC builds.
Arnaud Giersch [Fri, 1 Dec 2017 09:57:17 +0000 (10:57 +0100)]
jenkins: enable compile optimizations for MC builds.

6 years agoMC: allow compile optimizations in src/kernel/lmm/.
Arnaud Giersch [Fri, 1 Dec 2017 07:41:20 +0000 (08:41 +0100)]
MC: allow compile optimizations in src/kernel/lmm/.

C++ with boost is really slow without them (mainly boost::intrusive::list here).

6 years agoRemove last occurences of "swag" in src/kernel/.
Arnaud Giersch [Thu, 30 Nov 2017 23:05:55 +0000 (00:05 +0100)]
Remove last occurences of "swag" in src/kernel/.

6 years agoBad cut&paste, *nextelem is wanted here.
Arnaud Giersch [Thu, 30 Nov 2017 22:58:52 +0000 (23:58 +0100)]
Bad cut&paste, *nextelem is wanted here.

6 years agoRemove unused variables.
Arnaud Giersch [Thu, 30 Nov 2017 22:53:19 +0000 (23:53 +0100)]
Remove unused variables.

6 years agouse XBT_PULIC_CLASS here too
Frederic Suter [Thu, 30 Nov 2017 22:20:09 +0000 (23:20 +0100)]
use XBT_PULIC_CLASS here too

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

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 agoMerge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
Frederic Suter [Thu, 30 Nov 2017 22:01:53 +0000 (23:01 +0100)]
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid

6 years agothe plugin is now complete \o/
Frederic Suter [Thu, 30 Nov 2017 22:01:23 +0000 (23:01 +0100)]
the plugin is now complete \o/

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 agoremote copy and move in the plugin
Frederic Suter [Thu, 30 Nov 2017 19:11:34 +0000 (20:11 +0100)]
remote copy and move in the plugin

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