Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
5 months agoRelease 3.22.1 v3.22.1
Martin Quinson [Wed, 3 Apr 2019 17:21:33 +0000 (19:21 +0200)]
Release 3.22.1

5 months agoupdate our releasing process
Martin Quinson [Wed, 3 Apr 2019 13:08:33 +0000 (15:08 +0200)]
update our releasing process

5 months agogitlab-ci: only release the commits that are on the releases branch
Martin Quinson [Wed, 3 Apr 2019 12:32:57 +0000 (14:32 +0200)]
gitlab-ci: only release the commits that are on the releases branch

5 months agompi_ireduce and iallreduce are not yet ready for derived datatypes.
degomme [Wed, 3 Apr 2019 14:37:06 +0000 (16:37 +0200)]
mpi_ireduce and iallreduce are not yet ready for derived datatypes.
Should have CLAMR proxy app back on tracks.

5 months agoDon't fill array with garbage when it won't be needed. Thanks agier (and ubsan).
degomme [Wed, 3 Apr 2019 14:09:39 +0000 (16:09 +0200)]
Don't fill array with garbage when it won't be needed. Thanks agier (and ubsan).

5 months agofix f77 tests
degomme [Wed, 3 Apr 2019 13:11:06 +0000 (15:11 +0200)]
fix f77 tests

5 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Wed, 3 Apr 2019 11:21:53 +0000 (13:21 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

5 months agogitlab-ci: we also need zip and unzip, and build a jarfile with no deps
Martin Quinson [Wed, 3 Apr 2019 11:08:37 +0000 (13:08 +0200)]
gitlab-ci: we also need zip and unzip, and build a jarfile with no deps

5 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Wed, 3 Apr 2019 11:07:49 +0000 (13:07 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

5 months agocmake: new option to build a jarfile with no external dependencies
Martin Quinson [Wed, 3 Apr 2019 11:07:18 +0000 (13:07 +0200)]
cmake: new option to build a jarfile with no external dependencies

5 months agogitlab-ci: apt update
Martin Quinson [Wed, 3 Apr 2019 10:46:25 +0000 (12:46 +0200)]
gitlab-ci: apt update

5 months agofortran expects MPI_ADDRESS_SIZE output here, not int.
degomme [Wed, 3 Apr 2019 10:45:31 +0000 (12:45 +0200)]
fortran expects MPI_ADDRESS_SIZE output here, not int.
@Martin, stop erasing my commits !!!

5 months agosimcall_comm_test returns a bool too
Frederic Suter [Wed, 3 Apr 2019 10:41:26 +0000 (12:41 +0200)]
simcall_comm_test returns a bool too

5 months agogitlab: install wget before using it
Martin Quinson [Wed, 3 Apr 2019 10:38:19 +0000 (12:38 +0200)]
gitlab: install wget before using it

5 months agosimcall_execution_test returns a bool not a state
Frederic Suter [Wed, 3 Apr 2019 10:36:42 +0000 (12:36 +0200)]
simcall_execution_test returns a bool not a state

5 months agoDocker: dont mess with the bash syntax ('>' is for redirection)
Martin Quinson [Wed, 3 Apr 2019 10:29:11 +0000 (12:29 +0200)]
Docker: dont mess with the bash syntax ('>' is for redirection)

5 months agogitlab-ci: try to build a complete jarfile automatically
Martin Quinson [Wed, 3 Apr 2019 10:28:34 +0000 (12:28 +0200)]
gitlab-ci: try to build a complete jarfile automatically

5 months agoupdate the release process a bit
Martin Quinson [Tue, 2 Apr 2019 20:26:22 +0000 (22:26 +0200)]
update the release process a bit

Still not perfectly adapted after the move to framagit.

5 months agolook for ActorImpl at its new location
Frederic Suter [Wed, 3 Apr 2019 10:11:04 +0000 (12:11 +0200)]
look for ActorImpl at its new location

5 months agoadd some coverage in fortran bindings
degomme [Wed, 3 Apr 2019 08:11:04 +0000 (10:11 +0200)]
add some coverage in fortran bindings

5 months agomake more sense
Frederic Suter [Wed, 3 Apr 2019 09:36:05 +0000 (11:36 +0200)]
make more sense

5 months agofactoring with an ActivityImpl::clean_action() method
Frederic Suter [Wed, 3 Apr 2019 08:07:32 +0000 (10:07 +0200)]
factoring with an ActivityImpl::clean_action() method

5 months agouse activity cancel, not the action cancel
Frederic Suter [Wed, 3 Apr 2019 06:58:41 +0000 (08:58 +0200)]
use activity cancel, not the action cancel

5 months agoRemove features marked with DEPRECATED_v323.
Arnaud Giersch [Tue, 2 Apr 2019 20:30:12 +0000 (22:30 +0200)]
Remove features marked with DEPRECATED_v323.

5 months agoClose #326.
Arnaud Giersch [Tue, 2 Apr 2019 14:54:27 +0000 (16:54 +0200)]
Close #326.

Either commit 1ed359ee78 or b32344ed85 did it.

5 months agoSave a cast per action completion
Frederic Suter [Tue, 2 Apr 2019 18:47:14 +0000 (20:47 +0200)]
Save a cast per action completion
Action::get_data() and Action::set_data() remain because of SimDag ...

5 months agorework terminaison of IoImpl
Frederic Suter [Tue, 2 Apr 2019 16:56:40 +0000 (18:56 +0200)]
rework terminaison of IoImpl

5 months agorework terminaison of SleepImpl
Frederic Suter [Tue, 2 Apr 2019 16:43:33 +0000 (18:43 +0200)]
rework terminaison of SleepImpl

5 months agoDONE is not an expected state for Raw activities
Frederic Suter [Tue, 2 Apr 2019 15:38:28 +0000 (17:38 +0200)]
DONE is not an expected state for Raw activities

5 months agofactor cancel across activities
Frederic Suter [Tue, 2 Apr 2019 15:09:17 +0000 (17:09 +0200)]
factor cancel across activities
* CommImpl is more complex
* RawImpl is a noop

5 months agoMerge branch 'master' of https://framagit.org/simgrid/simgrid
Frederic Suter [Tue, 2 Apr 2019 14:51:11 +0000 (16:51 +0200)]
Merge branch 'master' of https://framagit.org/simgrid/simgrid

5 months agofactor get_remaining across acitvities
Frederic Suter [Tue, 2 Apr 2019 14:50:54 +0000 (16:50 +0200)]
factor get_remaining across acitvities

5 months agoUse std::vector for lists of model descriptions.
Arnaud Giersch [Tue, 2 Apr 2019 13:38:40 +0000 (15:38 +0200)]
Use std::vector for lists of model descriptions.

5 months agoEnable memcheck for tests test-help-*.
Arnaud Giersch [Tue, 2 Apr 2019 13:38:35 +0000 (15:38 +0200)]
Enable memcheck for tests test-help-*.

5 months agoFix memleaks when exiting early (e.g. with --help or --version).
Arnaud Giersch [Tue, 2 Apr 2019 13:37:55 +0000 (15:37 +0200)]
Fix memleaks when exiting early (e.g. with --help or --version).

5 months agoUseless parentheses.
Arnaud Giersch [Tue, 2 Apr 2019 12:46:40 +0000 (14:46 +0200)]
Useless parentheses.

5 months agoMake extra_ an unique_ptr.
Arnaud Giersch [Tue, 2 Apr 2019 12:37:37 +0000 (14:37 +0200)]
Make extra_ an unique_ptr.

5 months agoKill unused xbt_dict_dump().
Arnaud Giersch [Tue, 2 Apr 2019 12:36:25 +0000 (14:36 +0200)]
Kill unused xbt_dict_dump().

It's last usage was in ancient unit tests.

5 months agoUse bool for boolean values.
Arnaud Giersch [Tue, 2 Apr 2019 12:32:41 +0000 (14:32 +0200)]
Use bool for boolean values.

5 months agodetached really is a boolean.
Arnaud Giersch [Tue, 2 Apr 2019 12:32:25 +0000 (14:32 +0200)]
detached really is a boolean.

5 months agoAdd bool for simcall parameters.
Arnaud Giersch [Tue, 2 Apr 2019 12:31:58 +0000 (14:31 +0200)]
Add bool for simcall parameters.

5 months agoplease clang
degomme [Tue, 2 Apr 2019 14:46:37 +0000 (16:46 +0200)]
please clang

5 months agoAdd jenkins to our badges on gitlab/github
degomme [Tue, 2 Apr 2019 13:57:07 +0000 (15:57 +0200)]
Add jenkins to our badges on gitlab/github

5 months agofunctioning MPI_Comm_get_name, MPI_Comm_set_name
degomme [Tue, 2 Apr 2019 13:55:27 +0000 (15:55 +0200)]
functioning MPI_Comm_get_name, MPI_Comm_set_name

5 months agonon blocking collectives, now for fortran edition.
degomme [Tue, 2 Apr 2019 11:48:01 +0000 (13:48 +0200)]
non blocking collectives, now for fortran edition.

5 months agoplease clang
Frederic Suter [Tue, 2 Apr 2019 13:46:57 +0000 (15:46 +0200)]
please clang

5 months agoimplement CRTP in kernel::activity
Frederic Suter [Tue, 2 Apr 2019 13:12:41 +0000 (15:12 +0200)]
implement CRTP in kernel::activity

5 months agoCall set_remains() before set_state().
Arnaud Giersch [Tue, 2 Apr 2019 09:51:13 +0000 (11:51 +0200)]
Call set_remains() before set_state().

set_state() may call plugin callbacks, which can destroy the action (more or
less direclty), as seen with github issue #326.

5 months agoRemove superfluous simcall.
Arnaud Giersch [Tue, 2 Apr 2019 09:47:00 +0000 (11:47 +0200)]
Remove superfluous simcall.

5 months agoConstify Cpu::speed_per_pstate_.
Arnaud Giersch [Tue, 2 Apr 2019 09:43:01 +0000 (11:43 +0200)]
Constify Cpu::speed_per_pstate_.

5 months agoDefine XBT_ATTRIB_DEPRECATED_v326.
Arnaud Giersch [Tue, 2 Apr 2019 09:20:05 +0000 (11:20 +0200)]
Define XBT_ATTRIB_DEPRECATED_v326.

5 months agoStart the dev of v3.23.
Arnaud Giersch [Tue, 2 Apr 2019 09:17:48 +0000 (11:17 +0200)]
Start the dev of v3.23.

5 months agoa bit more verbose here
degomme [Tue, 2 Apr 2019 08:40:37 +0000 (10:40 +0200)]
a bit more verbose here

5 months agoavoid potential segfault when fed nonsense
degomme [Tue, 2 Apr 2019 08:37:49 +0000 (10:37 +0200)]
avoid potential segfault when fed nonsense

5 months agoMPI_Ireduce_scatter, MPI_Ireduce_scatter_block
degomme [Tue, 2 Apr 2019 08:36:46 +0000 (10:36 +0200)]
MPI_Ireduce_scatter, MPI_Ireduce_scatter_block

5 months agoMPI_Iexscan, MPI_Iscan
Augustin Degomme [Mon, 1 Apr 2019 22:40:43 +0000 (00:40 +0200)]
MPI_Iexscan, MPI_Iscan

5 months agoMPI_Iallreduce
Augustin Degomme [Mon, 1 Apr 2019 21:43:26 +0000 (23:43 +0200)]
MPI_Iallreduce

5 months agoAdd MPI_Ireduce
Augustin Degomme [Mon, 1 Apr 2019 19:08:23 +0000 (21:08 +0200)]
Add MPI_Ireduce

5 months agoadd a refcount for MPI_Op
Augustin Degomme [Mon, 1 Apr 2019 19:08:05 +0000 (21:08 +0200)]
add a refcount for MPI_Op

5 months agoRelease v3.22 v3_22
Martin Quinson [Mon, 1 Apr 2019 21:42:44 +0000 (23:42 +0200)]
Release v3.22

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

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

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

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

5 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

5 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)

5 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

5 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'

5 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

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

5 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

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

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

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

5 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

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

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

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

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

5 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

5 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)

5 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

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

5 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

5 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

5 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

5 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

5 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__.

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

5 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

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

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

5 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

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

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

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

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

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

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

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