Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
2 months agoRelease v3.22 v3_22
Martin Quinson [Mon, 1 Apr 2019 21:42:44 +0000 (23:42 +0200)]
Release v3.22

2 months agovarious doc improvements
Martin Quinson [Mon, 1 Apr 2019 21:37:58 +0000 (23:37 +0200)]
various doc improvements

2 months agoRevalidate tests, now that detached sends are not cancelled anymore.
Arnaud Giersch [Mon, 1 Apr 2019 13:26:43 +0000 (15:26 +0200)]
Revalidate tests, now that detached sends are not cancelled anymore.

2 months agoReally detach detached sends.
Arnaud Giersch [Mon, 1 Apr 2019 13:06:36 +0000 (15:06 +0200)]
Really detach detached sends.

The communication is not cancelled when the sender terminates, following the
ogic of commit 9acedb4ebce15cd3399fcad4effb3fb79a0ee5ef.

2 months agoLet the exception propagate naturally.
Arnaud Giersch [Mon, 1 Apr 2019 12:48:24 +0000 (14:48 +0200)]
Let the exception propagate naturally.

2 months agocomment a test that breaks... we'll eat those sprouts, promis, but not today
Martin Quinson [Mon, 1 Apr 2019 13:16:40 +0000 (15:16 +0200)]
comment a test that breaks... we'll eat those sprouts, promis, but not today

2 months agokinda fix the generation of the old doc (still unusable)
Martin Quinson [Mon, 1 Apr 2019 13:01:25 +0000 (15:01 +0200)]
kinda fix the generation of the old doc (still unusable)

2 months agofix another broken link + fix a copy/paste failure
Martin Quinson [Thu, 28 Mar 2019 15:00:46 +0000 (16:00 +0100)]
fix another broken link + fix a copy/paste failure

2 months agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Mon, 1 Apr 2019 07:40:53 +0000 (09:40 +0200)]
Merge remote-tracking branch 'github/master'

2 months agothat helper was completely unnecessary... as mpi_wait was doing exactly the same...
Augustin Degomme [Sun, 31 Mar 2019 18:33:25 +0000 (20:33 +0200)]
that helper was completely unnecessary... as mpi_wait was doing exactly the same thing already

2 months agoavoid potential leak
Augustin Degomme [Sun, 31 Mar 2019 18:32:22 +0000 (20:32 +0200)]
avoid potential leak

2 months agoAdded a (currently failing) test:
henricasanova [Sun, 31 Mar 2019 08:45:27 +0000 (22:45 -1000)]
Added a (currently failing) test:
    - An actor posts a get
    - Another actor does a dsend and terminats right away
    - The receiver gets a network exception

2 months agoRegenerate smpi_extended_traces*.h.
Arnaud Giersch [Fri, 29 Mar 2019 14:23:30 +0000 (15:23 +0100)]
Regenerate smpi_extended_traces*.h.

2 months agoKill outdated comment.
Arnaud Giersch [Thu, 28 Mar 2019 17:41:26 +0000 (18:41 +0100)]
Kill outdated comment.

2 months agomore uniformity in kernel
Frederic Suter [Fri, 29 Mar 2019 18:58:56 +0000 (19:58 +0100)]
more uniformity in kernel

2 months agoenable user data extension without calling MSG_init
Frederic Suter [Fri, 29 Mar 2019 16:38:25 +0000 (17:38 +0100)]
enable user data extension without calling MSG_init

2 months agofactorize
degomme [Fri, 29 Mar 2019 13:57:10 +0000 (14:57 +0100)]
factorize

2 months agochangelog
degomme [Fri, 29 Mar 2019 13:28:22 +0000 (14:28 +0100)]
changelog

2 months agoAdd -vgdb option to smpirun to run with valgrind+gdb.
degomme [Fri, 29 Mar 2019 13:27:39 +0000 (14:27 +0100)]
Add -vgdb option to smpirun to run with valgrind+gdb.
I keep forgetting the syntax of these options otherwise.

2 months agoactivate tests for (i)alltoallw
degomme [Fri, 29 Mar 2019 13:26:15 +0000 (14:26 +0100)]
activate tests for (i)alltoallw

2 months agoAdd MPI_Alltoallw and MPI_Ialltoallw
degomme [Fri, 29 Mar 2019 13:24:17 +0000 (14:24 +0100)]
Add MPI_Alltoallw and MPI_Ialltoallw

2 months agofix case where bcast is called with only one proc (and thus skipped)
degomme [Fri, 29 Mar 2019 10:38:05 +0000 (11:38 +0100)]
fix case where bcast is called with only one proc (and thus skipped)

2 months agoactivate another test.. and fix a stupid bug
degomme [Fri, 29 Mar 2019 01:32:44 +0000 (02:32 +0100)]
activate another test.. and fix a stupid bug

2 months agochangelog
degomme [Fri, 29 Mar 2019 00:04:26 +0000 (01:04 +0100)]
changelog

2 months agoactivate a test to improve coverage a bit
degomme [Thu, 28 Mar 2019 22:01:21 +0000 (23:01 +0100)]
activate a test to improve coverage a bit

2 months agorework ExecImpl to have a single start() method
Frederic Suter [Thu, 28 Mar 2019 23:57:07 +0000 (00:57 +0100)]
rework ExecImpl to have a single start() method

2 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Thu, 28 Mar 2019 18:59:20 +0000 (19:59 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

2 months agotry to clean and uniformize Activity Impls
Frederic Suter [Thu, 28 Mar 2019 18:58:11 +0000 (19:58 +0100)]
try to clean and uniformize Activity Impls

2 months agoAs collectives are now implemented in the PMPI_I* functions, tracing has to be tricke...
degomme [Thu, 28 Mar 2019 17:35:42 +0000 (18:35 +0100)]
As collectives are now implemented in the PMPI_I* functions, tracing has to be tricked a bit. Stop using __func__.

2 months agoAdd "some" other nonblocking collectives
degomme [Thu, 28 Mar 2019 17:13:35 +0000 (18:13 +0100)]
Add "some" other nonblocking collectives

2 months agoAdd -gdb and -lldb shortcuts to smpirun
degomme [Thu, 28 Mar 2019 13:11:30 +0000 (14:11 +0100)]
Add -gdb and -lldb shortcuts to smpirun

2 months agoTest of an MPI_Ibarrier implementation.
degomme [Thu, 28 Mar 2019 11:12:01 +0000 (12:12 +0100)]
Test of an MPI_Ibarrier implementation.

Instead of a helper process, or of a scheduler as used by MPI implementations, let's play dumb for now and just use a bunch of Isend/Irecv, and just test them all when needed.
pros:
- just .. works ?
- we have the default naive algorithms already implemented for most of the collectives, so in the end we just have to spilt the startall and waitall parts.
cons:
- simple basic algos only.
More advanced ones would need a scheduler with progress management, let's do this later if needed (and MPI implementations have the odd idea that it's fine to advance the scheduler's round only when MPI_Test is called, so we might actually be faster in the end).

2 months agoFix debug + trace
degomme [Thu, 28 Mar 2019 11:04:52 +0000 (12:04 +0100)]
Fix debug + trace
- print might be called several times when debug is on, leading to double frees.
- actually emove the calls to buffer_debug, printing the whole buffer twice at each tracing event is a tiny bit too much (and it ruins the output trace).

The helper function is still there, I don't know whether to remove it or not.

2 months agoAdd MPI_Request_get_status, MPI_Status_set_cancelled, MPI_Status_set_elements
degomme [Wed, 27 Mar 2019 15:04:31 +0000 (16:04 +0100)]
Add MPI_Request_get_status, MPI_Status_set_cancelled, MPI_Status_set_elements

2 months agoSimple implementation of generalized requests in MPI.
degomme [Tue, 26 Mar 2019 17:20:53 +0000 (18:20 +0100)]
Simple implementation of generalized requests in MPI.
Also fix testsome behavior.

2 months agofix broken link
Martin Quinson [Thu, 28 Mar 2019 14:53:26 +0000 (15:53 +0100)]
fix broken link

2 months agocosmetics
Frederic Suter [Wed, 27 Mar 2019 19:12:29 +0000 (20:12 +0100)]
cosmetics

2 months agouse setters
Frederic Suter [Wed, 27 Mar 2019 19:11:52 +0000 (20:11 +0100)]
use setters

2 months ago[sonar] Use :: to access static member.
Arnaud Giersch [Wed, 27 Mar 2019 08:10:54 +0000 (09:10 +0100)]
[sonar] Use :: to access static member.

2 months agopass on howtos
Frederic Suter [Wed, 27 Mar 2019 00:06:48 +0000 (01:06 +0100)]
pass on howtos

2 months agopass on examples
Frederic Suter [Tue, 26 Mar 2019 23:47:55 +0000 (00:47 +0100)]
pass on examples

2 months agoend of revision for this file
Frederic Suter [Tue, 26 Mar 2019 23:35:57 +0000 (00:35 +0100)]
end of revision for this file

2 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Tue, 26 Mar 2019 16:13:21 +0000 (17:13 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

2 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Tue, 26 Mar 2019 14:54:07 +0000 (15:54 +0100)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

2 months agoTidy SIMIX_process on_exit callbacks.
Arnaud Giersch [Tue, 26 Mar 2019 14:06:34 +0000 (15:06 +0100)]
Tidy SIMIX_process on_exit callbacks.

This is a follow-up to commit 08e94eb0482589e4b287cbea301b84daf52635bd
"Sanitize the prototype of Actor::on_exit() callbacks".

2 months agoMake config flag static (global), and rename s_MSG_Global_t.
Arnaud Giersch [Mon, 25 Mar 2019 14:31:14 +0000 (15:31 +0100)]
Make config flag static (global), and rename s_MSG_Global_t.

3 months agostart to revise doc on platforms
Frederic Suter [Tue, 26 Mar 2019 00:27:55 +0000 (01:27 +0100)]
start to revise doc on platforms

3 months agoA bit more coverage.
Arnaud Giersch [Mon, 25 Mar 2019 21:21:56 +0000 (22:21 +0100)]
A bit more coverage.

3 months agoThere's a nice sg_version(), use it.
Arnaud Giersch [Mon, 25 Mar 2019 14:26:02 +0000 (15:26 +0100)]
There's a nice sg_version(), use it.

3 months agoUse string::compare with C++ strings.
Arnaud Giersch [Mon, 25 Mar 2019 10:13:25 +0000 (11:13 +0100)]
Use string::compare with C++ strings.

3 months agoSimplifications.
Arnaud Giersch [Mon, 25 Mar 2019 10:00:56 +0000 (11:00 +0100)]
Simplifications.

3 months agoCosmetics.
Arnaud Giersch [Mon, 25 Mar 2019 09:56:13 +0000 (10:56 +0100)]
Cosmetics.

"!strcmp" is hard to read, and "not strcmp" is misleading.

3 months agoFix condition.
Arnaud Giersch [Mon, 25 Mar 2019 09:44:25 +0000 (10:44 +0100)]
Fix condition.

3 months agoCompute GIT_VERSION in a simpler way.
Arnaud Giersch [Fri, 22 Mar 2019 08:55:50 +0000 (09:55 +0100)]
Compute GIT_VERSION in a simpler way.

3 months agoRemove now unused xbt_str_join_array().
Arnaud Giersch [Fri, 22 Mar 2019 08:35:58 +0000 (09:35 +0100)]
Remove now unused xbt_str_join_array().

3 months agoReplace macros with real functions.
Arnaud Giersch [Fri, 22 Mar 2019 08:30:25 +0000 (09:30 +0100)]
Replace macros with real functions.

3 months agoUse C++ algorithms.
Arnaud Giersch [Thu, 21 Mar 2019 21:03:53 +0000 (22:03 +0100)]
Use C++ algorithms.

3 months agoUse xbt_malloc() and friends.
Arnaud Giersch [Thu, 21 Mar 2019 20:58:38 +0000 (21:58 +0100)]
Use xbt_malloc() and friends.

3 months agoUse more vector and strings for xbt_log.
Arnaud Giersch [Thu, 21 Mar 2019 15:56:47 +0000 (16:56 +0100)]
Use more vector and strings for xbt_log.

3 months agoOne more dynar less.
Arnaud Giersch [Thu, 21 Mar 2019 15:20:20 +0000 (16:20 +0100)]
One more dynar less.

3 months agoKill dead code.
Arnaud Giersch [Thu, 21 Mar 2019 14:53:38 +0000 (15:53 +0100)]
Kill dead code.

3 months agoUncomment constant definition, even though currently unused.
Arnaud Giersch [Thu, 21 Mar 2019 08:29:14 +0000 (09:29 +0100)]
Uncomment constant definition, even though currently unused.

3 months agoLame attempt to hide problems on Jenkins.
Arnaud Giersch [Thu, 21 Mar 2019 08:23:06 +0000 (09:23 +0100)]
Lame attempt to hide problems on Jenkins.

3 months agoCapitalize class name.
Arnaud Giersch [Thu, 21 Mar 2019 08:18:39 +0000 (09:18 +0100)]
Capitalize class name.

3 months agoUpdate list of fixed bugs.
Arnaud Giersch [Wed, 20 Mar 2019 11:27:04 +0000 (12:27 +0100)]
Update list of fixed bugs.

3 months agoReduce nesting depth of lambdas.
Arnaud Giersch [Wed, 20 Mar 2019 08:49:15 +0000 (09:49 +0100)]
Reduce nesting depth of lambdas.

3 months agoMake pyForcefulKillEx static.
Arnaud Giersch [Wed, 20 Mar 2019 11:13:42 +0000 (12:13 +0100)]
Make pyForcefulKillEx static.

3 months agoUseless intermediate cast.
Arnaud Giersch [Wed, 20 Mar 2019 11:13:14 +0000 (12:13 +0100)]
Useless intermediate cast.

3 months agoTrailing whitespaces.
Arnaud Giersch [Wed, 20 Mar 2019 11:12:42 +0000 (12:12 +0100)]
Trailing whitespaces.

3 months agoUnused parameter.
Arnaud Giersch [Tue, 19 Mar 2019 09:27:36 +0000 (10:27 +0100)]
Unused parameter.

3 months agoDisallow direct destruction of Mailbox (make dtor private).
Arnaud Giersch [Tue, 19 Mar 2019 07:46:40 +0000 (08:46 +0100)]
Disallow direct destruction of Mailbox (make dtor private).

3 months agoUse a Mailbox* with Python bindings.
Arnaud Giersch [Tue, 19 Mar 2019 07:45:38 +0000 (08:45 +0100)]
Use a Mailbox* with Python bindings.

3 months agoCosmetic rename.
Arnaud Giersch [Mon, 18 Mar 2019 14:39:40 +0000 (15:39 +0100)]
Cosmetic rename.

3 months agoimprove release documentation
Martin Quinson [Tue, 19 Mar 2019 08:36:19 +0000 (09:36 +0100)]
improve release documentation

3 months agopython: add exec-dvfs example
Martin Quinson [Mon, 18 Mar 2019 00:38:41 +0000 (01:38 +0100)]
python: add exec-dvfs example

Plus cosmetics on my way, including in the CPP example.

3 months agoUse a reference as parameter for signal callbacks.
Arnaud Giersch [Mon, 18 Mar 2019 13:16:12 +0000 (14:16 +0100)]
Use a reference as parameter for signal callbacks.

Two benefits:
* no more overhead for maintaining reference counting;
* assurance that the given parameter is not null.

Also use a const reference whenever possible.

3 months agoAdd some const qualifier, needed for later changes.
Arnaud Giersch [Mon, 18 Mar 2019 13:13:07 +0000 (14:13 +0100)]
Add some const qualifier, needed for later changes.

3 months agoUnhide non-deprecated declaration.
Arnaud Giersch [Mon, 18 Mar 2019 12:58:54 +0000 (13:58 +0100)]
Unhide non-deprecated declaration.

3 months agoAvoid deprecated type alias.
Arnaud Giersch [Mon, 18 Mar 2019 12:57:23 +0000 (13:57 +0100)]
Avoid deprecated type alias.

3 months agoMake create_context return the real type.
Arnaud Giersch [Mon, 18 Mar 2019 12:53:00 +0000 (13:53 +0100)]
Make create_context return the real type.

3 months agochangelog update
degomme [Mon, 18 Mar 2019 09:09:43 +0000 (10:09 +0100)]
changelog update

3 months agopython doc: add Comm and Exec to the refguide
Martin Quinson [Sun, 17 Mar 2019 20:16:26 +0000 (21:16 +0100)]
python doc: add Comm and Exec to the refguide

3 months agosonar: don't catch exception that we don't handle
Martin Quinson [Sun, 17 Mar 2019 20:09:41 +0000 (21:09 +0100)]
sonar: don't catch exception that we don't handle

3 months agotry to fix windows builds
Martin Quinson [Sun, 17 Mar 2019 19:31:33 +0000 (20:31 +0100)]
try to fix windows builds

3 months agofix make distcheck + reindent
Martin Quinson [Sun, 17 Mar 2019 18:36:41 +0000 (19:36 +0100)]
fix make distcheck + reindent

3 months agopython: exec-async and exec-remote examples
Martin Quinson [Sun, 17 Mar 2019 18:34:36 +0000 (19:34 +0100)]
python: exec-async and exec-remote examples

3 months agoSimplify the exec-ptask example
Martin Quinson [Sun, 17 Mar 2019 16:49:58 +0000 (17:49 +0100)]
Simplify the exec-ptask example

- Remove the energy thing out of the picture
- Don't use the trick of using ptask to do remote exec now that we
  have a much cleaner way of doing remote exec
- Don't test the homogeneous compute-only case.
  The heterogeneous compute-only is sufficient.

Everybody wants the examples to be short and instructive.

3 months agomerge exec-async and exec-monitor examples
Martin Quinson [Sun, 17 Mar 2019 16:30:55 +0000 (17:30 +0100)]
merge exec-async and exec-monitor examples

Everybody wants the doc to be short and instructive, including the
authors.

3 months agoautopep8 --max-line-length 120 -i --aggressive `find -name '*.py'`
Martin Quinson [Sun, 17 Mar 2019 15:48:18 +0000 (16:48 +0100)]
autopep8 --max-line-length 120 -i --aggressive `find -name '*.py'`

3 months agodocument the recent python examples
Martin Quinson [Sun, 17 Mar 2019 15:33:05 +0000 (16:33 +0100)]
document the recent python examples

3 months agoPython: Add Comm.wait_any
Martin Quinson [Sun, 17 Mar 2019 15:14:10 +0000 (16:14 +0100)]
Python: Add Comm.wait_any

+ the example of same name
+ cosmetics in the related examples, in C++ comments

3 months agopython: add Comm.waitall
Martin Quinson [Sun, 17 Mar 2019 10:03:43 +0000 (11:03 +0100)]
python: add Comm.waitall

3 months agoRemove declarations for never used signal slots.
Arnaud Giersch [Fri, 15 Mar 2019 19:58:53 +0000 (20:58 +0100)]
Remove declarations for never used signal slots.

Either not defined, or simply not used.

3 months agoCosmetics.
Arnaud Giersch [Fri, 15 Mar 2019 22:59:58 +0000 (23:59 +0100)]
Cosmetics.

3 months agoSpurious ;
Arnaud Giersch [Thu, 14 Mar 2019 15:42:45 +0000 (16:42 +0100)]
Spurious ;

3 months agoParanoid builds fail with unused variable.
Arnaud Giersch [Sat, 16 Mar 2019 14:58:42 +0000 (15:58 +0100)]
Paranoid builds fail with unused variable.

3 months agoMerge remote-tracking branch 'github/master'
Arnaud Giersch [Sat, 16 Mar 2019 14:18:57 +0000 (15:18 +0100)]
Merge remote-tracking branch 'github/master'

3 months agoAdded a test for Issue #325 (call to test is commented out for now)
henricasanova [Sat, 16 Mar 2019 10:06:00 +0000 (00:06 -1000)]
Added a test for Issue #325 (call to test is commented out for now)

3 months agoFix clang+MC+python builds
Martin Quinson [Sat, 16 Mar 2019 07:38:45 +0000 (08:38 +0100)]
Fix clang+MC+python builds

3 months agodoc: typo
Martin Quinson [Fri, 15 Mar 2019 23:39:12 +0000 (00:39 +0100)]
doc: typo